Practicing Statistics Interview Questions in R
Zuzanna Chmielewska
Actuary
Two-tailed test: $$ H_0:\text{ }\mu_1 = \mu_2$$ $$ H_1:\text{ }\mu_1 \neq \mu_2$$
where:
$\mu_{1}$ - the first population's mean
$\mu_{2}$ - the second population's mean
The two-sample t-test's assumptions:
The two-sample t-test's assumptions:
bartlett.test()
Two-sample t-test
t.test(value ~ group, data = df, var.equal = TRUE)
Two-sample t-test
t.test(value ~ group, data = df, var.equal = TRUE)
Paired t-test
t.test(value ~ group, data = df, paired = TRUE)
t.test()
in RPracticing Statistics Interview Questions in R