Note: Your answers to the questions below should follow the expectations for homework found here. Questions outside of class can be asked on the Module Assignments-Questions Teams channel (see link on homepage).

Transformations I

In a previous exercise you assessed the assumptions of a One-Way ANOVA (except for independence) for the data in ANOVA1Assumptions1.csv. Load those data and fit the untransformed linear model again. Use these data to answer the questions below. Show and refer to results as appropriate.

  1. What transformation results in the One-Way ANOVA assumptions to be adequately met.

Create a new variable in the data frame that is the appropriately transformed response variable. Fit a new One-Way ANOVA with this transformed variable. Use it to answer the following questions.

  1. Is there a significant difference in the groups means of the transformed data?

Perform multiple comparisons on the transformed scale (i.e., use tran= appropriately in emmeans(), but don’t yet use type="response" in summary()). Use these results to answer the questions below.

  1. Specifically which group means (of transformed data) differ?
  2. Interpret the first group mean (i.e., from the $emmeans results).
  3. Interpret the first difference of paired means (i.e., from the $contrasts results).

Back-transform the multiple comparisons results (i.e., now use type="response" in summary()). Use these results to answer the questions below.

  1. Interpret the first back-transformed group mean (i.e., from the $emmeans results).
  2. Interpret the first back-transformed difference of paired means (i.e., from the $contrasts results).

 

Transformations II

In a previous exercise you assessed the assumptions of a One-Way ANOVA (except for independence) for the data in ANOVA1Assumptions2.csv. Load those data and fit the untransformed linear model again. Use these data to answer the questions below. Show and refer to results as appropriate.

  1. What transformation results in the One-Way ANOVA assumptions to be adequately met.

Create a new variable in the data frame that is the appropriately transformed response variable. Fit a new One-Way ANOVA with this transformed variable. Use it to answer the following questions.

  1. Is there a significant difference in the groups means of the transformed data?

Perform multiple comparisons on the transformed scale. Use these results to answer the questions below.

  1. Specifically which group means (of transformed data) differ?
  2. Interpret the first group mean.
  3. Interpret the first difference of paired means.

Back-transform the multiple comparisons results. Use these results to answer the questions below.

  1. Interpret the first back-transformed group mean.
  2. Interpret the first back-transformed difference of paired means.

 

Iron and Mining

In a previous exercise you assessed the assumptions for data related to iron concentrations (mg/L) in 120 unique streams in coal-mining districts of Ohio, grouped according to land use in their basins: unmined, reclaimed, and abandoned. Load those data and fit the untransformed linear model again. Use these data to answer the questions below. Show and refer to results as appropriate.

  1. What transformation results in the One-Way ANOVA assumptions to be adequately met. Briefly but completely explain your evidence for why each assumption is now met.

Create a new variable in the data frame that is the appropriately transformed response variable. Fit a new One-Way ANOVA with this transformed variable. Use it to answer the following questions.

  1. Is there a significant difference in the groups means of the transformed data?
  2. Specifically which group means (of transformed data) differ?
  3. Interpret (on the transformed scale) the smallest group mean.
  4. Interpret the smallest back-transformed group mean.
  5. Interpret (on the transformed scale) the difference in means for the paired means that are most different.
  6. Interpret the back-transform difference in group means for paired means that are most different.
  7. Construct a plot of the back-transformed means with 95% confidence intervals.