{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

notes age specific fertility rates

# notes age specific fertility rates - Eco 572 Research...

This preview shows pages 1–3. Sign up to view the full content.

Eco 572: Research methods in Demography I will illustrate the computation of single-year fertility rates from survey data using two approaches, one based on an exact tally of events and exposure by age, and a simple approximate method. We will use WFS data from Colombia and compute rates for the three-year period before the survey. Here's our final product: As usual, we start by reading the data, an extract already prepared. . use http://data.princeton.edu/eco572/datasets/cofertx, clear (COSR02 extract) Tallying Events and Exposure We create variables bot and top to define the window of observation. Exposure starts 36 months before the survey or when the woman turns 15, whichever is later. . gen top = v007-1 . gen bot = v007-36 . gen turn15 = v008 + 180 . replace bot = turn15 if turn15 > bot (895 real changes made) http://data.princeton.edu/eco572/asfr.html (1 of 6) [2/12/2008 10:44:27 AM]

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Eco 572: Research methods in Demography . drop if bot > top // 15 on month of interview (15 observations deleted) A woman may contribute events and exposure to up to four different ages. The easiest way to handle this is to create a separate record for each year of age . gen agebot = int((bot-v008)/12) . gen agetop = int((top-v008)/12) // same as current age . gen nages = agetop-agebot+1 . gen id = _n To show exactly what's going on I'll list case 1 before and after the split . list v007 v008 agebot bot top agetop nages b012 b022 in 1 +---------------------------------------------------------------------+ | v007 v008 agebot bot top agetop nages b012 b022 | |---------------------------------------------------------------------| 1. | 917 532 29 881 916 32 4 890 No birth | +---------------------------------------------------------------------+ . expand nages (13841 observations created) . bysort id: gen age = agebot + _n - 1 . list v007 v008 id age bot top b012 b022 if id==1 +------------------------------------------------------+ | v007 v008 id age bot top
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}