Applied statistics 101 using R: Correlation and regression
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 statistical programming language that consists of a base package and add-on packages that replicate or enhance the base package’s capabilities. Pearson’s correlation measures relationships between variables. Linear regression predicts one variable from another, while multiple regression uses more than one predictor. This paper serves as a resource for students and instructors for computing correlation and regression analyses in R. Readers will learn to compute Pearson’s correlation, simple and multiple regression, check assumptions, and visualize results using base R, psych, easystats, and other packages.