Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ch. 28 Chi-square test Used when the data are frequencies (counts) or proportions for 2 or more groups. Example 1.

Similar presentations


Presentation on theme: "Ch. 28 Chi-square test Used when the data are frequencies (counts) or proportions for 2 or more groups. Example 1."— Presentation transcript:

1 Ch. 28 Chi-square test Used when the data are frequencies (counts) or proportions for 2 or more groups. Example 1

2

3

4 5. Calculate ((observed-expected)^2) expected 6. Calculate Chi-square = sum of the values from step 5. The degrees of freedom = (# rows - 1)x(# columns – 1). Find the p- value using the Chi-square table. Activity: Titanic survival data

5 Example 2: Titanic survival data grouped by class.

6 Null hypothesis: Class and survival are independent. In other words, everyone had the same chance of survival. Use the bootstrap method to estimate the proportions in the box based on the observed data. Null hypothesis: The proportion of “yes” in every class is the same as the overall proportion = 38%.

7

8 Chi-square = P-value =


Download ppt "Ch. 28 Chi-square test Used when the data are frequencies (counts) or proportions for 2 or more groups. Example 1."

Similar presentations


Ads by Google