Bookmark and Share

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]

st: RE: expanding observations


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: expanding observations
Date   Fri, 18 Nov 2011 10:11:48 +0000

This is an FAQ, referred to very recently on this list. 

FAQ     . . . . . . . . . . . . . . . . . . . . . . . Replacing missing values
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N. J. Cox
        9/05    How can I replace missing values with previous or
                following nonmissing values or within sequences?
                http://www.stata.com/support/faqs/data/missing.html

Nick 
[email protected] 

behailu ayele

I have a variable that has observations for the year 2009 but that has
empty entry for the previous year. What I want to do is fill in the
missing observations in 2008 with exactly those in 2009.  As you could
imagine, it will be tideous to do that by hand and I was wondering if
there is a smart way of doing that in stata.

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index