Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Argyn Kuketayev <akuketayev@mail.primaticsfinancial.com> |
To | statalist@hsphsun2.harvard.edu |
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 <dradwin@mprinc.com> 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: owner-statalist@hsphsun2.harvard.edu [mailto:owner- >> statalist@hsphsun2.harvard.edu] On Behalf Of David Radwin >> Sent: Monday, March 14, 2011 12:16 PM >> To: statalist@hsphsun2.harvard.edu >> 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/