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   "Steve Martin" <stephen.martin@york.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: how to 'append' scalars and convert to a variable
Date   Sun, 1 Jan 2012 15:55:21 -0000

Thanks Matt!

Steve

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Matthew White
Sent: 01 January 2012 15:44
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: how to 'append' scalars and convert to a variable

Hi Steve,

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

Best,
Matt

On Sun, Jan 1, 2012 at 10:39 AM, Steve Martin <stephen.martin@york.ac.uk>
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/


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