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: Question about subscripting


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Question about subscripting
Date   Wed, 4 Jan 2012 10:03:41 +0000

Only yesterday Matthew White referred you to

SJ-2-1  pr0004  . . . . . . . . . . Speaking Stata:  How to move step by: step
. . .  N. J. Cox        Q1/02   SJ 2(1):86--102

Also,

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

Nick

On Wed, Jan 4, 2012 at 9:40 AM, Dudekula, Anwar <[email protected]> wrote:

> I have seen  subscripting being used as x[1], x[2]......x[n]...x[N]
>
> If I am working with subgroups( ordered by date) and I need to repalce  values of x by first non-missing value, how do i write the subscripting.

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