Grouped by course offering
Grouped by school type
Advanced course offerings break down in the following way:
##
## Pearson's Chi-squared test
##
## data: table(chi_data$locale_code_4, chi_data$advm_ind)
## X-squared = 14.647, df = 3, p-value = 0.002145
## X-squared
## 14.64679
## [1] 0.002144774
## Number of cases in table: 347
## Number of factors: 2
## Test for independence of all factors:
## Chisq = 14.647, df = 3, p-value = 0.002145
The results of the chi-square test are significant with a p-value of .002, suggesting there is a significant relationship between school type and the status of advanced course offerings.
\[X^2 = 14.647, df = 3, p = .002\]
##
## Pearson's Chi-squared test
##
## data: table(chi_datav2$advm_ind, chi_datav2$locale_code_4)
## X-squared = 14.647, df = 3, p-value = 0.002145
## X-squared
## 14.64679
## [1] 0.002144774
## Number of cases in table: 347
## Number of factors: 2
## Test for independence of all factors:
## Chisq = 14.647, df = 3, p-value = 0.002145
The results of the chi-square test are significant with a p-value of .002, suggesting there is a significant relationship between school type and the status of advanced course offerings.
\[X^2 = 14.647, df = 3, p = .002\]