Baibergenova, A., Thabane, L., Akhtar-Danesh, N., Levine, M., Gafni, A., Moineddin, R. and Pulcins, I. (2005): Effect of gender, age, and severity of asthma attack on patterns of emergency department visits due to asthma by month and day of the week.European Journal of Epidemiology20, No.11, 947-956.Part a)Which graphical method would best display the above data?A.A stem-and-leaf plotB.A bar chartC.A histogramD.A pie chartE.A boxplotPart b)Which of the following best describes the null hypothesis?A.The probability of having an asthma attack in Ontario on a particular day does not vary across the days of the week.B.The probability of having an asthma attack in Ontario on a particular day varies across the days of the week.C.The mean number of asthma attacks in Ontario per day varies by day of the week.D.The number of asthma attacks in Ontario per day varies by day of the week.E.There is no variation in the daily number of asthma attacks in Ontario.Part c)Under the null hypothesis, what would be the expected number of emergency admissions due to asthma in Ontario on a Tuesday?Give your answer to 2 decimal places.Part d)Compute your test statistic here using R, giving your answer to 2 decimal places.Part e)Provide the P-value of your test to 3 decimal places.(1 pt) So-calledracial steeringoccurs when a real estate agent has a tendency to show prospective property buyers only homes in neighbourhoods already dominated by the race of the prospective buyer. Such action violates the Fair Housing Act of 1968 in the USA. Connor and Kadane (2001) write about an American court case where it was alleged that a real estate agent was applying racial steering to renters. Data were provided about how the race of a potential renter of an apartment in a complex appeared to influence the section in the complex the realtor showed the potential renter. The complex split into two sections, section A which was predominantly white and B which was predominantly black. Suppose the data over a two-year period were as below: (see attach file)Connor, J.T. and Kadane, J.B. (2001): Alleged racial steering in an apartment complex.Chance14, No.2, 19-22.Part a)What hypothesis (or hypotheses) are of interest to test in this context? (Choose all that apply.)A.There is no dependence between the race of a potential renter and the section they are shown by the realtor in the complex.B.White potential renters are just as likely to rent an apartment in the complex as black potential renters.C.There was no difference between the number of white and black potential renters.D.The chance of being shown an apartment in each section does not depend on the race of the potential renter.E.There was no difference in the numbers of apartments being available to rent in the two sections of the complex.Part b)Select a hypothesis you chose above. A test that can be applied here takes as its test statistic the count,Zsay, in the top left hand cell in the table, assuming that the marginal totals in the table are fixed.Under the null hypothesis, find the probability of the value ofZobserved in the table, to three decimal places.Part c)If using this hypothesis test in this context would you adopt a one-sided or two-sided alternative hypothesis?A.One-sidedB.Two-sidedC.It does not matterPart d)Perform your test using R. Find the P-value for the test, to three decimal places.Part e)Would you reject or not reject your null hypothesis at the 5% significance level?A.RejectB.Not reject

Related

#T7A