Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Collapseing by year

From   Lars Folkestad <>
To   "" <>
Subject   st: Collapseing by year
Date   Fri, 20 Jan 2012 15:18:58 +0100

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.


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index