- Using a numerical response variable and a categorical variable with three to five levels (or a categorical variable you can reduce to three to five levels), specify an ANOVA hypothesis associated with your research questions.
- (2 p) Specify the ANOVA hypotheses in words and notation,
- (2 p) plot the data in a way that is consistent with hypothesis test (comparing means, assess equal variance assumption),
- (1 p) use
`aov()`

to calculate the hypothesis test statistic and p-value, - (1 p) state the significance level, test statistic, and p-value,
- (2 p) state the conclusion in the context of the problem,
- (2 p) If you rejected the ANOVA null hypothesis, perform follow-up pairwise comparisons using Tukey’s HSD to indicate which groups have statistically different means and summarize the results.

Turn in your master HW file with these sections appended to the bottom.

Class 19: Parts 1-4 from above with points for each part: 3, 3, 2, and 2.

Class 20: All parts from above, with a focus on the last two.

The sections from Erik’s `S4R_Project_All_Erik_NESARC.Rmd`

file to focus on are

- Class 19 ANOVA
- ANOVA Hypothesis test: Total cigarettes smoked by Ethnicity
- Post Hoc pairwise comparison tests