
MATH 4720/MSSC 5720 Introduction to Statistics
Depending on the situation, one of the variables is the explanatory variable and the other is the response variable. (Discussed in Regression)
There is not always an explanatory-response relationship.
Examples:
height and weight
income and age
SAT/ACT math score and verbal score
amount of time spent studying for an exam and exam grade
Can you provide an example that 2 variables are associated?



plot(x = mtcars$wt, y = mtcars$mpg,
main = "MPG vs. Weight",
xlab = "Car Weight",
ylab = "Miles Per Gallon",
pch = 16, col = 4, las = 1)
cor(x = mtcars$wt,
y = mtcars$mpg)[1] -0.87
