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 'append' scalars and convert to a variable


From   Matthew White <[email protected]>
To   [email protected]
Subject   Re: st: how to 'append' scalars and convert to a variable
Date   Sun, 1 Jan 2012 10:44:01 -0500

Hi Steve,

I think -post- might be the way to go.

Best,
Matt

On Sun, Jan 1, 2012 at 10:39 AM, Steve Martin <[email protected]> wrote:
> I use -forvalues- to apply a block of code 100 times.  Each loop concludes
> with the generation of a scalar called S1.  This contains a number.
>
> Is it possible to 'append' the values in these numeric scalars to form a
> variable with 100 observations?
>
> Thanks.
>
> Steve
>
> *
> *   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/



-- 
Matthew White
Data Coordinator
Innovations for Poverty Action
101 Whitney Avenue, New Haven, CT 06510 USA
+1 434-305-9861
www.poverty-action.org

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