plot.cointReg {cointReg} | R Documentation |
Plot Method for Cointegration Models (Modified OLS).
Description
Plotting objects of class "cointReg"
. Currently, only the residuals
will be plotted.
Usage
## S3 method for class 'cointReg'
plot(x, type, main, xlab, ylab, axes = TRUE, ...)
Arguments
x |
[ |
type |
[ |
main , xlab , ylab |
[ |
axes |
[ |
... |
[ |
See Also
Other cointReg: cointRegD
,
cointRegFM
, cointRegIM
,
cointReg
, print.cointReg
Examples
set.seed(42)
x = data.frame(x1 = cumsum(rnorm(200)), x2 = cumsum(rnorm(200)))
eps1 = rnorm(200, sd = 2)
y = x$x1 - x$x2 + 10 + eps1
deter = cbind(level = rep(1, 200))
test = cointRegFM(x = x, y = y, deter = deter)
plot(test)
[Package cointReg version 0.2.0 Index]