[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Collapseing by year
Dear List
I have a dataset where i have patient id and birth year.
I would like to have my data set up so that i have
Birth year number_of_persons_born_this_year
I think i have to use the collapse function, but i cannot figure out how.
Thank you.
lars
*
* 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/