Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: multiple observations


From   "fjc fjc" <fjc120@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: multiple observations
Date   Mon, 8 Sep 2008 08:35:18 -0300

Check help egen tag

Francisco.

On Mon, Sep 8, 2008 at 7:05 AM, Diddy Antai <diddy.antai@ki.se> wrote:
> Hello,
>     Could you help me with the command that creates a new
> variable "newid" that is 1 for the last observation for each
> individual and missing otherwise.
>
> I have a dataset with multiple observations (mothers), and I want to
> create a variable with each mother appearing once irrespective of the
> number of children she has.
> Thank you
>
> D
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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