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]

Re: st: How many observations can Stata 11 handle?


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How many observations can Stata 11 handle?
Date   Wed, 15 Feb 2012 09:28:38 -0500

On Wed, Feb 15, 2012 at 8:42 AM, Tunga Kantarcı <tungakantarci@gmail.com> wrote:
> Here is a short question. What is the maximum number of observations
> that Stata 11 can handle? I have an administrative data set which
> includes observations for about 3 million unique individuals, for 20
> variables. SPSS did open this data set but Stata 11 could not open it.
> I plan to draw a sample from the data set using SPSS and transfer the
> data to Stata 11 with the Stat-transfer data conversion program. So I
> would like to know the maximum number of observations that Stata 11
> can handle. Accordingly I will draw a sample using SPSS with the
> maximum number of observations that Stata can handle.

Check your memory settings first:

memory
set memory 640m

This should suffice for variables stored as doubles (8 bytes x 3M
observations x 20 variables = 480Mb, plus some 33% overhead). If you
indeed have "War and Peace" coded as string variables, with one
observation per paragraph, then things will certainly get more
complicated, as other people have indicated, but that's hardly a good
way to treat this masterpiece.

-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

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