The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Error in computing TFR from DHS.rates package
Re: Error in computing TFR from DHS.rates package [message #26014 is a reply to message #26008] Fri, 27 January 2023 07:28 Go to previous messageGo to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 893
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

I suspect the problem is that the case identifiers in all the India surveys must include the region variable, which is hv024 in the PR file and v024 in the IR file. The easiest way to take this into account could be as follows. Open the IR file and construct a new variable for cluster, called v001r, which is all combinations of v024 and v001 (in Stata this would be "egen v001r=group(v024 v001)"). Then replace v001 with v001r and save with a different filename. Run the rates program on this file. Please let us know whether this does or does not work.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calculation of Sex ratio at birth and chld sex ratio using DHS survey
Next Topic: mean age of a women at any given parity
Goto Forum:
  


Current Time: Fri Nov 29 11:20:46 Coordinated Universal Time 2024