Notes 20
Notes 20
Ha: μd > 0 (μ1 –μ2>0) Ha: : μd ≠ 0 (μ1 –μ2≠0) Ha: μd <0 (μ1 –μ2<0)
upper-sided two-sided lower-sided
Test Statistics: Z or t
Hypothesis Test for Population
Difference in Means (H0: μ1 – μ2 =0)
Hypothesis Test for Population
Difference in Means (H0: μ1 – μ2 =0)
Case 1: Two independent Populations –
Population Variances Known
Attributes Test Statistic Confidence Interval
Example
Estimating Difference in Mean Walking Distance
between Two Physical Therapy Programs.
Physical Therapy 1
4 Sessions
(1 hour/day)
Patients Undergoing
Total Knee Randomize
Replacement
Physical Therapy 2
2 Sessions
(2 hour/day)
Reject H0 if __________________
Rejection Rule
H0: μ=μ0(p=p0)
Ha: μ>μ0(p>p0)
Ha: μ≠μ0(p≠p0) Ha: μ<μ0(p<p0)
upper-sided
two-sided lower-sided
Reject H0
Reject H0 Reject H0
if Z≥ Z1-α
if Z≥ Z1-α/2 (t≥ t1-α/2,df) if Z≤- Z1-α
(t≥ t1-α, df)
or Z≤- Z1-α/2 (t≤- t1-α/2,df ) (t≤- t1-α,df)
Example
Idea 3: Hypotheses testing(HT): Is there a
significant difference between two physical therapy
programs (at 5% sign.)?
4-day program: n1=18
2-day program: n2=16
Step4: Decision:
n1<30 or n2 <30
df=n1+n2-2
Common Standard
Deviation Estimate
Example
To improve medical students' analytic skills a
new curriculum implemented across medical
school.
New curriculum may be differentially effective
among male and female students.
To evaluate, random sample of male and female
students who completed the new curriculum are
selected and given a test to assess their analytic
skills.
Example
Question: Is there a significant Difference in Mean
Number of problems Solved Between Males and
Females?
Male: n1=15
Female: n2=12
Step1:
Parameter:
H0: Ha:
Significance level α =_______
Example
Question: Is there a significant Difference in Mean
Number of problems Solved Between Males and
Females?
Male: n1=15
Female: n2=12
Step 2:
Assumptions:
Test Statistics:
Hypothesis Test for Population
Difference in Means (H0: μ1 – μ2 =0)
Case 2:
n1<30 or n2 <30
df=n1+n2-2
Common Standard
Deviation Estimate
Example
Question: Is there a significant Difference in Mean
Number of problems Solved Between Males and
Females?
Male: n1=15
Female: n2=12
Test Statistics: t = 4.43
Step 4: Decision Rule:
Reject H0 if _______________
Example
Question: Is there a significant Difference in Mean
Number of problems Solved Between Males and
Females?
Male: n1=15
Female: n2=12
Step 3: Decision:
Reject H0 Fail to Reject
Example
Question: Is there a significant Difference in Mean
Number of problems Solved Between Males and
Females?
Male: n1=15
Female: n2=12
Step 5: Conclusion:
Based on two independent samples of n1=___ and
n2=___, there ____significant evidence , at α = _____,
to conclude that ______________________________