Q.12
Question
Housing According to the Census Bureau, the distribution by ethnic background of the New York City population in a recent year was
The manager of a large housing complex in the city wonders whether the distribution by the race of the complex’s residents is consistent with the population distribution. To find out, she records data from a random sample of residents. The table below displays the sample data
Are these data significantly different from the city’s distribution by race? Carry out an appropriate test at the level to support your answer. If you find a significant result, perform follow-up analysis.
Step-by-Step Solution
VerifiedFrom the given information,
The p-value is below the significance level. The null hypothesis gets rejected. Thus, there is a significant difference in the distribution of cities by race at a % significance level.
It is given in the question that, the distribution by ethnic background of the New York City population in a recent year was
The table below displays the sample data
The null and alternative hypotheses are:
The calculation for test statistics is done as:
The test statistic is :
The degree of freedom is calculated as:
The p-value using the chi-square table at degrees of freedom is
The p-value is below the significance level. The null hypothesis gets rejected. Thus, there is a significant difference in the distribution of cities by race at a % significance level.