New research seems to suggest that kids raised in homes with pets tend to have fewer allergies than kids raised without pets. A survey study was conducted to test this finding. A sample of 100 adults were asked if they had allergies (yes/no) and how many pets they had between the ages of 1 and 10 years old (0, 1, or 2 or more). Use the crosstabs table below t conduct a chi-square test with alpha = 0.05. Indicate whether these data support the previous findings or not.
# Pets/Allergies | 0 | 1 | 2 or more |
No | 10 | 25 | 35 |
Yes | 15 | 10 | 5 |
2. For the following voting survey data, create a crosstabs table and then conduct a test to determine if the two variables are related. Use alpha equals 0.01.
Person | Gender | Plans to Vote for | Person | Gender | Plans to Vote for |
1 | Male | Trump | 16 | Female | Clinton |
2 | Male | Trump | 17 | Male | Trump |
3 | Female | Trump | 18 | Male | Clinton |
4 | Female | Clinton | 19 | Female | Trump |
5 | Female | Clinton | 20 | Female | Trump |
6 | Male | Clinton | 21 | Male | Clinton |
7 | Male | Trump | 22 | Female | Clinton |
8 | Female | Clinton | 23 | Male | Trump |
9 | Female | Trump | 24 | Female | Clinton |
10 | Male | Clinton | 25 | Female | Trump |
11 | Male | Trump | 26 | Male | Trump |
12 | Female | Trump | 27 | Female | Clinton |
13 | Male | Clinton | 28 | Male | Trump |
14 | Female | Clinton | 29 | Female | Clinton |
15 | Male | Trump | 30 | Male | Trump |
1)
c1 | c2 | c3 | sum | |||||
r1 | 10 | 25 | 35 | 70 | ||||
r2 | 15 | 10 | 5 | 30 | ||||
sum | 25 | 35 | 40 | 100 | ||||
Eij | 1 | 2 | 3 | |||||
expected | 1 | 17.5 | 24.5 | 28 | ||||
2 | 7.5 | 10.5 | 12 | |||||
0i | 10 | 25 | 35 | 15 | 10 | 5 | ||
Ei | 17.5 | 24.5 | 28 | 7.5 | 10.5 | 12 | ||
sum | ||||||||
(Oi-Ei)^2/Ei | 3.214286 | 0.010204 | 1.75 | 7.5 | 0.02381 | 4.083333333 | 16.58163 | |
critical value | 5.991465 | |||||||
p-value | 0.000251 |
TS = 16.5816
df = 2
critical value = 5.9915
since TS > critical value
we reject the null hypothesis
we conclude that these data support the previous findings
Get Answers For Free
Most questions answered within 1 hours.