SOLUTION: A surprising number of people are scared of clowns. You expect that people will have more nightmares the night that they see clowns at the circus. To test this, you send a group of

Algebra.Com
Question 1132663: A surprising number of people are scared of clowns. You expect that people will have more nightmares the night that they see clowns at the circus. To test this, you send a group of people to a circus with clowns, and a group to a circus without clowns, and measure the number of people in each group who have nightmares that night. Your data is shown below:
Nightmares Nice dreams
No clowns 12 35
Clowns 30 8
Perform a Z-test on nightmares after the no-clown circus minus nightmares after the clown circus. Report the test statistic.

Answer by stanbon(75887)   (Show Source): You can put this solution on YOUR website!
Your data is shown below:
..........Nightmares Nice dreams
No clowns 12 35
Clowns 30 8
---
p1 = 12/47
p2 = 30/38
----
Perform a Z-test on nightmares after the no-clown circus minus nightmares after the clown circus. Report the test statistic.
---
Ho:: p1-p2 = 0
Ha:: p1-p2 # 0
-----
Sample difference:: 12/47-30/38 = -0.534
Standard deviation = sqrt[(12/47)(25/47)/47 + (30/38)(8/38)/38]
= sqrt[0.0029+0.0044] = 0.0853
---
Test Statistic:: z(-0.534) = -0.523/0.0853 = -6.132
----
Cheers,
Stan H.

RELATED QUESTIONS

There are 20 people attending an event. A door prize is awarded to attendees if they... (answered by edjones)
out of 650 people ,how many more would you expect to say that they like summer than say... (answered by Alan3354)
35% of American households subscribe to TIVO. Suppose that 12 American households are... (answered by xdragonfight)
A choir is singing in a festival. On the first night 12 people were absent so they stood (answered by ankor@dixie-net.com)
A campground charges $20.00 to camp for one night. They average 56 people each night. A (answered by Boreal)
Cheyenne tells a joke to 5 people and those 5 people tell the joke to 5 more people, and... (answered by MathLover1,math_tutor2020,ikleyn)
It is known that 15% of all people have pets. If 15 people are selected at random, what... (answered by jjthomson83)
From a group of 7 people, you randomly select 3 of them. What is the probability that... (answered by josmiceli,ikleyn)
From a group of 11 people, you randomly select 4 of them. What is the probability that... (answered by ikleyn)