Question

In: Statistics and Probability

You wish to compare the short-term effects of three new sleep-aid drugs. You try all three...

You wish to compare the short-term effects of three new sleep-aid drugs. You try all three in a sample of eight subjects, with 5 day between each test. Data 18E give the number of hours slept during the night under each drug. a) give Ho. b) Conduct the F test (a=.05) c) Apply Turkey's HSD test. d) state your conclusion. Data 18E Subject: 1,2,3,4,5,6 Drug A: 6,5,6,7,8,4,5,6 Drug B: 5,6,6,7,6,5,7,6 Drug C: 8,7,9,6,8,8,8,7

Solutions

Expert Solution

Using R

A <- c(6,5,6,7,8,4,5,6)
B <- c(5,6,6,7,6,5,7,6)
C <- c(8,7,9,6,8,8,8,7)
hours <- c(A,B,C)

class <- c(rep("A", 8), rep("B", 8), rep("C", 8))


dat<-data.frame(hours , class)


summary(aov(hours~class,data = dat))
TukeyHSD(aov(dat$hours~dat$class))

           Df Sum Sq Mean Sq F value  Pr(>F)   
class        2  15.25   7.625   7.717 0.00307 **
Residuals   21  20.75   0.988                   
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> TukeyHSD(aov(dat$hours~dat$class))
  Tukey multiple comparisons of means
    95% family-wise confidence level

Fit: aov(formula = dat$hours ~ dat$class)

$`dat$class`
     diff       lwr      upr     p adj
B-A 0.125 -1.127761 1.377761 0.9657885
C-A 1.750  0.497239 3.002761 0.0055171
C-B 1.625  0.372239 2.877761 0.0098149

b)
F = 7.717
p-value = 0.00307
p-value < alpha(0.05)
hence the difference is significant

c)
there is difference in A and C
as well as B and C


Related Solutions

A study was conducted to compare the effects of three different drugs on the alleviation of...
A study was conducted to compare the effects of three different drugs on the alleviation of anxious depression in non-psychotic patients. Twelve non-psychotic patients, all suffering from moderate to severe depression and anxiety, were grouped according to initial level of severity. Patients in each severity level group were randomly assigned to the three treatments (drugs). At the end of the experimental period, a combined anxiety and depression score as determined by the MMPI and Taylor Manifest Anxiety Scale was recorded...
A team of cognitive psychologists studied the effects of sleep deprivation on decay of short-term memory....
A team of cognitive psychologists studied the effects of sleep deprivation on decay of short-term memory. Eight participants stayed in a lab for 2 days. Four were randomly assigned not to sleep during that period. The other four were allowed to sleep when they wanted to do so. At the end of the 2 days, the participants completed a short-term memory task. Here are the results: Mean Time (Seconds) for Remembering Sleep Deprived Normal Sleep 7 9 8 8 7...
11_ Compare and contrast the effects of two stimulant drugs. Compare and contrast the effects of...
11_ Compare and contrast the effects of two stimulant drugs. Compare and contrast the effects of two depressant drugs.
We wish to compare three interventions for preterm infants, with regard to effects on the infants’...
We wish to compare three interventions for preterm infants, with regard to effects on the infants’ heart rates: Nonnutritive Sucking (NNS), Nonnutritive Sucking plus Rocking (NNSR), and Rocking (R). Nine infants are randomly assigned to six different orderings of the three treatments. Heart rate, the dependent variable, is measured after each treatment. The data are summarized in the following table. (Click herefor the data set in Google Sheets) NNS NNSR R 148 151 157 175 180 202 145 144 168...
1 .List THREE short-term and THREE long-term health effects that can occur when exposed to VOCs...
1 .List THREE short-term and THREE long-term health effects that can occur when exposed to VOCs 2. Explain how the ozone layer is destroyed in the following ways:naturally and human activity 3. Explain how destruction of the ozone layer contributes to global warming. 4. What was the 1987 Montreal Protocol about?    The book she used is " Energy" Science, Policy,and the Pursuit of Sustainability Edited by: Robert Bent, Lloyd Orr, and Randall Baker
Determine two goals (one short term and one long term) that you wish to achieve(you can...
Determine two goals (one short term and one long term) that you wish to achieve(you can make up fictional ones if you wish). Explain how you will achieve them and what length of time you estimate it will take for you to do so. What will be the biggest obstacle in your efforts to achieve these goals.
The iron lung was invented as a short-term aid to breathing, not as a long-term device...
The iron lung was invented as a short-term aid to breathing, not as a long-term device to live. "It was meant to bring people back to health, not keep hopelessly damaged bodies alive." (p. 62, Oshinsky). What are the economic considerations of long term therapy such as the iron lung? Discuss who pays for the treatment and who gets to decide who gets such treatment. Give an example of similar cost/benefit situation in today’s healthcare environment (prefered one page and...
List three other drugs used for anxiety or sleep that are not classified as benzodiazepines or...
List three other drugs used for anxiety or sleep that are not classified as benzodiazepines or barbiturates. List the therapeutic actions, indications, pharmacokinetics, contraindications, most common adverse reactions, and important drug–drug interactions for each of these medications
What are alcohol's effects on the liver, both short-term and long-term?
What are alcohol's effects on the liver, both short-term and long-term?
We wish to compare list prices of six popular drugs for HIV infection. The data in...
We wish to compare list prices of six popular drugs for HIV infection. The data in the table represent means and standard deviations of prices for each drug based on a survey of 55 pharmacies in the New England area. Prices are for a full course of treatment. Generate a graphical display of the mean prices shown in the following table. Mean and Standard Deviation of Prices of Six HIV Drugs Drug Mean Price Standard Deviation in Price A $3,200...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT