Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: working with large datasets


From   Adrian de la Garza <[email protected]>
To   statalist <[email protected]>
Subject   st: RE: working with large datasets
Date   Mon, 11 Feb 2008 16:45:42 -0500

Dear all,

I think I found an answer to my first question. I can type:

use var1 var2 var3 using filename.dta

to extract var1, var2, and var3 from the file. I figured I can even write things like:

use var1 var2 var3 using filename.dta if var1 == 1

in order to limit the number of observations I work with, and hence reduce the file size I use to work with Stata.

I think this looks pretty good, but let me know if you know of any other method that may be preferable. Also, let me know if you have an answer to question 2 below.

Best,
Adrian


> From: [email protected]
> To: [email protected]
> Subject: working with large datasets
> Date: Mon, 11 Feb 2008 16:31:34 -0500
>
>
> Hello!
>
> Do you guys know how I can work with a very large dataset (30 Gb) in Stata? The dataset is in a text format, and I'd like to know:
>
> 1. How I can extract a few variables or delete observations that don't meet certain criteria; and
>
> 2. if it's possible to work with the entire dataset in Stata.
>
> Thank you very much in advance!
>
> Cheers,
> Adrian
> _________________________________________________________________
> Connect and share in new ways with Windows Live.
> http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008

_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index