Related Articles
outcome variable
Outcome variable is a variable whose variation we are trying to explain.
explanatory variable
Explanatory variable is a variable we use to explain variation in an outcome variable.
Categorical Variable
A categorical variable is a variable that places observations into groups or categories. Instead of measuring “how much,” categorical variables describe “which kind.” Examples of Categorical Variables Variable Example Categories Eye color blue, ...
random assignment
Random assignment is a method of assigning subjects to one experimental condition or another; it helps us rule out confounding variables by ensuring that any variables that affect our outcome variable, whether positively or negatively, will balance ...
var()
The var() function computes the variance of a variable. Example: # Calculate the variance of Thumb var(Fingers$Thumb) # Alt: use 'data =' argument instead of '$' (produces same output) var(~Thumb, data = Fingers) Example output: