Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index