Probability and Hypothesis Testing
Probability and Hypothesis Testing
sample population
statistic parameter
mean X μ
variance s2 σ2
standard
s σ
deviation
Sampling distribution of means
Consider 3 different types of distributions:
1 population distribution
20,000 students
Grip strength of university students
2 sample distribution
(100 subjects)
1. Population distribution
- data from which sample is chosen
1. Texas Hold’em
3. Weather
4. Flipping a coin
5. Rolling a die
Inferential statistics and probability
Probability forms the basis for inferential statistics and statistical conclusions.
Hypothesis Testing:
• Allows you to determine if the sample is representative of the
population
• Allows you to determine if groups are from the same population or
from different populations
N = 200
N = 100
•
Using sampling distribution of means
z score of -1 to +1:
68.26% (0.6826)
35 36 37 38 39 40 41 42 43 44 45
-3 -2 -1 0 +1 +2 +3
Table C.1 -3 -2 -1 0 +1 +2 +3
Using sampling distribution of means
What is the probability of having a sample mean between 38 – 42 kg?
35 36 37 38 39 40 41 42 43 44 45
-3 -2 -1 0 +1 +2 +3
-3 -2 -1 0 +1 +2 +3
Using sampling distribution of means
35 36 37 38 39 40 41 42 43 44 45
• Formulate an question
• Formulate a hypothesis Communicate Develop a
the Results Research Plan
• Design an experiment
• Execute the experiment
Analyze & Conduct the
Evaluate Data Study
• Analyze the results Hypothesis testing
• Draw conclusion
• Formulate a new hypothesis
STUDY DESIGN DICTATES WHAT STATISTICAL APPROACH IS USED TO ANALYZE YOUR DATA
Each bullet point influences the subsequent bullet point
Hypothesis Testing
Significance Level:
• Probability is used to define the sample means as being too unlikely to represent the
underlying raw score population (rare event)
i.e. This sample is NOT from this population.
• As a researcher, you choose the α value (either 5% or 1%). As a KIN232 student, you will
always be told/given the α value to use. Working with an α value of 1% is what we call
being more conservative because it will be harder to have a mean that is NOT from the
population. In other words, it will be harder to find a significant difference between
means/groups.
Graphically: α = 0.05, one tailed α = 0.01, one tailed
5% 1%
One tail = directional, examines a higher mean or lower mean (examine one only)
2.5% 2.5%
0.5% 0.5%
Two tailed = non–directional, examines a difference. We’re not sure if the mean should be higher or lower than
the population mean. Therefore, we examine both possibilities
Converting alpha and 1 or 2-tails into z score
2.5%
α = 0.01, two tail (z = 2.58)
2.5%
0.5% 0.5%
Most conservative
Hypothesis testing - 7 steps
NOTE – THIS IS SIMPLY AN EXAMPLE. You will see specific aspects of each step with
the various types of analyses we will examine.
Example:
Is the starting salary of University of Waterloo graduates higher than other Ontario
University graduates who average $50,000?
Questions you must ask yourself when reading the descriptions of the study (this one is simple, they will get
more complex).
Is there a reference to a population or a comparison being made to a population?
Is randomization mentioned?
How many groups are there?
Is there a control group?
Is there an independent variable (or more than 1)? How many levels of the independent variable are there?
Is there directionality (e.g., lower, higher, smaller, larger) or not (altered, difference, change)?
Is there a pre-test and post-test?
Is there repeated measures?
1 2 3 4 5 6 7
State State Rejection
α level Calculate Decision Conclusion
null alternate rule
Recall the question: Is the starting salary of University of Waterloo graduates higher than other Ontario
University graduates who average $50,000?
μ: University of Waterloo mean salary
1. Ho : μ: = μo
μo: Other Ontario Universities mean salary
Recall the question: Is the starting salary of University of Waterloo graduates higher than other Ontario
University graduates who average $50,000?
2. H1: μ > μo
University of Waterloo graduates have a higher starting salary than the $50,000
average of other Ontario University graduates.
1 2 3 4 5 6 7
State State Rejection
α level Calculate Decision Conclusion
null alternate rule
You will be told whether to use 0.05 or 0.01. The only decision you need to
make is whether it is a one or two tailed test.
1 2 3 4 5 6 7
State State Rejection
α level Calculate Decision Conclusion
null alternate rule
4. using Table C.1, α = 0.01 / one tail How you structure the rejection rule is dependent
on several things:
• What type of statistical test you are performing
zcritical = + 2.33 • Is it a one tail or two tail analysis
• What is your data? What I mean by that is it
blood pressure (reduction is good), is it
reject Ho : if the test statistic > or = zcritical hypertrophy (more muscle is better), is it memory
loss (more is bad)
retain Ho : if the test statistic < zcritical
This is the math side of things – we will have to do some (t-tests, confidence
intervals and Chi square). Other you will be given the output from the
calculations and you have to interpret the results.
1 2 3 4 5 6 7
State State Rejection
α level Calculate Decision Conclusion
null alternate rule
Possibility 2: If test statistic is < zcritical (+ 2.33) then, retain null hypothesis
1 2 3 4 5 6 7
State State Rejection
α level Calculate Decision Conclusion
null alternate rule