代写代考 STAT340: Discussion 12

STAT340: Discussion 12

STAT340: Discussion 12

Copyright By PowCoder代写 加微信 powcoder

Link to source file

1) One-way ANOVA

This problem comes from a Penn State example. An experiment tested 5 different plant densities and their effects on growth yield. The yields for 3 replicates of each group are shown below:

You wish to compare the means of all groups. Write down the appropriate hypotheses to test here.
Construct an ANOVA table by hand. What is your statistic and its distribution under the null?
Derive a \(p\)-value and interpret it in the context of the problem.
Finally, load your data into R and check your calculations are correct.
If there was a significant result, conduct an appropriate post-hoc test. Which test did you choose and why? What result do you obtain?
Check the assumptions of your model. Do they appear to be well satisfied?

2) Two-way ANOVA

This problem comes from a data set on battery life. This experiment has 3 levels of types of battery materials and 3 temperatures. Each “cell” of the experiment has 4 replicates. A table of the data is also shown below:

Repeat the steps of the previous exercise here, but this time use a two-way model with interaction. I.e. please make a table by hand, interpret the results, and then check your table and assumptions using R.

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com