arch.unitroot.cointegration.PhillipsOuliarisTestResults¶
-
class arch.unitroot.cointegration.PhillipsOuliarisTestResults(stat: float, pvalue: float, crit_vals: Series, null: str =
'No Cointegration', alternative: str ='Cointegration', trend: str ='c', order: int =2, xsection: RegressionResults | None =None, test_type: str ='za', kernel_est: CovarianceEstimator | None =None, rho: float =0.0)[source]¶ Results class for Phillips-Ouliaris cointegration tests.
- Parameters:¶
- stat: float¶
The Phillips-Ouliaris test statistic.
- pvalue: float¶
The pvalue of the Phillips-Ouliaris test statistic.
- crit_vals: Series¶
The critical values of the Phillips-Ouliaris test specific to the sample size and model dimension.
- null: str =
'No Cointegration'¶ The null hypothesis.
- alternative: str =
'Cointegration'¶ The alternative hypothesis.
- trend: str =
'c'¶ The model’s trend description.
- order: int =
2¶ The number of stochastic trends in the null distribution.
- xsection: RegressionResults | None =
None¶ The OLS results used in the cross-sectional regression. They must be provided.
- test_type: str =
'za'¶ The type of the test, one of “za”, “zt”, “pu” and “pz”. Not case sensitive.
- kernel_est: CovarianceEstimator | None =
None¶ The long-run covariance estimator used to compute the test statistic. It must be provided.
- rho: float =
0.0¶ Not used.
Methods
plot([axes, title])Plot the cointegration residuals.
summary()Summary of test, containing statistic, p-value and critical values.
Properties
The alternative hypothesis.
Bandwidth used by the long-run covariance estimator.
The estimated cointegrating vector.
The critical values of the test.
The number of stochastic trends under the null hypothesis.
Name of the long-run covariance estimator.
Set or get the name of the cointegration test.
The null hypothesis.
The p-value of the test statistic.
The residual from the cointegrating regression.
The test statistic.
The trend used in the cointegrating regression.