w3 Flashcards
Dummy Variable
binary representation of a class of a categorical independent variable; 1 if true, otherwise 0. There should (num of classes - 1) dummy variables.
Baseline Class
the class of a categorical variable represented by zero(s)
Interpret Dummy_female having a coefficient of -105.3 on monthly insurance bill
“When is a person is female, their insurance bill is $105.3 less than if they were male.”
Class
possible value of a categorical variable.
Dummy Variable Trap
num of class = num of dummy variables; redundant.
Quadratic Equation
y = B0 + B1X + B2X + e
Piecewise step function
piecewise step function to predict values. Looks like stair steps. Visualize it.
Piecewise Linear Splines
Have knots, each knot is a bend or change in direction of the curve, looks like lightning.
Regression Discontinuity
Linear Line with a sudden jump up or down somewhere on the line; used to track the effect of a ‘“Treatment Term”