linearmodels.shared.hypotheses.NormalTestStatistic¶
Test statistic holder for tests with an asymptotic standard normal law.
The test statistic.
A statement of the test’s null hypothesis.
Name of test.
Flag indicating whether p-values and critical values are computed using a two-sided test. The default is True.
Notes
A two-sided test rejects the null if the absolute value of the statistic \(s\) is large. The p-value is \(2\Pr(Z > |s|)\), where \(Z\) has a standard normal distribution, and the critical values for tests of size 10%, 5% and 1% are the 0.95, 0.975 and 0.995 quantiles of the standard normal.
A one-sided test rejects the null if the statistic is large. The p-value is \(\Pr(Z > s)\), which is close to 1 if the statistic is large and negative, and the critical values are the 0.9, 0.95 and 0.99 quantiles.
Methods
Properties
Critical values for common test sizes
Null hypothesis
P-value of test statistic
Test statistic