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: load additional variable in stata


From   Michael Stewart <michaelstewartresearch@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: st: load additional variable in stata
Date   Thu, 31 Oct 2013 08:51:08 -0400

Hi Marten  and Nick,

Thank you very much for your quick answers. As both of you have said,
I will go with the merge option after adding id_variable.
Thanks again for your time.



On Thu, Oct 31, 2013 at 8:26 AM, Nick Cox <njcoxstata@gmail.com> wrote:
> -input- is an answer in principle, but useless in practice for your situation.
>
> In practice, if J variables will fit in memory, and J + K variables
> will fit in memory, then read in those J + K all at once. Anything
> else, e.g. a -merge- with the extra K variables, is likely to be much
> more work.
>
> Perhaps I am missing something here...
>
>
> Nick
> njcoxstata@gmail.com
>
>
> On 31 October 2013 11:58, Michael Stewart
> <michaelstewartresearch@gmail.com> wrote:
>> Hi ,
>>
>> I am working with large  dataset and it takes a while to load the
>> dataset. Hence, I have resorted to using relevant variables by stata
>> commands
>> use varlist using xxx.dta
>>
>> My question: One I have loaded lets say var1 var2 var3 into stata ,
>> how is it possible to load one additional variable into stat memory
>> without clearing the memory.
>>
>> --
>> Thank you ,
>> Yours Sincerely,
>> Mike.
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/



-- 
Thank you ,
Yours Sincerely,
Mike.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index