summary-methods: Methods for Function summary in Package 'urca'

summary-methodsR Documentation

Methods for Function summary in Package ‘urca’

Description

Summarises the outcome of unit root/cointegration tests by creating a new object of class sumurca.

Methods

object = "ur.df"

The test type, its statistic, the test regression and the critical values for the Augmented Dickey and Fuller test are returned.

object = "ur.ers"

The test type, its statistic and the critical values for the Elliott, Rothenberg and Stock test are returned. In case of test "DF-GLS" the summary output of the test regression is provided, too.

object = "ur.kpss"

The test statistic, the critical value as well as the test type and the number of lags used for error correction for the Kwiatkowski et al. unit root test is returned.

object = "ca.jo"

The "trace" or "eigen" statistic, the critical values as well as the eigenvalues, eigenvectors and the loading matrix of the Johansen procedure are reported.

object = "cajo.test"

The test statistic of a restricted VAR with respect to \bold{\alpha} and/or \bold{\beta} with p-value and degrees of freedom is reported. Furthermore, the restriction matrix(ces), the eigenvalues and eigenvectors as well as the loading matrix are returned.

object = "ca.po"

The "Pz" or "Pu" statistic, the critical values as well as the summary output of the test regression for the Phillips and Ouliaris cointegration test.

object = "ur.pp"

The Z statistic, the critical values as well as the summary output of the test regression for the Phillips and Perron test, as well as the test statistics for the coefficients of the deterministic part is returned.

object = "ur.df"

The relevant tau statistic, the critical values as well as the summary output of the test regression for the augmented Dickey-Fuller test is returned.

object = "ur.sp"

The test statistic, the critical value as well as the summary output of the test regression for the Schmidt and Phillips test is returned.

object = "ur.za"

The test statistic, the critical values as well as the summary output of the test regression for the Zivot and Andrews test is returned.

Author(s)

Bernhard Pfaff

See Also

ur.ers-class, ur.kpss-class, ca.jo-class, cajo.test-class, ca.po-class, ur.pp-class, ur.df-class, ur.sp-class, ur.za-class and sumurca-class.

Examples

data(nporg)
gnp <- na.omit(nporg[, "gnp.r"])
gnp.l <- log(gnp)
#
ers.gnp <- ur.ers(gnp, type="DF-GLS", model="trend", lag.max=4)
summary(ers.gnp)
#
kpss.gnp <- ur.kpss(gnp.l, type="tau", lags="short")
summary(kpss.gnp)
#
pp.gnp <- ur.pp(gnp, type="Z-tau", model="trend", lags="short")
summary(pp.gnp)
#
df.gnp <- ur.df(gnp, type="trend", lags=4)
summary(df.gnp)
#
sp.gnp <- ur.sp(gnp, type="tau", pol.deg=1, signif=0.01)
summary(sp.gnp)
#
za.gnp <- ur.za(gnp, model="both", lag=2)
summary(za.gnp)
#
data(finland)
sjf <- finland
sjf.vecm <- ca.jo(sjf, ecdet="none", type="eigen", K=2, season=4)
summary(sjf.vecm)
#
HF0 <- matrix(c(-1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1), c(4,3))
summary(blrtest(sjf.vecm, H=HF0, r=3))

urca documentation built on May 29, 2024, 5:36 a.m.

Related to summary-methods in urca...