Skip to content

Chi Square – Independence

You are currently viewing a sample of the Cram Kit. Click here to unlock everything.

A Chi Square Independence test is used to determine whether or not there's a significant association between two variables.

Scenario: Crammer Nation University just completed their Greek Life rush. Delta Apple Pi is curious whether the hat that a recruit wore during recruitment had an impact on their bid across all fraternities. They conduct a random sample of 85 recruits. Utilizing an alpha level of 0.05, compute a hypothesis test and determine whether these two variables are independent of one another.

Backwards hatNo hatBucket hat Total
Received bid2110839
Did not receive bid1326746
Total34361585
ClueInsight
The purple values are counts of data.This is a Chi Square test.
We're being asked to "determine whether these two variables are independent of one another."This means we'll run an Independence test.

Σ means the sum of each count.
obs means observed values.
exp means expected values (which we must calculate).

Backwards hatNo hatBucket hat Total
Received bid(34 x 39) / 85 = 15.6(36 x 39) / 85 = 16.518(15 x 39) / 85 = 6.88239
Did not receive bid(34 x 46) / 85 = 18.4(36 x 46) / 85 = 19.482(15 x 46) / 85 = 8.11846
Total34361585

X2 = [(21 - 15.6)2 / 15.6] + [(10 - 16.518)2 / 16.518] + [(8 - 6.882)2 / 6.882] + [(13 - 18.4)2 / 18.4] + [(26 - 19.482)2 / 19.482] + [(7 - 8.118)2 / 8.118]
X2 = [(5.4)2 / 15.6] + [(-6.518)2 / 16.518] + [(1.118)2 / 6.882] + [(-5.4)2 / 18.4] + [(6.518)2 / 19.482] + [(-1.118)2 / 8.118]
X2 = [29.16 / 15.6] + [42.484 / 16.518] + [1.250 / 6.882] + [29.16 / 18.4] + [42.484 / 19.482] + [1.250 / 8.118]
X2 = [1.869] + [2.572] + [0.182] + [1.585] + [2.181] + [0.154]
X2 = 8.543

We've got 2 rows and 3 columns!

df = (# of rows - 1) x (# of columns - 1)
df = (2 - 1) x (3 - 1)
df = (1) x (2)
df = 2

0.025 < p-value < 0.05

Answer: Given that the hat worn during recruitment and whether or not the recruit received a bid are truly independent, there'd be between a 2.5% and 5% probability of obtaining the observed counts that we did.

Activate AutoScroll