Statalist The Stata Listserver

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

Re: st: linear interpolation

From   Rafal Raciborski <>
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 Raciborski
Graduate student
Department of Political Science
Emory University
301 Tarbutton Hall
1555 Dickey Drive Atlanta, GA 30322
404-315-7498 (home)

* For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index