> GDPC96 <- c(GDPC96,xts(as.numeric(last(GDPC96)*1.007),as.Date("2016-10-01")))
> start_date <- "1992-01-01"
> end_date <- "2016-12-31"
> start_date; end_date
[1] "1992-01-01"
[1] "2016-12-31"
> G <- GDPC96
> PA <- PAYEMS
> UC <- UNDCONTSA
> kikan <- paste(start_date,end_date,sep='::')
> (summary(lm(to.quarterly(SP5[kikan])[,4] ~ to.quarterly(PA[kikan])[,4] * to.quarterly(UC[kikan])[,4] * G[kikan])))
Call:
4] * to
Residuals:
Min 1Q Median 3Q Max
-308.451 -66.658 9.279 83.037 216.776
Coefficients:
Estimate Std. Error t value
(Intercept) 2.752e+04 7.082e+03 3.886 0.000192 ***
to.quarterly(PA[kikan])[, 4] -2.924e-01 6.109e-02 -4.786 6.46e-06 ***
G
to.quarterly(PA[kikan])[, 4]:to.quarterly(UC[kikan])[, 4] 1.945e-04 7.119e-05 2.732 0.007551 **
to.quarterly(PA[kikan])[, 4]:G[kikan] 2.139e-05 4.288e-06 4.989 2.86e-06 ***
to.quarterly(UC[kikan])[, 4]:G[kikan] -2.774e-04 7.493e-04 -0.370 0.712028
to.quarterly(PA[kikan])[, 4]:to.quarterly(UC[kikan])[, 4]:G[kikan] -6.310e-09 5.209e-09 -1.211 0.228875
---
Multiple R-squared: 0.9313, Adjusted R-squared: 0.9261
F-statistic: 178.2 on 7 and 92 DF, p-value: < 2.2e-16
0 件のコメント:
コメントを投稿