Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: RE: RE: RE: RE: creating age at first birth from birth history data


From   Henry DOCTOR <HDOCTOR@navrongo.mimcom.net>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: RE: RE: RE: creating age at first birth from birth history data
Date   Tue, 27 Apr 2004 13:47:55 -0000

There is a variable which isolates those that were born in 1988 and those
with missing values (coded as 88).

         85 |        487        3.08       41.93
         86 |        526        3.33       45.26
         87 |        583        3.69       48.95
         88 |        650        4.12       53.07
         89 |        525        3.32       56.39
         90 |        722        4.57       60.96
         91 |        607        3.84       64.81
         92 |        610        3.86       68.67
         93 |        682        4.32       72.99
         94 |        692        4.38       77.37
         95 |        700        4.43       81.80
         96 |        711        4.50       86.30
         97 |        724        4.58       90.89
         98 |        638        4.04       94.93
         99 |        801        5.07      100.00
------------+-----------------------------------
      Total |     15,793      100.00
 

-----Original Message-----
From: Nick Cox [mailto:n.j.cox@durham.ac.uk] 
Sent: 27 April 2004 12:28
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: RE: RE: RE: RE: creating age at first birth from birth
history data

I have a substantive query in return, fired 
by idle curiosity. 

In your data for -year- (below) there is a big peak in 1988. 

On another variable, it seems that "88" 
was used to code missing, as you excluded
it from tabulation. Is it possible
that the real 88s for -year- (i.e. born in 1988) 
have got mixed up with missings (coded 88) ? 

Nick 
n.j.cox@durham.ac.uk 

Henry DOCTOR
 
> Perfect! Your suggestions worked!!
> > 
> > I have the following variables: 
> > 
> > Age of mother, all pregnancies the mother has had (starts 
> > with last born and
> > ends with first born), birthday for each child, an indicator 
> > variable for
> > the child number which runs from 0 to the last child. So, I 
> > want the reverse
> > order for the list of children (first born to last born). 
> > 
> > 
> > tab year (year child was born)
> > 
> >  year child |
> >        born |      Freq.     Percent        Cum.
> > ------------+-----------------------------------

snip 

> >          73 |        112        0.66       17.11
> >          74 |        109        0.64       17.76
> >          75 |        151        0.89       18.65
> >          76 |        174        1.03       19.67
> >          77 |        207        1.22       20.90
> >          78 |        256        1.51       22.41
> >          79 |        253        1.49       23.90
> >          80 |        399        2.35       26.25
> >          81 |        348        2.05       28.31
> >          82 |        347        2.05       30.35
> >          83 |        481        2.84       33.19
> >          84 |        509        3.00       36.19
> >          85 |        487        2.87       39.07
> >          86 |        526        3.10       42.17
> >          87 |        583        3.44       45.61
> >          88 |      1,806       10.65       56.26
> >          89 |        525        3.10       59.36
> >          90 |        722        4.26       63.62
> >          91 |        608        3.59       67.21
> >          92 |        610        3.60       70.80
> >          93 |        682        4.02       74.83
> >          94 |        693        4.09       78.92
> >          95 |        700        4.13       83.05
> >          96 |        711        4.19       87.24
> >          97 |        724        4.27       91.51
> >          98 |        638        3.76       95.27
> >          99 |        801        4.73      100.00
> > ------------+-----------------------------------
> >       Total |     16,951      100.00

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index