locally weighted regression. See discussion in Lab5.
The benefit of this command is it adds flexibility to the shape.
Play around with the bandwidth option to increase or decrease the flexibility.
Examples:
toway lowess wage fem, bwidth(.4)
twoway (scatter wage fem) (lfit wage fem) (lowess wage fem, /// bwidth(.4)), ti("Occupational Wages by Proportion Female") /// note("Source:CPS 2005") saving(lab4b, replace)
Categories: Lab4