© Matt Wiley, Joshua F. Wiley 2020
M. Wiley, J. F. WileyBeginning R 4 https://doi.org/10.1007/978-1-4842-6053-1_8

8. Correlation and Regression

Matt Wiley1  and Joshua F. Wiley2
(1)
Victoria College, Victoria, TX, USA
(2)
Turner Institute for Brain and Mental Health, Monash University, Melbourne, Australia
 
So far, you have worked with one variable at a time. From exploratory data analysis (EDA) to detecting normality, the focus has been on a single variable such as flipper lengths or ages. Your first steps in predictive analytics – normal probabilities and z-scores – were also for only a single variable. While tallies and counts of a single variable are quite useful, predictive analytics often seeks to understand the relationship between two or more ...

Get Beginning R 4: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.