Assignment #6 - ANOVA - 2020

For each of the following, analyze the data using both the aov and the lm function so that you understand how to use them both. Write the answers to all the below questions in a word document.

Dataset #1 - For this dataset, you are conducting an experiment to see if bobwhite quail density (Y; quail/hectare) varies between habitat types (X). The habitat types examined are:  open pine, closed pine, prairie/pasture, and ag. Complete the following tasks:

1. Dummy code the x-variables in Excel.

2. Analyze the data in R. What is the p-value testing the null hypothesis that bobwhite quail density isn't different among any of the habitat types?

3. What does the p-value mean about your null hypothesis?

4. Plot the relationship between habitat types and quail density in R and paste the graph in your word document

5. Report the estimated difference in quail density between Prairie and Ag using the standard sentence (don't forget C.I. and p-value; Be sure to use the pairwise p-value in your sentence, NOT the ANOVA p-value testing all the groups).

Dataset #2 - For this dataset, you are conducting an experiment to see how plant growth (Y; cm) is related to amount of fertilizer applied (X; grams). Complete the following tasks:

1. Analyze the data in R. What is the p-value testing the null hypothesis that plant growth isn't different among any of the amounts of fertilizer applied?

2. What does the p-value mean about your null hypothesis?

3. Plot the relationship between fertilizer and biomass in R and paste the graph in your word document

4. Report the estimated difference in Biomass between 4 and 0 grams of Fertilizer using the standard sentence (don't forget C.I. and p-value).

5. Why are my values for fertilizer called 'gram0' and 'gram2', why didn't I just use a number ('0', '2')? If you can't figure this out, try creating a column in Excel with just numbers and re-analyzing the data. What happens?

Dataset #3 - For this dataset, you are examining how deer kill rates (Y; deer killed / hunter) is related to hunting method (X; the variable is called 'Hunt'). Types of hunting methods considered in this study include rifle, bow, and Uzi. Complete the following tasks:

1. Analyze the data in R. What is the p-value testing the null hypothesis that none of the hunting methods are different from each other with respect to deer kill rates?

2. What does the p-value mean about your null hypothesis?

3. Plot the relationship between hunting method and deer kill rates in R and paste the graph in your word document.

4. Report the estimated difference in Deer Kill Rates between Uzi and Rifle using the standard sentence (don't forget C.I. and p-value).