Hello guys,
I am so glad I found this forum, as I am new to work with STATA and I am struggling a lot right now. If anyone could help I would very much appreciate it.
QUESTION:
I am trying to analyse data of Chinese Health and Nutrition Survey, in the survey, age of children was expressed like this:
I want to get age of children,and the interview date is 891220, so I use"if b_date<=890000, gen age=b_date-890000",but I can't get the right answer. So how should I do?
And I need to split the age into age groups of 0-1year, 1-2 years, 2-4 years. I have no clue.
Please help, I feel very helpless.
Thanks!
I am so glad I found this forum, as I am new to work with STATA and I am struggling a lot right now. If anyone could help I would very much appreciate it.
QUESTION:
I am trying to analyse data of Chinese Health and Nutrition Survey, in the survey, age of children was expressed like this:
And I need to split the age into age groups of 0-1year, 1-2 years, 2-4 years. I have no clue.
Please help, I feel very helpless.
Thanks!
Comment