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: RE: RE: automate selection of variables and observations from multiple CSV


From   Argyn Kuketayev <[email protected]>
To   [email protected]
Subject   Re: st: RE: RE: automate selection of variables and observations from multiple CSV
Date   Mon, 14 Mar 2011 15:28:19 -0400

var names are not an issue, because there's a variable of time period.
so the monthly values will be 'stacked', and i can find them by
matching the time period.

On Mon, Mar 14, 2011 at 3:22 PM, David Radwin <[email protected]> wrote:
> On second thought, rather than renaming variables, a much better idea
> would be to -generate- a variable that contains the year and month. Then
> you can -reshape- if necessary.
>
> David
>
>> -----Original Message-----
>> From: [email protected] [mailto:owner-
>> [email protected]] On Behalf Of David Radwin
>> Sent: Monday, March 14, 2011 12:16 PM
>> To: [email protected]
>> Subject: st: RE: automate selection of variables and observations from
>> multiple CSV
>>
>> You can use a combination of for* loops in this fashion. You may also
> want
>> to -rename- some variables to include their month and year.
>
> *
> *   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/
>



-- 
Argyn Kuketayev
Manager, Quantitative Analytics, Primatics Financial

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