The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » total fertility rate
total fertility rate [message #30733] Wed, 29 January 2025 13:49
hajiramzammal@gmail.com is currently offline  hajiramzammal@gmail.com
Messages: 3
Registered: January 2025
Member
how to calculate the total fertility rate using DHS.rates package as I always encounter this error message and it results in 0 tfr. If anybody knows plz help...

TFR_result <- fert(PKIR61FL, Indicator = "tfr", JK = "Yes")

The current function calculated TFR based on a reference period of 36 months
The reference period ended at the time of the interview, in 2013 OR Oct - NA 2012
The average reference period is 2011.5
Warning message:
In fert(PKIR61FL, Indicator = "tfr", JK = "Yes") :
Birth History variables b3_01:b3_20 are not complete; the missing variables were created
> # Print results
> View(TFR_result)
> # Print results
> print(TFR_result)
TFR SE N WN DEFT RSE LCI UCI iterations
[1,] 0 0 40523 40535 NaN NaN 0 0 498
>
Previous Topic: Reporting Median Value for age at first amrriage and first sex in DHS
Goto Forum:
  


Current Time: Thu Jan 30 12:43:21 Coordinated Universal Time 2025