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
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 messageGo to previous message
owraza is currently offline  owraza
Messages: 37
Registered: December 2013
Location: Nebraska, US
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Questions about calculating general fertility - Nigeria 2018 DHS
Next Topic: Appropriate 'weight'
Goto Forum:
  


Current Time: Tue Nov 26 18:19:40 Coordinated Universal Time 2024