The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » TFR and ASFR at state level using TFR2 in STATA
TFR and ASFR at state level using TFR2 in STATA [message #8906] Tue, 12 January 2016 13:50 Go to next message
Adil is currently offline  Adil
Messages: 3
Registered: January 2016
Location: Italy
Member
I want to find regional level TFR and ASFR for Pakistan DHS data in STATA. If some one could help me to know the command in tfr2 please (urgent please)
Regards
Adil
Re: TFR and ASFR at state level using TFR2 in STATA [message #8908 is a reply to message #8906] Tue, 12 January 2016 20:43 Go to previous messageGo to next message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

I believe that if you want to use TFR2 to calculate fertility rates at the regional level, you could just open your dataset, keep the observations from one region, run TFR2, get the results, and then repeat for other regions. I do not believe (at least since I last checked) that TFR has a specific command to use sub-samples, but you don't really need it - just keep the observations from one region, run and repeat for the other regions.

You should definitely check the sample sizes for each region though, because these estimates are likely to be fairly noisy (and check the DHS report for the Pakistan dataset you are using to make sure that it was designed to be representative at the regional level).
Re: TFR and ASFR at state level using TFR2 in STATA [message #8915 is a reply to message #8908] Wed, 13 January 2016 12:05 Go to previous messageGo to next message
Adil is currently offline  Adil
Messages: 3
Registered: January 2016
Location: Italy
Member
Many Thanks.
Re: TFR and ASFR at state level using TFR2 in STATA [message #9337 is a reply to message #8915] Tue, 15 March 2016 07:53 Go to previous message
owraza is currently offline  owraza
Messages: 31
Registered: December 2013
Location: Tehran
Member
In doing sub-group analysis, you need to take care of 'all women factor'. The method described above is completely valid as far as you manage to use correct variable for all women factor in that split file.

Other way of doing sub-group analysis, as described by author of tfr2, is to use following code line:

use "C:\Users\PKIR61FL.DTA", clear
by v024, sort: tfr2 [pweight=v005], len(3) ageg(5) bvar(b3_*) dates(v008) wbirth(v011) awf( awfactr )

Regards
Previous Topic: compute key figures
Next Topic: Succeeding birth interval
Goto Forum:
  


Current Time: Wed Jun 23 13:50:19 Coordinated Universal Time 2021