Question

The article The Influence of Temperature and Sunshine on the Alpha-Acid Contents of Hopst reports the following data on yie

1 0
Add a comment Improve this question Transcribed image text
Answer #1


x1 <- c(16.7,17.4,18.4,16.8,18.9,17.1,17.3,18.2,21.3,21.2,20.7,18.5)
x2 <- c(30,42,47,47,43,41,48,44,43,50,56,60)
y <- c(210,110,103,103,91,76,73,70,68,53,45,31)
mod <- lm(y~x1+x2)
summary(mod)

predict(mod,data.frame(x1=21.3,x2=43),interval="confidence")
predict(mod,data.frame(x1=21.3,x2=43),interval="prediction")

> summary(mod)

Call:
lm(formula = y ~ x1 + x2)

Residuals:
    Min      1Q  Median      3Q     Max 
-41.730 -12.174   0.791  12.374  40.093 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)  415.113     82.517   5.031 0.000709 ***
x1            -6.593      4.859  -1.357 0.207913    
x2            -4.504      1.071  -4.204 0.002292 ** 
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 24.45 on 9 degrees of freedom
Multiple R-squared:  0.768,     Adjusted R-squared:  0.7164 
F-statistic:  14.9 on 2 and 9 DF,  p-value: 0.001395

> 
> predict(mod,data.frame(x1=21.3,x2=43),interval="confidence")
       fit      lwr      upr
1 81.03364 43.52379 118.5435
> predict(mod,data.frame(x1=21.3,x2=43),interval="prediction")
       fit      lwr      upr
1 81.03364 14.19586 147.8714

a)

y^ = 415.113 -6.593 x1 -4.504 x2
b)
24.45

c)
y^ = 81.0336

residual = yi - y^
= 68 - 81.0336
= -13.0336

d)
F = 14.9
p-value = 0.0014
conclusion
option D) convincing evidence


e)
(43.52,118.54)

f)
(14.2,147.87)

Add a comment
Know the answer?
Add Answer to:
The article "The Influence of Temperature and Sunshine on the Alpha-Acid Contents of Hops"t reports the followi...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT