In: Statistics and Probability
Suppose we wanted to know if there is a difference in the proportion of citizens from different provinces who would support the idea of federal laws for mask wearing in public. Upon collecting some sample data we find that 34 out of 50 residents of Ontario would support such legislation, while only 28 out of 50 residents of Alberta support the idea of such laws.
a.) Conduct the appropriate test of hypothesis for these data at the .05 level
b.) What is the p-value associated with these data?
c.) Generate a 90% confidence interval for these data
d.) Why is z always the test statistic used with a proportion, rather than t?