print.cointReg: Print Method for Cointegration Models (Modified OLS).

Description Usage Arguments Value See Also Examples

View source: R/print.R

Description

Printing objects of class "cointReg".

Usage

1
2
3
## S3 method for class 'cointReg'
print(x, ..., digits = getOption("digits"),
  all.coeffs = FALSE)

Arguments

x

[cointReg]
Object of class "cointReg", i.e. the result of cointRegFM, cointRegD or cointRegIM.

...

ignored

digits

[numeric]
Number of significant digits to be used.

all.coeffs

[logical]
Whether to show all coefficients (i. e. the "real" regressors AND the auxiliary regressors). Default is FALSE.

Value

The invisible x object.

See Also

Other cointReg: cointRegD, cointRegFM, cointRegIM, cointReg, plot.cointReg

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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)

cointReg documentation built on May 2, 2019, 3:45 a.m.