Question

In: Statistics and Probability

A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one...

A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one of three treatments. Treatment 1 was water (control). Treatment 2 was 1g of ethanol per kg of body weight, and Treatment 3 was 2g/kg. The amount of REM sleep (in minutes) in a 24hr period was recorded: Treatment 1: 63, 54, 69, 50, 72 Treatment 2: 45, 60, 40, 56 Treatment 3: 31, 40, 45, 25, 23, 28 Are these data strong evidence REM sleep time differs across the three treatment populations?

(a) Graph the data. Why did you choose the graph that you did and what does it tell you?

(b) Create an ANOVA table for the data using your calculator (to prepare for exams). Show your work. You may use R to check your answers.

(c) Evaluate the ANOVA assumptions graphically. Was ANOVA appropriate here?

(d) Based on the ANOVA table, make a conclusion in the context of the problem.

(e) Use R to create 95% CIs for all pairwise comparisons of means using the Tukey-Kramer method. Summarize your results using letter codes. What do you conclude?

Please complete and show all work and R codes for part E only. Thank you!

Solutions

Expert Solution

Solution :

Given that:

The amount of REM sleep (in minutes) in a 24hr period was recorded:

Treatment 1: 63, 54, 69, 50, 72

Treatment 2: 45, 60, 40, 56

Treatment 3: 31, 40, 45, 25, 23, 28

(a) Graph the data. Why did you choose the graph that you did and what does it tell you?

We will graph the data using boxplot to compare the amount of REM sleep for three different treatments.

It tells that the mean amount of REM sleep is highest for treatment 1 and lowest for treatment 3.

R code used to generate the plot.

rem = c(63, 54, 69, 50, 72,45, 60, 40, 56,31, 40, 45, 25, 23,28)

treatments = c(1,1,1,1,1,2,2,2,2,3,3,3,3,3,3)

treatments = as.factor(treatments)

boxplot(rem~treatments,xlab="Treatments",ylab="REM")

(b) Create an ANOVA table for the data using the formulas provided in class. Show your work. You may use R to check your answers.

Anova Table is,

Grand mean = 46.73

Total sum of squares, SST =

Total sum of squares, SST = 3454.934

Error Sum of squares, SSE =

Error Sum of squares, SSE = 997.95

Treatment sum of squares, SSTR = SST - SSE = 3454.933 - 997.95 = 2456.983

Degree of freedom for SSTR is 2 ( Number of treatments - 1)

Degree of freedom for SSE is 12 ( Number of observations - Number of treatments)

MSTR = 2456.983/2 = 1228.492

MSE = 997.95/12 = 83.1625

F= 1228.492/83.1625 = 14.77219

p-value for F = 14.77219 at df = 2,12 is 0.000581

The output of R also shows the same result.

aov.out = aov(rem~treatments)
aov.out
Call:
aov(formula = rem ~ treatments)

Terms:
treatments Residuals
Sum of Squares 2456.983 997.950
Deg. of Freedom 2 12

Residual standard error: 9.119348
Estimated effects may be unbalanced

summary(aov.out)
Df Sum Sq Mean Sq F value Pr(>F)
treatments 2 2457 1228.5 14.77 0.000581 ***
Residuals 12 998 83.2
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

(c) Evaluate the ANOVA assumptions graphically. Was ANOVA appropriate here?

The normality assumptions is checked by the code qqnorm(rem,pch=16)

As, the graph is linear, the normality condition is satisfied.

The residual plot is created by the command plot(aov.out). As there is no specific pattern , constant variance condition is also satisfied.

(d) Based on the ANOVA table, make a conclusion in the context of the problem.

As the p-value is less than 0.05, we reject the null hypothesis and conclude that the effect of treatments on amount of REM sleep is significant.

(e) From the givend data

Level N Mean StDev
Treatment 1 5 61.600 9.450
Treatment 2 4 50.250 9.323
Treatment 3 6 32.000 8.718

The pairwise comparisons of means using the Tukey method as

Please give me a thumbs-up if this helps you out. Thank you!


Related Solutions

A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one...
A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one of three treatments. Treatment 1 was water (control). Treatment 2 was 1g of ethanol per kg of body weight, and Treatment 3 was 2g/kg. The amount of REM sleep (in minutes) in a 24hr period was recorded: Treatment 1 63 54 69 50 72 Treatment 2 45 60 40 56 Treatment 3 31 40 45 25 23 28 Are these data strong evidence REM...
A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one...
A study explored the effect of ethanol on sleep time. Fifteen rats were randomized to one of three treatments. Treatment 1 was water (control). Treatment 2 was 1g of ethanol per kg of body weight, and Treatment 3 was 2g/kg. The amount of REM sleep (in minutes) in a 24hr period was recorded: Treatment 1: 63, 54, 69, 50, 72 Treatment 2: 45, 60, 40, 56 Treatment 3: 31, 40, 45, 25, 23, 28 Are these data strong evidence REM...
A study was conducted to explore the effects of ethanol on sleep time. Fifteen rats were...
A study was conducted to explore the effects of ethanol on sleep time. Fifteen rats were randomized to one of three treatments. Treatment 1 got only water (control). Treatment 2 got 1g of ethanol per kg of body weight, and treatment 3 got 2g/kg of ethanol. The amount of REM sleep in a 24hr period was recorded, in minutes. Data are below: Treatment 1: 63, 54, 69, 50, 72 Treatment 2: 45, 60, 40, 56 Treatment 3: 31, 40, 45,...
A study was conducted to explore the effects of ethanol on sleep time. Fifteen rats were...
A study was conducted to explore the effects of ethanol on sleep time. Fifteen rats were randomized to one of three treatments. Treatment 1 got only water (control). Treatment 2 got 1g of ethanol per kg of body weight, and treatment 3 got 2g ethanol per kg of body weight. The amount of REM sleep in a 24hr period was recorded, in minutes. Data are below: Treatment 1: 63, 54, 69, 50, 72 Treatment 2: 45, 60, 40, 56 Treatment...
In a biomedical study with rats, a dose-response investigation is used to determine the effect of the dose of a toxicant on their survival time.
In a biomedical study with rats, a dose-response investigation is used to determine the effect of the dose of a toxicant on their survival time. The toxicant is one that is frequently discharged into the atmosphere from jet fuel. For a certain dose of the toxicant, the study determines that the survival time, in weeks, has a gamma distribution with α = 5 and β = 10. What is the probability that a rat survives no longer than 60 weeks?
In a study of smoking and its effects on sleep patterns, one variable is the time...
In a study of smoking and its effects on sleep patterns, one variable is the time that it takes to fall asleep. A random sample of size 12 is drawn from the population of smokers; an independent sample of size 15 is drawn from the population of non-smokers. The mean time to sleep for smokers is 43.70 minutes; for non-smokers it is 30.32 minutes. The sample variance for the time to sleep for smokers is 286.549 min2  while for non-smokers it...
In a study of memory process, rats were first presented with a fear-inducing stimulus on a...
In a study of memory process, rats were first presented with a fear-inducing stimulus on a learning task as soon as they stepped across a line in a test chamber. Afterwards, the rats were divided and given electrical stimulation either 50 or 150 milliseconds after crossing the line. In addition, the rats differed in terms of the area in which the stimulation electrodes were implanted in their brains (Neutral Area, Area A, or Area B). Researchers were interested in the...
In a study of memory process, rats were first presented with a fear-inducing stimulus on a...
In a study of memory process, rats were first presented with a fear-inducing stimulus on a learning task as soon as they stepped across a line in a test chamber. Afterwards, the rats were divided and given electrical stimulation either 50 or 150 milliseconds after crossing the line. In addition, the rats differed in terms of the area in which the stimulation electrodes were implanted in their brains (Neutral Area, Area A, or Area B). Researchers were interested in the...
In a study of memory process, rats were first presented with a fear-inducing stimulus on a...
In a study of memory process, rats were first presented with a fear-inducing stimulus on a learning task as soon as they stepped across a line in a test chamber. Afterwards, the rats were divided and given electrical stimulation either 50 or 150 milliseconds after crossing the line. In addition, the rats differed in terms of the area in which the stimulation electrodes were implanted in their brains (Neutral Area, Area A, or Area B). Researchers were interested in the...
1. Students were provided a one-time survey with questions about course load and sleep habits: -...
1. Students were provided a one-time survey with questions about course load and sleep habits: - Are you taking another course at the same time as biostats? - On a normal night during the summer, how much do you sleep? question: Are sleep times of college students different depending on their course load? a. Cross-sectional and observational b. Cross-sectional and experimental c.Longitudinal (retrospective) and experimental d.Longitudinal (prospective) and experimental e.Longitudinal (prospective) and observational f.Longitudinal (retrospective) and observational 2. An investigator...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT