summary.reg {fDMA} | R Documentation |
Summarizes Outcomes from reg
Object.
Description
The function summarizes selected outcomes obtained from roll.reg
and rec.reg
.
Usage
## S3 method for class 'reg'
summary(object, ...)
Arguments
object |
an object of |
... |
not used |
Details
The function produces the outcomes as print.reg
.
Additionally, it provides how often p-values for t-test of statistical significance for each independent variable in the model is below 1%, 5% and 10%, respectively.
Value
Called for printing.
Examples
wti <- crudeoil[-1,1]
drivers <- (lag(crudeoil[,-1],k=1))[-1,]
ld.wti <- (diff(log(wti)))[-1,]
ld.drivers <- (diff(log(drivers)))[-1,]
roll <- roll.reg(y=ld.wti,x=ld.drivers,window=100)
rec <- rec.reg(y=ld.wti,x=ld.drivers)
summary(roll)
summary(rec)
[Package fDMA version 2.2.7 Index]