STAT210prob3.18 | R Documentation |
The data in this data set are the scores from one golf player throughout one year. The golf scores are divided into three golf seasons: summer (June - September), winter (November - March) and shoulder (October, April, and May). The player wanted to test his hypothesis on which season he achieved the best golf play.
STAT210prob3.18
A data frame with 25 observations (rows) and 3 variables (columns).
Column name | Data type | Description | Values | |
[,1] | Season | character | The season of the year | ("Summer", "Shoulder", "Winter") |
[,2] | Score | integer | The golf score | (83 - 94) |
[,3] | RESI1 | numeric | Residuals | (-4.125 - 4.875) |
This is data from Exercise 3.18 in Design and Analysis of Experiments, 9th Edition, EMEA Edition.
Montgomery, D. C. (2019) Design and Analysis of Experiments, 9th Edition, EMEA Edition. New York: Wiley.
# A short summary of the variables
summary(STAT210prob3.18)
# Golf scores per season
boxplot(Score ~ Season, data = STAT210prob3.18)
# Get the residuals
STAT210prob3.18$Season <- as.factor(STAT210prob3.18$Season)
res <- aov(Score ~ Season, data = STAT210prob3.18)
res$residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.