plot-methods {urca} | R Documentation |
Plot methods for objects belonging to classes set in package
urca
. Depending on the unit root/cointegration test a
suitable graphical presentation is selected.
Bernhard Pfaff
ur.ers-class
, ur.kpss-class
,
ca.jo-class
, ca.po-class
,
ur.pp-class
, ur.sp-class
and
ur.za-class
.
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) plot(ers.gnp) # kpss.gnp <- ur.kpss(gnp.l, type="tau", lags="short") plot(kpss.gnp) # pp.gnp <- ur.pp(gnp, type="Z-tau", model="trend", lags="short") plot(pp.gnp) # sp.gnp <- ur.sp(gnp, type="tau", pol.deg=1, signif=0.01) plot(sp.gnp) # za.gnp <- ur.za(gnp, model="both", lag=2) plot(za.gnp) # data(denmark) sjd <- denmark[, c("LRM", "LRY", "IBO", "IDE")] sjd.vecm <- ca.jo(sjd, ecdet="const", type="eigen", K=2, season=4) plot(sjd.vecm)