Re: Next Birth After Abortion [message #18706 is a reply to message #18659] |
Fri, 31 January 2020 15:52 |
Courtney-DHS
Messages: 6 Registered: June 2018 Location: Rockville, Maryland
|
Member |
|
|
Hello,
To estimate how many children a woman has at the time of abortion, here is the approach I would use in the BR file:
Check to if children pass 1 of 2 conditions:
1) If a woman has had an abortion (s234==3), look to see which births came before the date of the abortion (b3<v231) and make sure that child is alive (b5==1)
2) If the child is not alive (b5==0), check to see if the date the child died was after the abortion. To find this you could add the estimated age in months at death to the cmc date of birth, b7 + b3, and see if that is more than the date of abortion.
- I would then sum the children who passed these conditions and collapse the dataset by women.
There may be many ways to do this, but I think this approach would likely work.
I hope this helps and please post a response if you have any questions or to share your solution with others!
|
|
|