Professional Documents
Culture Documents
12 Chi Square and Odds Ratios
12 Chi Square and Odds Ratios
AND
ODDS RATIOS
Semester Recap
We’ve covered:
Descriptive Statistics Statistical Concepts
Measures of Central Tendency Statistical Significance
Measures of Variability Type I and Type II Error
Z-scores and Graphing Alpha and p-values
Association and Prediction Beta and power
Correlation Effect Sizes
Regression (simple and multiple)
Testing for Group Differences
t-tests (one, indep., and paired)
ANOVA (One-way, factorial,
ANCOVA, RM ANOVA
Last weeks…
All of the statistical tests on the prior slide are known
as ‘parametric’ statistics
Parametric Statistics have strict assumptions that must be
met before a t-test, correlation, etc… can be used
Assumes homoscedasticity of variance (variance between
two variables are similar)
Assumes a normal distribution (bell-shaped curve)
These assumptions are not easily met
For example, we’ve used physical activity in several of our
examples this semester – physical activity is RARELY
normally distributed…
Nationally Representative Sample of Minutes of
Daily Physical Activity
Positive Skew
PA
Additionally…
Sometimes you need to use a dependent variable that is
categorical (grouping)
Recall from the chart that the statistical tests we’ve
discussed all require 1 continuous dependent variables
Example Research Question:
Are there more male than female athletic trainers across the
United States?
I want to know if there are more men than women – this is a
nominal dependent variable
No correlation, regression, or ANOVA, etc… will help
me answer this simple question
Non-Parametric Tests
Non-parametric tests can be used when:
Parametric tests statistical assumptions are not met
Categorical DV’s are used
Men 68 32
Sex
Women 42 58
A 2x2 table provides a nice summary of the data
In this example, ‘Sex’ is the IV and ‘Heart Attack’ is the DV
Does male/female increase risk of heart attack?
This table provides frequency of occurrence
Can also convert to percentage – you will get the same result
SPSS View
Data Structure:
Key variables are categorical
Can look at the data labels or
values:
Males = 1
Females = 2
HeartAttack Yes = 1
HeartAttack No = 2
Look at Labels and Values:
SPSS View
Data Structure:
Key variables are categorical
Can look at the data labels or
values:
Males = 1
Females = 2
HeartAttack Yes = 1
HeartAttack No = 2
Chi-Square Data ‘Picture’
Heart Attack?
Cause of Death in
Men and Women Yes No
Men 68 32
Sex
Women 42 58
You should fill out the margins of the table (how many
men, women, total n, heart attacks, other causes, etc…
Do on board
How the Chi-Square works…
Heart Attack?
Cause of Death in
Men and Women Yes No
Men 68 32
Sex
Women 42 58
The χ2 test has a null hypothesis that there is no difference in the frequency of
men/women having heart attacks
If the two variables are unrelated (independent), we would expect men and women
to have the about same number
But, we need a statistical test to know if this difference is RSE
How to run
Chi-Square
It is CRITICAL you put the variables in the correct spots
Typically the IV goes in the Row Then click on ‘statistics’
And DV goes in the Column
It doesn’t really
change the answer
– but it makes it
easier for you to
understand the
results
What else is there?
The ‘cells’ tab will allow
you to request percentages
in each cell, to go along
with the frequencies
The ‘format’ tab will allow
you to change the
organization of your table
E.g., put ‘Females’ on the
top row, or put ‘No Heart
Attack’ in the left column
SPSS Output
SPSS provides two initial tables:
1) Case Processing Summary: Ignore, repeat info of…
2) CrossTabs Table (our 2x2):
Men 68 32
Sex
Women 42 58
Back to our example
What is the ratio of these odds, or odds ratio?
2.125 / 0.724 = 2.9 = OR
Interpretation:
Men are 2.9 times more likely to have a heart attack
than women (we know it’s significant because of the
χ 2)
Heart Attack?
Cause of Death in
Men and Women Yes No
Men 68 32
Sex
Women 42 58
More on odds ratios
Interpreting odds ratios can trip up some students:
For example, 2.9 is the odds ratio for men vs. women
Men are 3 times more likely than women
Being a man is a ‘risk factor’ for heart attack
What is the odds ratio for women vs. men?
0.724 / 2.125 = 0.34
Women are one-third as likely to have a heart attack than men
Being a woman is ‘protective’ of a heart attack
Odds Ratios:
> 1.0 indicate an increased risk
< 1.0 indicate a decreased risk
= 1.0 indicate the SAME risk
Another Example: Lung Cancer
Lung Cancer?
Cause of Death in
Men and Women Yes No
Men 6 64
Sex
Women 16 201
First, notice that way more women had lung cancer
But – there are way more women in this sample
I’ll run a chi-square in SPSS to see if there is a
difference…
Lung Cancer Chi-Square results
χ2 = 2.451, df = 1, p = 0.456, n = 287
Is there a difference in the frequency of lung cancer
between men and women?
Lung Cancer?
Cause of Death in
Men and Women Yes No
Men 6 64
Sex
Women 16 201
More on Odds Ratios
1) Take care in setting up your 2x2 table – this can
make it really easy to calculate the odds and
understand your chi-square or really hard