Use RStudio to compute and plot the difference in means. Fitness score means should be represented on the y-axis and the breakfast protein level should be represented on the x-axis. (b) Judging by the plot created in part (a), does there appear to be a significant main effect of diet? Of gender? (c) Use RStudio to compute and print SSA, SSB, and SSAxB.
A research study was conducted to examine the impact of eating a high protein
breakfast on adolescents’ performance during a physical education physical fit-
ness test. Half of the subjects received a high protein breakfast and half were
given a low protein breakfast. All of the adolescents, both male and female, were
given a fitness test with high scores representing better performance.
Load the data into a data
frame named FitnessData. The fitness scores will be contained in the Score vari-
able of the data frame (FitnessData$Score). The gender (“Male” or “Female”)
of each subject is contained in the Gender variable (FitnessData$Gender). The
protein level (“High” or “Low”) of each subject’s breakfast is contained in the
Protein variable (FitnessData$Protein).
(a) Use RStudio to compute and plot the difference in means. Fitness score means should be
represented on the y-axis and the breakfast protein level should be represented on the x-axis.
(b) Judging by the plot created in part (a), does there appear to be a significant main effect of
diet? Of gender?
(c) Use RStudio to compute and print SSA, SSB, and SSAxB.
![Gender
Male High
Male
High
Male
High
Male
High
Male
High
Male
Low
Male
Low
Male
Low
Male
Low
Male Low
Female High
Female High
Female High
Female High
Female High
Female Low
Female Low
Female Low
Female Low
Female Low
Protein
Score
10
7
9
6
8
10
5
4
7
4
5
5
st
4
6
3
2
3
st
4
10
5
1
2](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F670471fb-2fc9-49cb-b633-ddc43fa4998a%2F125b8165-bedd-4433-8b54-b8598be82dac%2Fc2xlq5_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)