The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=1459&th=876#msg_1459
I am using DHS data set and I am unable to locate the variable mother age at birth. How can i generate the variable?
regards
Patrick ]]>pkaburi2014-02-28T07:52:13-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=1461&th=876#msg_1461
Maternal age at birth is computed as follows: (B3-V011)/12.
You may also want to refer to The Guide to DHS Statistics. http://www.measuredhs.com/pubs/pdf/DHSG1/Guide_to_DHS_Statis tics_29Oct2012_DHSG1.pdf The document is bookmarked. Under the bookmark: III. Guide to Indivdual Statistics, the 4th bookmark under that section, you will find "Age at First Birth". You may also find the Standard Recode Manual http://www.measuredhs.com/pubs/pdf/DHSG4/Recode6_DHS_22March 2013_DHSG4.pdf useful as you look at the recode variables for your data.
Thank you.
]]>Liz-DHS2014-02-28T14:44:47-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=10836&th=876#msg_10836
I am working on BDHS 2014 data. I want to calculate 'mother's age at delivery' for the stillbirths. Could you please suggest me which dataset I need to use to calculate mother's age for the stillbirths- BR or IR? Does BR dataset contain any information for the stillbirths?
Regards,
Nisha]]>mnisha2016-09-23T01:21:17-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=10840&th=876#msg_10840
gen mage_deliv = int((b3 - v011)/12)
The only information on stillbirths is collected in the calendar, and presented in table 8.5 of the report. This is estimated based on any non-live births in the last five years reported in the calendar. The data for the calendar (vcal_1) can be found in the IR file.]]>Trevor-DHS2016-09-23T13:39:40-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=10842&th=876#msg_10842
I am trying to calculate inter-pregnancy interval (in months) for stillbirths from BDHS 2014 data. Could you please help me to find the right way to calculate that variable?
Regards,
Nisha]]>mnisha2016-09-23T14:23:19-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26108&th=876#msg_26108
I'm working on marriage to first birth interval (months) (v221 variable). I'm using PH model, for that I need event as first live birth, could you please help me to get that?]]>vkyni2023-02-08T17:23:20-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26143&th=876#msg_26143
Does "PH model" refer to the Philippines surveys, or does it mean something else?
The interval from first union or marriage to first (live) birth is given in months by v221, as you say. It can be negative, unlike all subsequent birth intervals. If it is negative, the code is 996. What else do you need? What do you mean by "event as first live birth"?
]]>Janet-DHS2023-02-10T17:06:32-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26150&th=876#msg_26150
The PH model refers to the Cox Proportional Hazard Model. In that model, my time variable is v221, and we also need to specify the event, so my event is the first live birth. So, how can we get a variable in binary form that refers to the number of first live births a woman had?
]]>vkyni2023-02-11T12:22:16-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26194&th=876#msg_26194
The term "birth" is synonymous with "live birth". A woman has had a first birth if she has had any births. The total number of births a woman has had is given by v201. There are no missing values for this variable. Women with v201=0 have had no births at all. Women with v201>0 have had a first birth. You can construct a binary variable that is 0 if v201=0 and 1 if v201>0.]]>Janet-DHS2023-02-15T16:31:00-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26953&th=876#msg_26953
]]>Koray2023-06-01T16:07:08-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26954&th=876#msg_26954
age of mother at birth is (b3-v011)/12, then take the integer part using the truncate function (trunc in Stata and SPSS).]]>Trevor-DHS2023-06-01T16:12:51-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26955&th=876#msg_26955
My variables of interest are the mother's age at birth and how it was weighted.]]>Koray2023-06-02T00:19:41-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26957&th=876#msg_26957
It appears that you tried to calculate mother's age at the birth using the IR (women's) file. In that file, b3 occurs many times, as b3_01, b3_02, etc., for the different births the woman had. You want to use the KR file, in which there is one record per child and b3 gives the cmc of birth of that specific child. Let us know if you still have a problem. ]]>Janet-DHS2023-06-02T14:52:16-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26959&th=876#msg_26959
code repository on GitHub. Go to Chap08_CM and then see the code in PMR.do that is used to produce table 8.4. This provides all of the details for how to calculate the perinatal mortality. You don't need to worry about using the KR file as Tom has suggested - that would apply if you are just looking at live births, but for perinatal mortality it is better to use the IR file.]]>Trevor-DHS2023-06-02T16:27:46-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26971&th=876#msg_26971
Koray2023-06-03T14:59:15-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26972&th=876#msg_26972
]]>Koray2023-06-03T15:00:52-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=26997&th=876#msg_26997
Trevor-DHS2023-06-07T23:13:14-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=27003&th=876#msg_27003
Your question does not really belong in this thread, but we will try to answer it if you can be more specific about where and why you want to calculate a chi2 test.
When doing a statistical test with DHS data, you need to take into account the design effects of clustering and stratification as well as weighting. Tests should be done with individual-level data, not with the aggregated data that is given in a typical two-way table of frequencies. You can test whether two categorical variables A and B are independent using svyset and svy: mlogit A i.B, which will produce a test statistic.
]]>Janet-DHS2023-06-08T17:33:38-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=27008&th=876#msg_27008
tabulate perina_death preg_interval [iw=v005/1000000], chi2
option chi2 not allowed
r(198);
]]>Koray2023-06-09T09:07:11-00:00Re: Mothers age at birth
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=27142&th=876#msg_27142
When doing a statistical test with DHS data, you need to take into account the design effects of clustering and stratification as well as weights. You can test whether two categorical variables A and B are independent using svyset and svy: mlogit A i.B . This will produce a test statistic for the model, which is equivalent to a test of the null hypothesis that A and B are independent.]]>Janet-DHS2023-06-20T15:22:47-00:00