I have a dataset provided to me of people's weights and all missing values where the person didn't get weighed are coded as text "NULL".
Stata doesn't recognise this data and so I can't do anything with the variable.
When I try to replace weight=. if weight=="NULL" I get type mismatch.
How do I solve this?
Stata doesn't recognise this data and so I can't do anything with the variable.
When I try to replace weight=. if weight=="NULL" I get type mismatch.
How do I solve this?
Comment