Home » Topics » Fertility » Calculating fertility rates
Re: Calculating fertility rates [message #17996 is a reply to message #17995] |
Mon, 12 August 2019 10:34   |
schoumaker
Messages: 63 Registered: May 2013 Location: Belgium
|
Senior Member |
|
|
Hello,
For the most recent DHS, you can use the following syntax to compute the TFR and the standard error of the TFR by district, and to save them to an excel file. In this example, I compute it for 5-year windows to reduce standard errors.
I cannot tell you if these district-level estimates are trustworthy; you should look at the confidence intervals, documentation on sampling, etc.
For the 1999 Indian DHS, you would need to use an all-women factor, and to my knowledge they are not available for at the district level in the data file. You could compute them yourself, but there may be a good reason for not making them available in the data file.
Best regards,
Bruno
****
use "IAIR74FL.DTA", clear
putexcel set "tfr2_district.xls", replace
putexcel A1=("District") B1=("TFR") C1=("S.E.")
levelsof sdistri, local(levels)
local i=1
foreach d of local levels {
tfr2 if sdistri==`d', len(5) norates
local i=`i'+1
putexcel A`i'="`d'" B`i'=_b[TFR] C`i'=_se[TFR]
}
Bruno Schoumaker
Centre for Demographic Research
Université catholique de Louvain
|
|
|
Goto Forum:
Current Time: Tue Sep 26 19:35:32 Coordinated Universal Time 2023
|