Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: st: U.S. Census Data


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   AW: st: U.S. Census Data
Date   Thu, 6 May 2010 17:03:07 +0200

<> 


But careful with such examples: They do not say much about Nate`s problem as
you are creating the default data type after -gen- which is "float". It
occupies 4 bytes, as in http://www.stata.com/support/faqs/data/howbig.html.
Strings in particular could change the picture.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Abdel Rahmen El
Lahga
Gesendet: Donnerstag, 6. Mai 2010 16:49
An: statalist@hsphsun2.harvard.edu
Betreff: Re: st: U.S. Census Data

This basicaly a memory problem. Stata can handle bigger data set. YOu
say nothing about your OS nor the maximum RAM of your computers
In my iMac with 4G RAM the following code works fine
. clear*

. set mem 3g
(3145728k)

. set obs 30000000
obs was 0, now 30000000

. foreach i of numlist 1/15 {
  2. gen x`i'=rnormal()
  3. }

.
end of do-file

Abdel

2010/5/6 Nate Breznau <nbreznau@bigsss.uni-bremen.de>:
> I am wanting to end my usage of SPSS, and in general have successfully
done
> so; however, in a project working with U.S. Census data I need to use a
> datafile that has over 30 million cases and 15 variables. This is the
> smallest version I can use for my purposes. Is there any way to alter
Stata
> to work with such a monster file? I've pushed it to its maximum allowed
> memory and its not enough.
>
> I thank anyone kindly for any advice, no matter how dismal.
>
> -Nate
>
> --
> PhD Fellow
> Social Integration and the Welfare State
> BIGSSS
> FVG W1150
> 0421 218 66384
>
> *
> *   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/
>



-- 
AbdelRahmen El Lahga

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index