VITRI WIDYANINGSIH
Hipotesis
Hipotesis merupakan jawaban sementara terhadap masalah penelitian, dimana sudah
dimunculkan hubungan antar variabel dan dinyatakan dalam kalimat deklaratif
◦ Hipotesis Nol (Null Hypothesis) 🡪 H0
◦ Merupakan hipotesis pada uji statistic, dimana kita mengasumsikan tidak adanya hubungan antar variable, atau tidak ada beda
antar kelompok
◦ Misal: Tidak ada beda rerata (mean) kadar hemoglobin sebelum dan sesudah terapi zat besi
Sedang hipotesis
satu arah, kita
Hipotesis dua arah
mencari Zα untuk
0.05 = 1.64
11
Power (1-β)
▪ The power of a test (1 – β) is the
probability of rejecting the null
hypothesis when it is false (correct
decision when the null is false).
▪ The power of a test is one minus the
probability of making Type II error
(β)
▪ Ordinarily, we wish to use the test
statistic that provides the most
powerful test among all possible
tests.
12
P value
▪ The p-value is defined as "the probability of obtaining a test statistic at least as
extreme as the one we actually observed, given the null hypothesis is true".
▪ The p-value indicates how consistent the observed data is with the null
hypothesis of no difference.
▪ The significance level (or alpha level) is the cutoff value chosen by the
investigator to decide whether a given p-value is statistically significant or not.
▪ When the P value is less than or equal to alpha, the result is deemed "statistically
significant", and the null hypothesis is rejected.
▪ When the P value is greater than alpha, there is insufficient evidence to reject the
null hypothesis (the result is not statistically significant).
UJI BEDA RERATA
(COMPARING MEANS)
VITRI WIDYANINGSIH
Contoh rumusan masalah
Adakah perbedaan kadar hemoglobin antara ibu bekerja dengan ibu tidak bekerja?
◦ Variabel terikat berskala kontinue
◦ Variabel bebas berskala kategorik (2 kelompok) Independent T test
Adakah perbedaan kadar hemoglobin sebelum mendapat terapi zat besi dengan sesudah terapi
zat besi?
◦ Variabel terikat berskala kontinue Paired T Test
◦ Variabel bebas berskala kategorik
◦ Dua kelompok sampel berhubungan (pre-post test, berpasangan/matched)
Uji T independen
Uji T independent digunakan untuk mengetahui
apakah ada perbedaan rerata (mean)
Syarat uji T adalah variable terdistribusi normal pada
masing-masing kelompok
H0 : μ1 = μ2
H1 : μ1 ≠ μ2
with S =
S2 : Estimate of
Common Var
19
Decision
Critical value method:
If t > t n1+n2-2, 1-α/2, or t < - t n1+n2-2, 1-α/2 then
reject H0
If - t n1+n2-2, 1-α/2 ≤ t ≤ t n1+n2-2, 1-α/2 then
fail to reject H0.
p-value:
p = 2 Pr (t n1+n2-2 ≤ t), if t <0
P = 2 Pr (t n1+n2-2 > t), if t > 0
Group practice
Steps for equal variance :
Run normality test
Hypothesis testing for T
test
- Calculate T statistics
- Compare with t
distribution
Group practice