15 HypothesisTesting
15 HypothesisTesting
Outline
The Null Hypothesis
Type I and Type II Error Using Statistics to test the Null Hypothesis The Logic of Data Analysis
Example:
Do men and women differ in terms of conversational memory?
Example:
Women will have greater conversational memory than men
Hypotheses testing
When we test observed results against null:
We can make two decisions:
1. Accept the null
No significant relationship Observed results similar to the Null Hypothesis
2. Type II Error
Reality: Relationship Decision: Accept the null Believe your research hypothesis has not received support when in fact you should have rejected the null. Analogy: Find a guilty man innocent of a crime
1
3
2
4
T
Y
Correct decision
2
4
T
Y
1
3
2
Correct decision
T
Y
1
3
Type I Error
T
Y
1
Type II Error
2
4
T
Y
Correct decision
Type I Error
T
Y
Type II Error
Correct decision
the Null Hypotheses What is the probability of getting observed results if Null Hypothesis were true?
If results would occur less than 5% of the time by simple
4. Observe results
5. Statistics calculate probability of results if null
Statistical Power
The power to detect significant relationships
The larger the sample size, the more power The larger the sample size, the lower the probability of Type
II Error
Power = 1 probability of Type II Error
Statistical Analysis
Statistical analysis:
Examines observed data Calculates the probability that the results could occur by
Bivariate analysis
Two variables at a time (testing relationships)
Multivariate analysis
More than two variables at a time (testing relationships and
Variables
Dependent variable:
What we are trying to predict E.g., Candidate preference
Independent variables:
What we are using as predictors E.g., Gender, Party affiliation
Null hypothesis
Procedure
Null hypothesis
Procedure
Null hypothesis
Procedure
ANOVA
Can be used when nominal variable has more than two categories and can include more than one independent variable
Null hypothesis
Procedure
Test score
Hours spent studying Score is positively related to hours Classes missed spent studying and negatively related Multiple regression
to classes missed
Test score
relationship if:
Chance of Type I error is less than 5%
occurring by chance
Procedure Chi-square
T-test ANOVA
Pearsons R
ANCOVA Multiple Regression