Twa kɔ nsɛm atitiriw so
Log in
Sign up for FREE
arrow_back
Laabri

[AP Statistics] 12.2b Chi Square Test for Independence

star
star
star
star
star
Last updated 11 months ago
31 Nsɛmmisa
1
1
1
1
1
1
1
1
1
1
1
1

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

First, we learned the Chi-Square test for Goodness of Fit. This test is used when you have 1 sample (Harvard Applicants in 2019) and 1 variable (Racial Identity).

Last time, we learned the Chi-Square test for Homogeneity, which is used when you have 2 samples (my two classes) and 1 variable (which test did you do best on?).

This time, we will lean the Chi-Square test for Independence, which is used when you 1 sample, and 2 variables.

All three have similar conditions and mechanics. The hypothesis/conclusions are worded a bit differently. We will work on distinguishing the three in a bit. Right now, you will learn the Chi-Square test for Independence.

Here is a link to the data (might load slowly)

https://docs.google.com/spreadsheets/d/1j5GRWrH8ikqMqwKi8Y9WHGjbxCPvL0_VkdBaeNMtU0g/edit#gid=0

Asemmisa {{asɛmmisaAhyɛnsode}}
1.
Asemmisa {{asɛmmisaAhyɛnsode}}
2.

Note: There is a key on the second sheet of the data explaining the codes

https://www.nyc.gov/site/nypd/bureaus/patrol/find-your-precinct.page

Asemmisa {{asɛmmisaAhyɛnsode}}
3.

Asemmisa {{asɛmmisaAhyɛnsode}}
4.

The goal of our study is to determine if there is an ASSOCIATION between race and use of force in our data.

We will use a Chi-Square test for Independence, which takes 1 sample (NY Police Stop/Frisk Data) and compare 2 Variables (Racial Identity and Police Force) and see if those variables are independent or associated within this sample.

In general terms, what is the null hypothesis of our study?

Asemmisa {{asɛmmisaAhyɛnsode}}
5.

In general terms, what is the alternative hypothesis of our study?

Asemmisa {{asɛmmisaAhyɛnsode}}
6.

All three Chi-Square Tests have the same conditions

What information do we need before we can check the Large Counts condition?

Asemmisa {{asɛmmisaAhyɛnsode}}
7.

Here is the class data (from last year)

What is the expected count for White/None? This is calculated the same way as last time.

Round to 1 place

Asemmisa {{asɛmmisaAhyɛnsode}}
8.

In order to finish checking our conditions, we want to input the data in our calculator.

Put the observed counts into Matrix A (2nd->Matrix->Edit->[A]) and then use the X2-Test on your calculator. Then open up Matrix B in Edit mode to see the results.

Do we meet the large counts condition?

Asemmisa {{asɛmmisaAhyɛnsode}}
9.

All calculations for this test work the same as the Test for Homogeneity. The main difference is the null/alternative hypothesis, shown above.

What is the X2 Test Statistic from this study?

Round to 1 place

Asemmisa {{asɛmmisaAhyɛnsode}}
10.

How many degrees of freedom?

Asemmisa {{asɛmmisaAhyɛnsode}}
11.

What is the p-value?

Round to two places

Asemmisa {{asɛmmisaAhyɛnsode}}
12.

What is your conclusion at the 0.05 level?

Ultimately, our sample size was too small to see a difference. Here is the data for the full dataset:

Even though the difference was statistically significant and an association was found, it does NOT mean that there is causation. Further studies are required to discount the effects of confounding variables.

Sample:

Asemmisa {{asɛmmisaAhyɛnsode}}
13.

STATE

Asemmisa {{asɛmmisaAhyɛnsode}}
14.

PLAN (will need to input data into your calculator to get the expected values)

Asemmisa {{asɛmmisaAhyɛnsode}}
15.

DO

Asemmisa {{asɛmmisaAhyɛnsode}}
16.

CONCLUDE

Asemmisa {{asɛmmisaAhyɛnsode}}
17.

Asemmisa {{asɛmmisaAhyɛnsode}}
18.

Explain

Asemmisa {{asɛmmisaAhyɛnsode}}
19.

Asemmisa {{asɛmmisaAhyɛnsode}}
20.

Explain

Asemmisa {{asɛmmisaAhyɛnsode}}
21.

Asemmisa {{asɛmmisaAhyɛnsode}}
22.

Explain

Asemmisa {{asɛmmisaAhyɛnsode}}
23.

Asemmisa {{asɛmmisaAhyɛnsode}}
24.

Explain

Asemmisa {{asɛmmisaAhyɛnsode}}
25.

Asemmisa {{asɛmmisaAhyɛnsode}}
26.

Asemmisa {{asɛmmisaAhyɛnsode}}
27.

Asemmisa {{asɛmmisaAhyɛnsode}}
28.

Asemmisa {{asɛmmisaAhyɛnsode}}
29.

Asemmisa {{asɛmmisaAhyɛnsode}}
30.

Asemmisa {{asɛmmisaAhyɛnsode}}
31.

Are there any problems above that you would like to go over in class? Indicate the question numbers below (Numbers refer to the Formative question number). I'll try to cover anything that is highly requested.