STAT210prob3.16 | R Documentation |
A pharmaceutical manufacturer wants to investigate the bioactivity of a new drug. A completely randomized single-factor experiment was conducted with three dosage levels. This data contains the obtained results of the experiment.
STAT210prob3.16
A data frame with 12 observations (rows) and 3 variables (columns).
Column name | Data type | Description | Values | |
[,1] | Dosage | character | 3 different doses of the drug | ("20g", "30g", "40g") |
[,2] | Activity | integer | The biological activity | (24 - 52) |
[,3] | RESI1 | numeric | Residuals | (-6.75 - 7.25) |
This is data from Exercise 3.16 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.16)
# Get the residuals
STAT210prob3.16$Dosage <- as.factor(STAT210prob3.16$Dosage)
res <- aov(Activity ~ Dosage, data = STAT210prob3.16)
res$residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.