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:45:13 -0400

On Jul 25, 2006, at 4:26 PM, smerryman@kc.rr.com wrote:

Perhaps -tsfill- would help?
Scott,

I think -tsfill- must be right. The problem I'm having is that the panel I'm creating has, as an indicator variable, four variables: state name, age cohort indicator, race and sex. So, for instance, when I reshape the data, I use a nested reshape like this:

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

But when I attempt to -tsset- the data, I can't seem to use the same kind of nesting. When I simply use -tsset-, I use this:

. tsset fip year
repeated time values within panel
r(451);

Do you have any thoughts on this?

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