set verbose off open cps91.gdt # restrict the sample to women in the labor force smpl inlf > 0 --restrict # add the square of experience to the dataset series exper2 = exper^2 # dollar-wage equation ols hrwage const educ exper exper2 # log-wage equation ols lwage const educ exper exper2