Statalist


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

st: multiple observations


From   Diddy Antai <[email protected]>
To   [email protected]
Subject   st: multiple observations
Date   Mon, 08 Sep 2008 12:05:03 +0200

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/



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