Question

In: Statistics and Probability

A pharmacist wants to test whether a new kind of sleeping pill would be effective to increase the hours of sleep for people who take it.

 

A pharmacist wants to test whether a new kind of sleeping pill would be effective to increase the hours of sleep for people who take it. A random sample of 10 persons (Group A) was given the new pills and another random sample of 13 persons (Group B) was given the old pills.

Their sleep in hours were recorded as follows:

Mean of group A = 8.9 and Standard Deviation of group A = 0.8

Mean of Group B = 8.5 and standard Deviation of group B = 0.5

Construct a 95% confidence interval for the difference of the average hours of sleep that would be obtained for the people taking the new pills over the people taking the old pills. State the assumptions made.

Solutions

Expert Solution

Given X1 bar = 8.9, S1 = 0.8 and n1 = 10

X2 bar = 8.5, S2 = 0.5 and n2 = 13

here samples are normally distributed and samples are independent

Equal variance test :

F stat = S1^2/S2^2 = 0.8^2/0.5^2 = 2.56

F critical : Fl = 0.259 and Fu = 3.436

F stat < Fu Critical

Equal variance is not rejected

95% Confidence Interval :

CI = (X1 bar - X2 bar) +/- tc * Se

Se = Sp * SQRT(1/n1 + 1/n2)

Sp = SQRT(((n1-1)S1^2 + (n2-1)S2^2)/(n1+n2-2))

First we have to find Sp = SQRT(((n1-1)S1^2 + (n2-1)S2^2)/(n1+n2-2))

Sp = SQRT(((10-1)0.8^2 + (13-1)0.5^2)/(10+13-2))

Sp = 0.646

Next Se = Sp * SQRT(1/n1 + 1/n2)

Se = 0.646 * SQRT(1/10 + 1/13)

Se = 0.272

and t critical value = 2.08 ( alpha = 0.05 and df = n1+n2-2 = 21)

CI = (X1 bar - X2 bar) +/- tc * Se

CI = (8.9-8.5) +/- 2.08 * 0.272

CI = 0.4 +/- 0.5658

CI = (-0.1658, 0.9658)

95% confidence interval for the difference of the average hours of sleep that would be obtained for the people taking the new pills over the people taking the old pills −0.165<μ1​−μ2​<0.965, Which means 95% confident that the true value of difference population mean contained by the interval


Related Solutions

The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 35 65 71 69 240 50 or older 37...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 30 63 78 69 240 50 or older 40...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 38 56 70 76 240 50 or older 30...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 39 58 71 72 240 50 or older 32...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 38 65 70 67 240 50 or older 34...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 34 58 80 68 240 50 or older 35...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 30 64 76 70 240 50 or older 30...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are...
The National Sleep Foundation used a survey to determine whether hours of sleeping per night are independent of age (Newsweek, January 19, 2004). The following show the hours of sleep on weeknights for a sample of individuals age 49 and younger and for a sample of individuals age 50 and older. Hours of Sleep Age Fewer than 6 6 to 6.9 7 to 7.9 8 or more Total 49 or younger 37 58 71 74 240 50 or older 34...
A sleep center hypothesizes that people who sleep only four hours will score lower than people...
A sleep center hypothesizes that people who sleep only four hours will score lower than people who sleep for eight hours on a cognitive skills test. The center recruited 20 participants and split them into two groups, giving one group 8 hours of sleep and the other only 4 hours. The following morning, the CAT (Cognitive Ability Test) was conducted, with scores ranging from 1-9, 9 being the best score. Use this information to answer questions . CAT Scores Group...
A researcher would like to test whether or not people who have stocked up on a...
A researcher would like to test whether or not people who have stocked up on a year’s supply of toilet paper are experiencing less stress during a statewide stay-at-home order. A statewide poll indicates that the average stress level for the general state population is 60.5 (with a standard deviation of 11.6) and is normally distributed. Using a random sample of 36 toilet paper hoarders that have a mean stress level of 54.7 (and a standard deviation of 10.3), test...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT