2-04 Non-Linear Models - Quadratic and Polynomial Models
2-04 Non-Linear Models - Quadratic and Polynomial Models
Feb 4
Topic for today
Non-linear models – Quadratic and Polynomial models
What we did last class
1. Should we care about getting our fitted values to be as close
as possible to observed values?
2. What happens when two or more independent variables are
correlated with each other?
3. What happens when we add irrelevant variables to our
model?
4. What should we be suspicious of when judging the results of a
regression analysis?
Questions we want to answer today
1. How do we estimate non-linear relationships between X and
Y?
2. How does the interpretation of coefficients change with non-
linear estimation?
3. How do we find ‘turning points’ in non-linear relationships?
Age (x-axis) and life satisfaction (y-axis)
Non-Linear Relationships in OLS
Though OLS is also known as linear regression, it can fit some
non-linear models :
• X values can be squared, cubed, etc.
• s cannot be subjected to a non-linear function
• Non-linearity in variables is feasible with OLS.
• Non-linearity in parameters is not feasible with OLS.
• This is “misspecification
bias”.
• It is a special case of
omitted variables bias.
• What is the omitted
variable in this case?
Coefficient interpretation
• In non-linear model, the effect of X changes
depending on the value of X
• Use calculus to calculate the effect (by taking derivative of Y
with respect to X)
• For Yi = b0 + b1Xi + b2Xi2 + ei the predicted effect of a one unit
increase in X is
b1 + 2b2Xi
S S
• Predicted change depends on
year: