Week 3-Chi-Square
Week 3-Chi-Square
RECALL NOTES
ANALYZING RELATIONSHIPS
Contingency tables or crosstabulations: compares
nominal or categorical variables (but can include ordinal
variables)
N.B. tables contains counts (frequency data)
One variable on horizontal axis
One variable on vertical axis
Row and column total counts known as marginals
Use column and row percentages to look for relationships
💡CHI-SQUARE Cross tabulations and Chi-square are tests that can be used
STATISTICS AND to look for a relationship between two variables
REPORTING When the variables are categorical, so the data are
RESULTS nominal (or frequency)
For example, if we wanted to look at the relationship
between gender and age
Several different types of Chi-square, we will be using
the 2x2 Chi-square (2 columns, 2 rows)
Inferential stats and ‘p’
When testing if a relationship is significant
Test how likely is the null hypothesis
Null hypothesis is no relationship or no difference
How likely to make type 1 error- accept as true when
false (crying wolf)
Statistics calculate a probability of this error
We want this to be very small
‘p’ value
This is shown as e.g. “p=0.003”
p varies from 0 to 1
By convention we look for p<0.05
This is called the significance level of the test
(alpha)
1 in 20 or 5% chance or lower
o But can use p<0.01 if we want to be very sure
of our results
I.e., Reject null hypothesis if p<0.05