jmbejara / comp-econ-sp19

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

Handling data that is "Missing or ___" #33

Closed IshaanW closed 5 years ago

IshaanW commented 5 years ago

I'm working through the guided cleaning of the IPUMS CPS dataset and am removing missing/NIU values. For the variable 'EDUC', the documentation has the following codings:

002: None or preschool 000: NIU or no schooling

How should we treat codes like these that might be coded as Nan but may also be indicating real values?

jmbejara commented 5 years ago

Good question. It looks like 000:NUI or no schooling isn't available for the ASEC samples anyway.

image

The code 002: None or preschool should be left in because it indicates whether the person has no formal education or only at least preschool. (At least that's how I read it.)