R Code for Calculation of Total Wanted Fertility Rate [message #29970] |
Sun, 01 September 2024 18:29 |
nima
Messages: 1 Registered: September 2024
|
Member |
|
|
Hello, hope you're having a good day.
I have been having a hard time filtering out children in BR file on the basis of wantedness described in DHS Statistics Guide book. The book says a preceding child is considered living at the time of conception if it was born before the date of conception and a) is living at the time of the survey or b) died at or before the date of conception (calculations based on century month codes). If the resulting number is less than the ideal number of children, the birth after it is considered wanted. I have written too many codes but I have not managed to flag the children on the basis of the wantedness criterion provided by the book. It'd be really helpful if you coud provide me with an R code to calculate total wanted fertility rate.
[Updated on: Mon, 02 September 2024 16:47] Report message to a moderator
|
|
|