Question

REPRODUCE THE ANOVA TABLE SHOWN BELOW USING R

INCLUDE ALL R COMMANDS

a O20. Containers revisited Building on the cup experiment of the Chapter 4 Step-By-Step, a student selects one type of conta

Estimate 20.875 -1.375 1.375 Environment II [Outside] 8.625 Environment Il [Room] -8.625 Term Overall mean Liquid Il [Coffee]

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

> s1=rep(x,each=4)
> s2=c(1,1,2,2,1,1,2,2)
> obs=c(13,14,31,31,11,11,27,29)
> d=data.frame(s1,s2,obs)
> liquid=factor(s1)
> env=factor(s2)
> av2=aov(obs~liquid*env)
> summary(av2)

            Df Sum Sq Mean Sq F value   Pr(>F)   
liquid       1   15.1    15.1    24.2 0.00793 **
env          1 595.1   595.1   952.2 6.57e-06 ***
liquid:env   1    0.1     0.1     0.2 0.67787   
Residuals    4    2.5     0.6                    
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Add a comment
Know the answer?
Add Answer to:
REPRODUCE THE ANOVA TABLE SHOWN BELOW USING R INCLUDE ALL R COMMANDS
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