The DHS Program User Forum      
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Stata code for mean duration of insusceptibility
Stata code for mean duration of insusceptibility [message #11901] Mon, 27 February 2017 17:57 Go to next message
schoumaker is currently offline  schoumaker
Messages: 33
Registered: May 2013
Location: Belgium

Has anyone Stata code to compute mean durations as published in "Table 5.6 Postpartum amenorrhoea, abstinence, and insusceptibility" ?

I am trying - and failing- to replicate the mean duration of postpartum insusceptibility, using the description in the guide to DHS statistics (p.75). The distribution of births and percentages I get are slightly different from the ones published, and my mean duration tends to be 1-2 months lower.



Bruno Schoumaker
Centre for Demographic Research
Université catholique de Louvain
Re: Stata code for mean duration of insusceptibility [message #11981 is a reply to message #11901] Wed, 15 March 2017 09:03 Go to previous messageGo to next message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 540
Registered: January 2013
Senior Member
Hi Bruno,

I don't know of Stata code for this, but I can share the CSPro code that is used for this, and perhaps you can work it out from that code. We might also have some SPSS code - I'll check these out and send them to you.

Cheers. Trevor
Re: Stata code for mean duration of insusceptibility [message #13576 is a reply to message #11981] Wed, 22 November 2017 03:41 Go to previous message
Michaelo is currently offline  Michaelo
Messages: 8
Registered: October 2017
Thanks Trevor. I will appreciate it much if could kindly share with the SPSS codes for the computation of percentage of births for which mothers are postpartum amenorrhoeic, abstaining, and insusceptible, by number of months since birth, and mean duration. I am using the Ghana dataset and would wish to observe the patterns as per some population sub groups.

Previous Topic: Using tfr2 to Calculate age specific marital fertility rate
Goto Forum:

Current Time: Wed Dec 13 02:34:19 Eastern Standard Time 2017