Displaying 1 result from an estimated 1 matches for "dway".
Did you mean:
day
2009 Feb 03
1
How to show variables used in lm function call?
...t;- dyn$lm(dep ~ lag(dep, -1)+ indep)
summ <- summary(mod)
res <- list(COEF=summ) }
out <- coeff(tdata[ ,"Y"], tdata[ ,"XVARY"]); out
#########output#############
> print(tdata)
Time Series:
Start = 1
End = 20
Frequency = 1
Unit Y XVARY K DWAY
1 1 3 2 4 50
2 2 5 3 9 50
3 3 6 11 22 50
4 4 8 4 7 2
5 5 9 11 11 2
6 6 12 13 13 2
7 7 23 25 12 2
8 8 22 30 31 3
9 9 23 3 3 3
10 10 19 21 21 32
11 11 3 2 4 34
12 12 5 3 9 4...