A feature that varies across cases/observational units/units of analysis
Variable
an individual person/object whose features you are measuring and evaluating.
Case
What are the two tupes of variables?
What are the two types of numerical variables?
What are the two types of categorical variables?
In R, a table with cases and variables will be called a
dataframe
What are the three criteria of causality?
You control for other variables to rule out what?
spuriousness
Mediation/Indirect Effects
When X influences Z and Z influences Y. This does not mean X causes Y but there is an indirect pathway between X and Y
Mediator/Mechanism
A mediator is a variable that explains how or why two other variables are related in a cause-and-effect relationship. It serves as a middle step or pathway through which the independent variable (X) influences the dependent variable (Y).
Explain the difference between an indirect effect and a spurious relationship
Indirect: When X influences Z and Z influences Y
Spurious: When Z influences both X and Y making it seem like there is a relationship between X and Y.