In: Statistics and Probability
The office occupancy rates were reported for four California metropolitan areas. | ||||||||||||||||||||||||||||||||
Do the following data suggest that the office vacancies were independent of the metropolitan area? | ||||||||||||||||||||||||||||||||
Run a hypothesis test at alpha of 0.05. What is your conclusion?
|
State the hypotheses. The first step is to state the null hypothesis and an alternative hypothesis.
H0: Office vacancies and metropolitan area are independent.
Ha: Office vacancies and metropolitan area are not independent.
Formulate an analysis plan. For this analysis, the significance level is 0.05. Using sample data, we will conduct a chi-square test for independence.
Analyze sample data. Applying the chi-square test for independence to sample data, we compute the degrees of freedom, the expected frequency counts, and the chi-square test statistic. Based on the chi-square statistic and the degrees of freedom, we determine the P-value.
DF = (r - 1) * (c - 1) = (2 - 1) * (4 - 1)
D.F = 3
Er,c = (nr * nc) / n
Χ2 = 7.753
where DF is the degrees of freedom.
The P-value is the probability that a chi-square statistic having 3 degrees of freedom is more extreme than 7.753.
We use the Chi-Square Distribution Calculator to find P(Χ2 > 7.753) = 0.051
Interpret results. Since the P-value (0.051) is greater than the significance level (0.05), we cannot accept the null hypothesis. Thus, we conclude that there is a relationship between Office vacancies and metropolitan area.