Data [message #27409] |
Wed, 09 August 2023 03:30 ![Go to next message Go to next message](/theme/default/images/down.png) |
Khawar
Messages: 19 Registered: April 2023
|
Member |
|
|
Dear Expert,
I am working on the Pakistan DHS data set for 20172018. I need province-wise data for the total number of children ever born. What is the code for province-wise total number of children ever born data?
Regards.
|
|
|
Re: Data [message #27439 is a reply to message #27409] |
Mon, 14 August 2023 11:52 ![Go to previous message Go to previous message](/theme/default/images/up.png) |
Bridgette-DHS
Messages: 3152 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS staff member, Tom Pullum:
In the women's recode file, the IR file, the number of children ever born is v201. The variable for region, which in Pakistan is the province, is v024. In Stata, the weighted means of v201 within categories of v024 is given by the command "tab v024 [fweight=v005], summarize(v201) means". There are other ways to get these means but be sure to use weights.
|
|
|