I'm using PSID data focusing only on women. I have year that the woman is breastfeeding but they are inconsistent for some of the women because I don’t have the exact birth year of the child in the main PSID file. For example for this woman:
ID year childage_months childage_yrs year_breastfeedingR
579 1995
579 1996
579 1997 88.9 7.408333 1990
579 1998
579 1999
579 2000
579 2001
579 2002 155.28 12.94 1989
579 2003
579 2004
579 2005
579 2006
579 2007 219.12 18.26 1989
579 2008
579 2009
579 2010
I used year_breastfeedingR =round(( year – childage_yrs), 1) and I did childage_yrs = childage_months/12
I’m not sure what to do here because if the child age in 1997 is 7.4, the child age in 2002 should be around 12.4 and then 17.4 in 2007 and so the year_breastfeedingR should be 1990 rather than 1989. Is there a way to fix this by using the child age in 1997 as my reference point (and then fill in the rest according to the year, help on how to do this would be appreciated as well!) but some women didn’t get interviewed in the 1997 child development supplement (which has the question about child age in years and breastfeeding) and have the child age for the first time in 2002 or 2007.
Any help would be greatly appreciated! Thanks.
ID year childage_months childage_yrs year_breastfeedingR
579 1995
579 1996
579 1997 88.9 7.408333 1990
579 1998
579 1999
579 2000
579 2001
579 2002 155.28 12.94 1989
579 2003
579 2004
579 2005
579 2006
579 2007 219.12 18.26 1989
579 2008
579 2009
579 2010
I used year_breastfeedingR =round(( year – childage_yrs), 1) and I did childage_yrs = childage_months/12
I’m not sure what to do here because if the child age in 1997 is 7.4, the child age in 2002 should be around 12.4 and then 17.4 in 2007 and so the year_breastfeedingR should be 1990 rather than 1989. Is there a way to fix this by using the child age in 1997 as my reference point (and then fill in the rest according to the year, help on how to do this would be appreciated as well!) but some women didn’t get interviewed in the 1997 child development supplement (which has the question about child age in years and breastfeeding) and have the child age for the first time in 2002 or 2007.
Any help would be greatly appreciated! Thanks.
Comment