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]
st: Is -collapse- the Stata's fastest routine to summarize data sets?
From
"Tiago V. Pereira" <[email protected]>
To
[email protected]
Subject
st: Is -collapse- the Stata's fastest routine to summarize data sets?
Date
Sat, 10 Jul 2010 16:22:44 +0300 (BRT)
thank you very much again, Eric! I really appreciate your kind help!
Yes, the issue now is to figure out a efficient way to generate a single
indicator.
Cheers!
Tiago
> Many, many thanks Eric!
>
> Yes, -tabout- really seems to be much faster than -collapse-. However, I
> could not figure out how to make it work when one has n categorical
> variables, and wants to summarize continous variables taking all possible
> combinations of the n categorical variables.
>
> -collapse- does that using the by() option.
>
> Thanks again!
>
> Tiago
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --------------------------------
> Dear Statalister,
>
> I am eager to know any faster alternatives to -collapse-, because I have
> to summarize relatively large data sets for a simulation study. -profiler-
> is telling me that most of the computation burden comes from -collapse-.
> Do you know (have) any faster alternative? Perhaps a plug-in?
>
> Thanks!
>
> Tiago
>
>
>
>
>
*
* 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/