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, statalist.org is already up and running.


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