Comparing Means of Two Groups in R

Comparing Means of Two Groups in R
Featured

Comparing Means of Two Groups in R

Course description

This course provide step-by-step practical guide for comparing means of two groups in R using t-test (parametric method) and Wilcoxon test (non-parametric method).

  1. Comparing one-sample mean to a standard known mean:
    • One-Sample T-test (parametric)
    • Wilcoxon Signed Rank Test (non-parametric)
  2. Comparing the means of two independent groups:
    • Independent Samples T-test (parametric)
    • Wilcoxon Rank Sum Test (non-parametric)
  3. Comparing the means of paired samples:
    • Paired Samples T-test (parametric)
    • Wilcoxon Signed Rank Test on Paired Samples (non-parametric)

Additionally, we describe the sign test, an alternative to the paired-samples t-test and the Wilcoxon signed-rank test, in the situation where the distribution of differences between paired data values is neither normal (in t-test) nor symmetrical (in Wilcoxon test).

Related Book

Practical Statistics in R II - Comparing Groups: Numerical Variables



Version: Français

Lessons

  1. This chapter describes how to compute and interpret the different t-test in R including: one-sample t-test, independent samples t-test and paired samples t-test.
  2. This chapter describes how to compute and interpret the wilcoxon test in R. This test is a non-parametric alternative to the t-test for comparing two means. You will learn how to compute the different types of Wilcoxon tests in R, including: One-sample Wilcoxon signed rank test, Wilcoxon rank sum test and Wilcoxon signed rank test on paired samples. We will also show how to check the assumptions and compute effect size.
  3. The Sign test is used to compare the medians of paired or matched observations. It is an alternative to the paired-samples t-test and the Wilcoxon signed-rank test in the situation, where the distribution of differences between paired data values is neither normal (in t-test) nor symmetrical (in Wilcoxon test). In this chapter, you will learn how to compute paired-samples sign test in R

No Comments

Give a comment

Want to post an issue with R? If yes, please make sure you have read this: How to Include Reproducible R Script Examples in Datanovia Comments

Teachers