Applied statistics 101 using R: Comparing two means with z-tests and t-tests
Discuss this preprint
Start a discussion What are Sciety discussions?Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
R is a free and open-source programming language that consists of a base package and various add-on packages that enhance its functionality. Z-tests and t-tests are statistical methods for comparing two means. Options in R for computing these tests include the base package, BSDA, DescTools, effectsize, and rstatix. Analysis of variance, or ANOVA, is also introduced as an alternative method for comparison of two means. This tutorial demonstrates how to use these methods in R.