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   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How many observations can Stata 11 handle?
Date   Wed, 15 Feb 2012 09:54:12 -0500

Stas--
I'm afraid I have to strongly disagree; I look forward to the day when
I can read all the classics in Stata, and I no longer have to cart
around books and e-readers.  There are only minor technical problems
to work out (e.g. limit of 65,536 codings per value label, displaying
multiple alphabets); see also help label_language but no mention of
Cyrillic there (still no Unicode).

clear
input str15 v1 str15 v2 str15 v3
"Eh bien," "mon prince," "so Genoa"
"and Lucca" "are now" "no more than"
"family estates" "of the" "Bonapartes."
end
foreach v of var _all {
 encode `v', g(s`v')
 drop `v'
 }
compress
prog drop _all
prog def readrows
 version 8.2
 di
 forv i=1/`=_N' {
 foreach v of var _all {
 di `"`: lab (`v') `=`v'[`i']'' "' _c
 }
 di
 }
 end
readrows


On Wed, Feb 15, 2012 at 9:28 AM, Stas Kolenikov <skolenik@gmail.com> wrote:

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