Description Usage Arguments Value See Also Examples
Printing objects of class "cointReg"
.
1 2 3 |
x |
[ |
... |
ignored |
digits |
[ |
all.coeffs |
[ |
[matrix
]
A matrix including the coefficients along with standard errors,
t and p values.
Other cointReg: cointRegD
,
cointRegFM
, cointRegIM
,
cointReg
, plot.cointReg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 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.fm = cointRegFM(x = x, y = y, deter = deter)
print(test.fm)
test.d = cointRegD(x = x, y = y, deter = deter)
print(test.d)
test.im2 = cointRegIM(x = x, y = y, deter = deter)
print(test.im2)
## Not run:
# The coefficients matrix can be transferred e.g. to LaTeX via xtable:
if (!require("xtable")) {install.packages("xtable"); library("xtable")}
xtab = xtable(print(test.fm))
print.xtable(xtab)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.