Statalist The Stata Listserver


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

Re: st: linear interpolation


From   Scott Cunningham <scunning@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: linear interpolation
Date   Tue, 25 Jul 2006 16:55:27 -0400

Rafal,

Thanks for taking the time help me on this. The problem I appear to be having is the nature of the panel. It starts like this:

+----------------------------------------------------------------------- ----------+
| fip age race sex year ir |
|----------------------------------------------------------------------- ------------|
1. | Alabama 15 White Male 1980 .data
2. | Alabama 15 White Female 1980 .data
3. | Alabama 15 Black Male 1980 .data
4. | Alabama 15 Black Female 1980 .data

...

To reshape the data, I have to use a nested reshape option like this:

reshape wide ir, i(fip age race sex) j(year)

But I can't seem to find a similar option in -tsset-.

sc
*
* 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