Statalist The Stata Listserver


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

Re: st: linear interpolation


From   Rafal Raciborski <[email protected]>
To   [email protected]
Subject   Re: st: linear interpolation
Date   Tue, 25 Jul 2006 17:06:51 -0400

scott, you may use

by fip year: gen N = _N
list if _N >1

to see the culprits. you will have to eliminate them somehow.

if your groups are uniquely identified by

fip age race sex

then you need to create some kind of an id variable for each such identified group, and then to -tsset id year- and finally �tsfill-. see help on -egen- with the group option to accomplish this task. note that it is quite likely to have, let's say, two white males aged 25 in the state of georgia so again the tsset based on id may fail. i am surprised you do not have something like a unique case id.

rafal


================
Rafal Raciborski
Graduate student
Department of Political Science
Emory University
301 Tarbutton Hall
1555 Dickey Drive Atlanta, GA 30322
404-315-7498 (home)
[email protected]
http://www.roofoos.net/



*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index