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

alternative_hypothesis

The alternative hypothesis.

bandwidth

Bandwidth used by the long-run covariance estimator.

cointegrating_vector

The estimated cointegrating vector.

critical_values

The critical values of the test.

distribution_order

The number of stochastic trends under the null hypothesis.

kernel

Name of the long-run covariance estimator.

name

Set or get the name of the cointegration test.

null_hypothesis

The null hypothesis.

pvalue

The p-value of the test statistic.

resid

The residual from the cointegrating regression.

stat

The test statistic.

trend

The trend used in the cointegrating regression.