In: Statistics and Probability
Gallup recently conducted a survey about the proportion of Americans who use e-cigarettes (vape). The following example is based on hypothetical data that is meant to be similar to the data collected by Gallup.
The following table considers survey data about annual household income and whether or not a person vapes.
<$35,000 |
$35,000-$99,999 |
$100,000+ |
Total |
|
Vape |
47 |
57 |
19 |
123 |
Do Not Vape |
381 |
659 |
362 |
1402 |
Total |
428 |
716 |
381 |
1525 |
Problem 1. Based on recent data, about 28% of Americans earn less than $35,000 annually, about 42% of Americans earn between $35,000 and $99,999 annually, and about 30% of Americans earn more than $100,000. Does it appear that the sample is representative of the population? In other words, does it appear that the total people in each income category matches the appropriate proportion? Conduct a chi-square goodness of fit test at the 5% significance level by completing the following steps:
1.
Given table data is as below
calculation formula for E table matrix
expected frequencies calculated by applying E - table matrix formula
calculate chisquare test statistic using given observed frequencies, calculated expected frequencies from above
------------------------------------------------------------------ test statistic: 9.788 critical value: 5.991 p-value:0.007 we have enough evidence to support the claim that it appear that the sample is representative of the population. |