jmbejara / comp-econ-sp19

Main Course Repository for Computational Methods in Economics (Econ 21410, Spring 2019)
48 stars 26 forks source link

HW4 Q6 Real_Wages #41

Closed sicelyli closed 5 years ago

sicelyli commented 5 years ago

When I'm comparing my df.describe with the one provided in the question, all other columns are correct except the "real_wage" column. I think there could be an issue with the way I set up the real wage column, but I'm not really sure what the problem is. Screen Shot 2019-05-06 at 12 09 47 AM Screen Shot 2019-05-06 at 12 10 00 AM

jmbejara commented 5 years ago

You're not correcting for inflation when you calculate real_wage.

sicelyli commented 5 years ago

I just changed the numerator from "INCWAGE" to "real_incwage" and it works. Thank you!