The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=107&th=63#msg_107
Do you have any resources on how to calculate these indicators particularly in Stata? Or any advice on how to use the weights for this data?
]]>DHS user2013-02-26T14:55:08-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=207&th=63#msg_207
Not sure if these suggestions will help, but thought I'd mention a couple of tricky parts.
First, did you divide all the weights by 1000000? It shouldn't make much of a difference, but I think it could lead to mathematically slightly different answers if Stata is trying to deal with really big weight numbers. Also, how are you actually weighting these? (I don't really know exactly how you should, other than it might involve the all woman factor, but seems like you'd have to re-calculate the denominator and numerator by summing across woman-years times weight instead of just the woman-years).
Second, getting the timing so that women-years are properly balanced between age-groups is tricky. The DHS method seems to truncate age to age-in-round-years, so maybe you are rounding differently than they do.
Third, there is another approach to calculating TFRs (and age-specific rates) that is a "person period" approach. You can find a discussion here http://paa2012.princeton.edu/papers/122446 but I don't think the package is totally ready yet (once it is, that will be handy). This will almost certainly not return the DHS numbers, and the interpretation is probably slightly different, but it's not clear to me that the DHS numbers are in any sense "better" than what you'd get from this method.
In general, it seems to be pretty hard to get exactly the numbers that the DHS gets. If yours are not meaningfully different (economically/epidemilogically/etc) from the published ones, it might just be an alogrythm thing about how Stata computes things and uses weights.
If you post a .do file, I might be able to take a look. I've found the process difficult myself, and maybe I could learn something from how you are trying to do it. Hope something here was helpful.
]]>Reduced-For(u)m2013-03-26T20:22:50-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=499&th=63#msg_499
The module and the paper presenting it can be downloaded from the Demographi Research journal's website (http://www.demographic-research.org/volumes/vol28/38/).
Best regards,
Bruno]]>schoumaker2013-05-30T13:51:30-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3859&th=63#msg_3859
Thank you!]]>amaustin2015-02-25T17:16:04-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3876&th=63#msg_3876
Beso,
Bruno]]>schoumaker2015-02-27T08:19:12-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3879&th=63#msg_3879
I also remembered them being available- but no luck.
All the best,
Anne]]>amaustin2015-02-27T16:28:28-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=3882&th=63#msg_3882
http://legacy.dhsprogram.com/accesssurveys/dataset_faqs.cfm
However, these programs are old and have limitations, so user beware. They should though give you enough information to reproduce the results in the reports.]]>Trevor-DHS2015-02-27T18:52:25-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=4434&th=63#msg_4434
annfitz2015-05-26T16:25:41-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=4436&th=63#msg_4436
have you used the individual recode data file (KEIR52FL)?
This is the result I get when running tfr2 with that file - and they match perfectly the rates published in the Kenya report (p.47).
Best,
Bruno
. tfr2
weight variable is v005
Preparing table of events and exposure for 3 year(s) preceding the survey
Period covered: 12/2005 to 11/2008
Central date is 2007.4636
Number of cases (women): 8421
Number of person-years (weighted): 23658.801
Number of events (weighted): 3609.3125
]]>schoumaker2015-05-26T18:34:14-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=10805&th=63#msg_10805
I want to calculate TFR of Pakistan DHS 2012-2013, as well as by place of residence, Region/Provincial background, level of education and by wealth status. Please let me know the command which if have to use to calculate this in TFR2 module package by bruno?
Thanks you.]]>mianrashid2016-09-19T08:38:56-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=10808&th=63#msg_10808
Here is a link http:// userforum.dhsprogram.com/index.php?t=msg&th=63&goto= 499&#msg_499 from Dr. Schoumaker previously posted on the forum on this subject.
Thank you!]]>Liz-DHS2016-09-19T12:51:20-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=10809&th=63#msg_10809
tfr2 computes rates for the 3 preceding years by default.
Just typing tfr2 will thus compute the rates for the three years preceding the survey
In Pakistan, you should be careful to use the correct all-women factors for sub-populations.
For instance, to compute rates for rural and urban areas, you can use the following command
by v025, sort: tfr2, awf(awfactu)
If you want to compute these rates for a 5- year period, it would become
by v025, sort: tfr2, len(5) awf(awfactu)
Best, Bruno
]]>schoumaker2016-09-19T13:00:59-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11060&th=63#msg_11060
what do I do?]]>Kirwana Venantius Bbaale2016-10-24T08:09:10-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11061&th=63#msg_11061
You can download it directly from Stata by typing
ssc install tfr2
Best regards,
Bruno]]>schoumaker2016-10-24T08:12:13-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11062&th=63#msg_11062
Kirwana Venantius Bbaale2016-10-24T11:41:01-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11063&th=63#msg_11063
Can you send the syntax and the output ?
Did you use the Individual Recode data file ?
Bruno]]>schoumaker2016-10-24T11:42:34-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11066&th=63#msg_11066
Quote:
. tfr2
weight variable is v005
Preparing table of events and exposure for 3 year(s) preceding the survey
Period covered: 8/2008 to 7/2011
Central date is 2010.1332
Number of cases (women): 28609
Number of person-years (weighted): 85763.883
Number of events (weighted): 42221.082
I used individual data sets
]]>Kirwana Venantius Bbaale2016-10-24T13:26:11-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11067&th=63#msg_11067
What is the name of your data file ?
Best regards,
Bruno]]>schoumaker2016-10-24T13:34:58-00:00Re: Calculating fertility rates
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11069&th=63#msg_11069
Bruno
. use "C:\12.DATA\DHS\IR\UGIR60FL.DTA", clear
. tfr2
weight variable is v005
Preparing table of events and exposure for 3 year(s) preceding the survey
Period covered: 8/2008 to 7/2011
Central date is 2010.1378
Number of cases (women): 8634
Number of person-years (weighted): 23918.096
Number of events (weighted): 4916.5352