Statalist


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

Re: st: multiple observations


From   "fjc fjc" <[email protected]>
To   [email protected]
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 <[email protected]> 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index