> plot.
ts(sp)
> model1 <- lm(rhp~rm)
> summary(model1)
Call:
lm(formula = rhp ~ rm)
Residuals:
Min
1Q Median
3Q
Max
-0.067823 -0.008578 0.001457 0.010288 0.063055
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -0.0003514 0.0010048 -0.350 0.727
rm
1.3888888 0.1473742 9.424 <2e-16
(Intercept)
rm
***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 0.01587 on 249 degrees of freedom
Multiple R-squared: 0.2629,
Adjusted R-squared: 0.26
F-statistic: 88.82 on 1 and 249 DF, p-value: < 2.2e-16
> model2 <- lm(rcis~rm)
> summary(model2)
Call:
lm(formula = rcis ~ rm)
Residuals:
Min
1Q Median
3Q
Max
-0.030716 -0.004447 -0.000197 0.003870 0.067505
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.0006006 0.0005640 1.065 0.288
rm
0.8572964 0.0827192 10.364 <2e-16
(Intercept)
rm
***
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1
Residual standard error: 0.008905 on 249 degrees of freedom
Multiple R-squared: 0.3014,
Adjusted R-squared: 0.2986
F-statistic: 107.4 on 1 and 249 DF, p-value: < 2.2e-16
>