Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: re: Odd egen=(max) problem <--SOLVED


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: re: Odd egen=(max) problem <--SOLVED
Date   Tue, 3 Jun 2003 19:13:17 -0500

----- Original Message ----- 
From: "Hoetker, Glenn" <ghoetker@uiuc.edu>
To: <statalist@hsphsun2.harvard.edu>
Sent: Monday, June 02, 2003 2:08 PM
Subject: st: re: Odd egen=(max) problem <--SOLVED


> Well, I'm truly baffled, but at least the problem cited in my earlier
> message has been solved.  I didn't want anyone to spend additional time
> on it.
>
> At the offline suggestion of an insightful person, I erased the dataset
> in question and recreated it from the underlying data.  To my eyes, the
> datasets look exactly the same, but egen worked as anticipated with the
> new set.  Perhaps there was some sort of odd corruption.
>
> Anyway, I'll try that trick again next time such a problem arises.
>

Glenn,

You might find Tony Brady's -xfill- useful to repeat values in a panel data
setting.  It can be download within Stata:
net from http://www.sealedenvelope.com/


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