Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: Re: st: data management question
From
"Airey, David C" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
re: Re: st: data management question
Date
Fri, 22 Apr 2011 19:29:46 -0500
.
I tried replacing 2004 with missing, so the mean using egen from 2001-2003 would be filled in that year without including that year. Thanks for the other tips.
> No; apart from the fact that you need -egen- to do this, this includes
> the values for 2004 in the average, which is not what is wanted. The
> -replace- will thus make no difference.
>
> Nick
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/