Quadratic Model
A regression with and , so the effect of rises then falls (negative squared coefficient) or falls then rises (positive). The marginal effect is and the turning point is .
When to use
Use it when you expect the relationship to change direction, and test relevance by the significance of the squared term; keep the linear term in the model. In Assignment 4 the visits squared term had so it was not significant, and in Assignment 5 experience peaks at about 15.4 years.
See Lecture 9 and Lecture 13. Worked in Assignments 4 and 5.