Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Re: st: data management question

From   "Airey, David C" <>
To   "" <>
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:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index