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]

Re: st: how to repeat a value?


From   kantor.d@att.net
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to repeat a value?
Date   Fri, 15 Jul 2011 09:03:44 -0700 (PDT)

Hi.

Also see -carryforward- on SSC.

ssc desc carryforward
ssc inst carryforward

HTH
--David



----- Original Message ----
From: Nick Cox <njcoxstata@gmail.com>
To: "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Sent: Thu, July 14, 2011 6:59:47 PM
Subject: Re: st: how to repeat a value?

See also

http://www.stata.com/support/faqs/data/missing.html

Nick



On 14 Jul 2011, at 20:43, Richard Goldstein <richgold@ix.netcom.com>  
wrote:

> -replace var_name=var_name[_n-1] if var_name==""-
>
> Rich
>[...]


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