Thursday, February 7, 2019

Quadratic Regression : Output for Problem 4.41 in B2 Book

> plot(Time,SPRate,main="Problem 4.40 in B2 Book")
> rad.lm=lm(SPRate~Time+I(Time^2),data=RADICALS)
> summary(rad.lm)

Call:
lm(formula = SPRate ~ Time + I(Time^2), data = RADICALS)

Residuals:
     Min       1Q   Median       3Q      Max 
-0.14134 -0.06653 -0.02948  0.08310  0.13967 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)  1.00705    0.07899  12.749 2.46e-08 ***
Time        -1.16712    0.12191  -9.574 5.72e-07 ***
I(Time^2)    0.28975    0.03937   7.360 8.73e-06 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.1011 on 12 degrees of freedom
Multiple R-squared:  0.9265, Adjusted R-squared:  0.9143 
F-statistic: 75.65 on 2 and 12 DF,  p-value: 1.574e-07



No comments:

Post a Comment