Statalist The Stata Listserver


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

st: 'sophisticated' subscripting


From   "Davide Cantoni" <davide.cantoni@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: 'sophisticated' subscripting
Date   Sun, 27 May 2007 13:11:41 -0400

Dear all,

I have an (unbalanced) panel of cities, with their respective
populations over a series of years. Now I want to generate a new
variable that gives me, for each city, the population of that city in
1700. Due to the unbalanced nature of the panel, it is NOT the case
that 1700 is the first (or nth) observation within group, so that
subscripting within groups is not going to help me in this case. Any
suggestions?

Thanks,

Davide
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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