Question

In: Statistics and Probability

Recall the survey you took during the first week of class. Oneof the questions was...

Recall the survey you took during the first week of class. One of the questions was “do you agree
that it is inappropriate to speak on a cellphone while at a restaurant?” Of the 1913 females that
responded to the survey, 1729 agreed with this statement. Of the 1276 males that responded to this
survey, 1111 agreed with this statement. Test to see if there is any difference between males and
females with respect to how they feel about this issue. Use a significance level of .05.
(a) State the appropriate null and alternative hypotheses.

(b) Calculate the test statistic and report the p-value.

(c) State your conclusion in context of the problem.

(d) Based only on the results of the hypothesis test, would you expect a 95% confidence interval to
include 0? Explain.

(e) Calculate and interpret a 95% confidence interval for the difference between males and females.

2. In a recent baseball World Series, the Houston Astros were ordered to keep the roof of their stadium
open. The Houston team claimed that this would make them lose a home-field advantage, because
the noise from fans would be less effective. During the regular season, Houston won 36 of 53 games
played with the roof closed, and they won 15 of 26 games played with the roof open. Treat these
results as a simple random sample of games. Use a significance level of 0.05 to test the claim that
the proportion of wins at home is higher with a closed roof than with an open roof. Does the closed
roof appear to be an advantage?
(a) State the null and alternative hypotheses to determine whether the closed roof is an advantage.

(b) The test statistic for the above test was z = 0.89 which gives us a p-value of 0.1858. State a
conclusion in context of the problem.

(c) Based on the results of the hypothesis test, would you expect a confidence interval to include
0. Why or why not?

3. In a study of the effects of marijuana use during pregnancy, measurements on babies of mothers who
used marijuana during pregnancy were compared to measurements on babies of mothers who did
not. A 95% confidence interval for the difference in mean head circumference μ1 − μ2 (μ1 is mean
for mothers who don’t use marijuana and μ2 is the mean for mothers who use marijuana) was 0.61
to 1.19 cm.
(a) Interpret this confidence interval in context of the problem.

(b) Based on the confidence interval, what can we say about the p-value of the following hypothesis
test: H0 : μ1 = μ2 versus H1 : μ1 > μ2 at the 0.05 significance level? State your conclusion for
the test.

Solutions

Expert Solution

1)

Ho:   p1 - p2 =   0          
Ha:   p1 - p2 ╪   0         

                  
sample #1   ----->   experimental          
first sample size,     n1=   1913          
number of successes, sample 1 =     x1=   1729          
proportion success of sample 1 , p̂1=   x1/n1=   0.9038          
                  
sample #2   ----->   standard          
second sample size,     n2 =    1276          
number of successes, sample 2 =     x2 =    1111          
proportion success of sample 1 , p̂ 2=   x2/n2 =    0.871          
                  
difference in sample proportions, p̂1 - p̂2 =     0.9038   -   0.8707   =   0.0331
                  
pooled proportion , p =   (x1+x2)/(n1+n2)=   0.8906          
                  
std error ,SE =    =SQRT(p*(1-p)*(1/n1+ 1/n2)=   0.0113          
Z-statistic = (p̂1 - p̂2)/SE = (   0.033   /   0.0113   ) =   2.9357
                  

p-value =        0.0033   [excel formula =2*NORMSDIST(z)]      
decision :    p-value<α,Reject null hypothesis               
                  
Conclusion:   There is enough evidence to SAY THAT THERE IS DIFFERENCE

.................

CI will not contain 0

...............

level of significance, α =   0.05              
Z critical value =   Z α/2 =    1.960   [excel function: =normsinv(α/2)      
                  
Std error , SE =    SQRT(p̂1 * (1 - p̂1)/n1 + p̂2 * (1-p̂2)/n2) =     0.0116          
margin of error , E = Z*SE =    1.960   *   0.0116   =   0.0227
                  
confidence interval is                   
lower limit = (p̂1 - p̂2) - E =    0.033   -   0.0227   =   0.0105
upper limit = (p̂1 - p̂2) + E =    0.033   +   0.0227   =   0.0558
                  
so, confidence interval is (   0.010   < p1 - p2 <   0.056   )  

..................................

2)

Ho:   p1 - p2 =   0          
Ha:   p1 - p2 >   0          
                  
sample #1   ----->   experimental          
first sample size,     n1=   53          
number of successes, sample 1 =     x1=   36          
proportion success of sample 1 , p̂1=   x1/n1=   0.6792          
                  
sample #2   ----->   standard          
second sample size,     n2 =    26          
number of successes, sample 2 =     x2 =    15          
proportion success of sample 1 , p̂ 2=   x2/n2 =    0.577          
                  
difference in sample proportions, p̂1 - p̂2 =     0.6792   -   0.5769   =   0.1023
                  
pooled proportion , p =   (x1+x2)/(n1+n2)=   0.6456          
                  
std error ,SE =    =SQRT(p*(1-p)*(1/n1+ 1/n2)=   0.1145          
Z-statistic = (p̂1 - p̂2)/SE = (   0.102   /   0.1145   ) =   0.8934
                     
p-value =        0.1858   [excel function =NORMSDIST(-z)]      
decision :    p-value>α,Don't reject null hypothesis               
                  
Conclusion:   There is not enough evidence to say that
proportion of wins at home is higher with a closed roof than with an open roof

..................

3)

CI = (0.61 , 1.19)

WE are 95% confident to say that population mean difference in mean head circumference of babies will lie in this interval

..............

0 is not in the interval, so reject Ho

mean of mothers who don’t use marijuana is greater than other


Related Solutions

A recent survey asked students to rate their stress-level during the first week of classes. Students...
A recent survey asked students to rate their stress-level during the first week of classes. Students responded on a scale from 1 to 8 wherein 1 was almost no stress and 8 being stressed to the max. Students responses to the survey are illustrated in the table below.   . .. Score . x... .. Frequency . f .. 1 2 2 4 3 7 4 4 5 4 6 1 7 6 8 2 . Using the table information, answer...
Complete a t-test using the data collected during the first week of class (i.e., the question you asked classmates)
  Complete a t-test using the data collected during the first week of class (i.e., the question you asked classmates). You can compare groups via gender or major, depending on your hypothesis. For example, as I mentioned, last year an MLS student asked his classmates how many times they had seen Star Wars. He hypothesized that there was a significant difference between MLS and DEHS students, so he compared those two groups. What type of inferential test should you use...
Students at several large universities took the survey described below. One of the survey questions asked...
Students at several large universities took the survey described below. One of the survey questions asked “Where do you sit in class (Front, Middle, Back). Some of the results are shown in the two-way table below. Where Do You Sit in Class Front Middle Back Row totals Are You A Male or Female Female 37 91 22 150 Male 15 46 25 86 Total 52 137 47 236 Does this survey data suggest that there is an association between gender...
Students at several large universities took the survey described below. One of the survey questions asked...
Students at several large universities took the survey described below. One of the survey questions asked “Where do you sit in class (Front, Middle, Back). Some of the results are shown in the two-way table below. Where Do You Sit in Class Front Middle Back Row totals Are You A Male or Female Female 37 91 22 150 Male 15 46 25 86 Total 52 137 47 236 Does this survey data suggest that there is an association between gender...
A first year statistics class took part in a simple experiment. Each person took their pulse...
A first year statistics class took part in a simple experiment. Each person took their pulse rate. They then flipped a coin and, if it came up tails, they ran in place for one minute. Everyone then took their pulse a second time. Of the 92 students in the class, 32 ran in place. In repetitions of this experiment, the number that run in place should have a binomial distribution with n = 92 trials and probability of success p...
Students in a statistics class took their first test. The following are the score they earned....
Students in a statistics class took their first test. The following are the score they earned. Create a histogram for the data and describe the findings Scores(62,87,81,69,69 ,87,60,45,95,76,76 62,71,65,67,67,72,80,40,77,87,58 84,73,90,64,64,89) a)Find the mean, median, and modal class. b)What is inter quartile range? c)What is standard deviation of the test score? d)Is the score of 40 unusual? Why?
Recall that you took samples of words from the population of words in the Gettysburg Address,...
Recall that you took samples of words from the population of words in the Gettysburg Address, for which the average length of a word is 4.295 letters. 1.Is the number 4.295 a parameter or a statistic? 2.When you first selected your sample of 10 (circled) words, what was the variable that you recorded about the words? Was the variable categorical or quantitative? 3.You calculated the average (mean) number of letters per word in your sample of ten circled words. Is...
During the first week of lockdown, you decided not to spend more than $30 on your...
During the first week of lockdown, you decided not to spend more than $30 on your food. You ate only hotdog with burger bread, and that also in a 1:1 combination, and nothing else. The prices of both these goods were $1 per unit. Find out the optimum amount of hotdog and burger bread you consumed that week. In the second week, due to lack of supply the price of hotdog increased to $2 while the price of burger bread...
A: You recently took a statistics class in a large class with n = 500 students....
A: You recently took a statistics class in a large class with n = 500 students. The instructor tells the class that the scores were Normally distributed, with a mean of 7 2 (out of 100 ) and a standard deviation of 8 , but when you talk to other students in the class, you find out that more than 30 students have scores below 45 . That violates which rule for the Normal distribution? the 30–60–90 rule the 1–2–3...
You are a new tax staff accountant at a local CPA firm. During your first week...
You are a new tax staff accountant at a local CPA firm. During your first week on the job a client, Ms. Macchiato, came into the firm seeking tax advice. In particular, Ms. Macchiato owns a small coffee shop, called the No Doze Café. Ms. Macchiato currently operates the No Doze Café as a sole proprietorship but is considering incorporating the business as an S corporation. Ms. Macchiato works full-time in the business; if she converts the business to an...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT