The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nepal » Nutritional status of women
Re: Nutritional status of women [message #23383 is a reply to message #23325] Wed, 01 September 2021 10:04 Go to previous messageGo to previous message
ChinweAU is currently offline  ChinweAU
Messages: 4
Registered: August 2021
Member
Hello Shireen,

Thank you so much. I have tried the code and I got the same figures as well.

Now I am trying to clean up the dataset to exclude those that were pregnant and with less than 2 month old birth from my analysis but I am getting 14,867 instead of 12,728.

I used the following code to drop the cases:

//excluding pregnant women and less than 2 months since last birth
drop if (v213==1 | age<2)

summarize bmi

//Dropping outliers
drop if bmi<12.00
drop if bmi>60.00

summarize v438
drop if v438<1300
drop if v438>2200

Please assist me.

Thank you.

Kind regards

Chinwe Uzokwe
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DHS 1996, 2001, 2006 village names
Next Topic: Replicating some variables
Goto Forum:
  


Current Time: Wed Nov 27 01:46:47 Coordinated Universal Time 2024