## Welch t-Test
h0plot(t.test(extra ~ group, data = sleep))
h0plot(t.test(extra ~ group, data = sleep, alternative = "less"))
## Hsu t-Test
h0plot(hsu.t.test(extra ~ group, data = sleep))
h0plot(hsu.t.test(extra ~ group, data = sleep, alternative = "less"))
## Welch 1-Way ANOVA
h0plot(oneway.test(extra ~ group, data = sleep))
## F test to compare two variances
h0plot(var.test(extra ~ group, data = sleep))
## Bootstrap based Welch t-Test
h0plot(boot.t.test(extra ~ group, data = sleep, bootStat = TRUE))
h0plot(boot.t.test(extra ~ group, data = sleep, bootStat = TRUE,
alternative = "less"))
## Permutation based Welch t-Test
h0plot(perm.t.test(extra ~ group, data = sleep, permStat = TRUE))
h0plot(perm.t.test(extra ~ group, data = sleep, permStat = TRUE,
alternative = "less"))
Run the code above in your browser using DataLab