Professional Documents
Culture Documents
Study Unit 3 - Hypothesis
Study Unit 3 - Hypothesis
Mean of 1 population,
① Hypothesis: Ho: mu = x. vs Ha: mu >,<,!= x
② Assumptions: Normality
Graphically: QQ-Plot • Histogram • Box plot
Formally: Shapiro Wilk Test: shapiro.test(X)
③ Test : t.test (x, alternative = "two-sided"/"greater"/“less", mu = x)
Hypothesis
6
Assumptions
Graphically
a o os
p DoNotRejectHo
Dataarenormallydistributed
Test
a DNR
p
Means of 2 independent populations,
i
① Hypothesis:
② Assumptions:
• Normality : shapiro.test(pooled) with a pooled sample
• Variances: var.test(x,y)
③ Test : t.test (x, y, alternative = “less", var.equal = TRUE)
Hypothesis
e
Assumptions
Normality Variances
a DNR
p p a DN
Test
s a
p
i Reject Ho
Means of 2 dependent populations,
① Hypothesis:
② Assumptions:
• Normality : shapiro.test(difference) or graphically ( qq, histo, box)
③ Test : t.test (x1, x2, paired = TRUE)
or t.test( X~grp, paired=TRUE)
or t.test(Xd) where Xd = X2 - X1
Hypothesis
Assumptions
Just to showthemethod
Normality Based onanotherexample as theexampleabove assumes normality
Test
0
OR
O
OR
a
O p
a DNRHo