MANE 6313
Week 4, Module B
Student Learning Outcome
Analyze simple comparative experiments and experiments with a single factor.
Module Learning Outcome
Analyze a one-way analysis of variance problem using R.
One-Way Analysis of Variance
Anova in R Documentation
- An excellent resource is https://statsandr.com/blog/anova-in-r/
Step 1 - Load and Plot Data
Step 1 Comments
- Create dataframe mortar to hold results
-
Used new syntax to create box plot
-
Strength~Additive - creates Box plot for each value of additive in data set
- New argument: data=mortar
-
Does not require mortar\(\$\)Strength or mortar\(\$\)Additive
-
Check for equal means and variances using Box plot
Step 2 - Analyze Problem
Step 2 - Analyze Problem (Method 2)
Step 3 - Check Fitted Values
R Demonstration
- Load Data
- Box Plot
- One-way ANOVA
- Print Fitted Values