The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Pregnancy in last 5 years (How to calculate in pregnancy in last 5 years)
Re: Pregnancy in last 5 years [message #23746 is a reply to message #23735] Tue, 23 November 2021 09:26 Go to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

You can use our standardized code available at https://github.com/DHSProgram for this table. Specifically you would need the code in the CM_PMR.do file if you are using Stata: https://github.com/DHSProgram/DHS-Indicators-Stata/tree/mast er/Chap08_CM

The same file is also available in SPSS: https://github.com/DHSProgram/DHS-Indicators-SPSS/tree/maste r/Chap08_CM
As well as R: https://github.com/DHSProgram/DHS-Indicators-R/blob/main/Cha p08_CM/CM_PMR.R

Please read the readme file on the main site before running any of this code.

Thank you.
Best,
Shireen Assaf
The DHS Program
 
Read Message
Read Message
Previous Topic: Information about length of Maternity History and Health History across countries
Next Topic: List of surveys with abortion information
Goto Forum:
  


Current Time: Sat Nov 30 05:15:25 Coordinated Universal Time 2024