Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part B Using an Interaction plot Antidotes for toxins This problem is based on an exercise from page 1 3 4 of the textbook, Modern
Part B Using an Interaction plot Antidotes for toxins
This problem is based on an exercise from page of the textbook, Modern Statistics for the Life Sciences
An experiment was conducted on the effectiveness of two antidotes to four different doses of toxin. The antidote was given fiveminutes after the toxin, and twentyfive minutes later the response was measured as the concentration of related products in the blood. There were three subjects at each combination of the antidote and dose level. The data are stored in the dataset antidotes. Answer the questions that follow.
To load the dataset, first change working directories, and then read in the dataset:
antidotes read.tableantidotestxtheaderT
Now antidotes contains three vectors: BLOOD, DOSE, and ANTIDOTE.
Column Descriptions of each column Name of each column in R
Antidote type for Antidote A for Antidote B ANTIDOTE
Four levels of dose and DOSE
Concentration of products in the blood BLOOD
First do the following:
attachantidotes
ANTIDOTE factorANTIDOTE
DOSE factorDOSE
Explain why we apply the function, factor to the ANTIDOTE and DOSE variables.
Build a linear model for the response variable including both explanatory variables, ANTIDOTE and DOSE, with and without the interaction term ANTIDOTE:DOSE.
modellmBLOOD~ANTIDOTEDOSE
modellmBLOOD~ANTIDOTEDOSEDOSE:ANTIDOTE
Insert copies of the anova and summary tables for the model without interactions here:
Insert copies of the anova and summary tables for the model with interactions here:
Create an interaction plot for this data using the interaction.plot command, and insert that plot right after this step.
Insert a copy of your interaction plot here, along with the command you ran in R to generate it:
Is it important to include the interaction term for this analysis?
a Answer based on interpreting the results from the interaction plot.
b Answer based on the statistical significance of the interaction term.
Finally, compare the multiple R result for the models without and with the interaction term.
R for model without interactions:
R for model with interactions:
Which model explains more of the variation in the data?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started