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: STATA command equivalent to SPSS "aggregate"?


From   Joerg Luedicke <joerg.luedicke@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: STATA command equivalent to SPSS "aggregate"?
Date   Tue, 19 Mar 2013 10:58:09 -0400

I don't think this is true. If I remember correctly, "break variables"
are variables that you would specify with -collapse-'s -by()- option.

Joerg

On Tue, Mar 19, 2013 at 10:21 AM, Frank Lopresti <fl2@nyu.edu> wrote:
> I don't think collapse does all aggregate does,  collapse doesn't seem
> to allow you to create a aggregated file with several break variables.
>  I guess you could accomplish this with a second collapse.
>
> On Tue, Mar 19, 2013 at 9:35 AM, Scott Holupka <scott.holupka@jhu.edu> wrote:
>> As a long-time SPSS user I had the same question the other day and the
>> -collapse- command worked fine.
>>
>> Scott
>>
>>
>> -----Original Message-----
>> From: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Judith Saebel
>> Sent: Tuesday, March 19, 2013 9:12 AM
>> To: statalist@hsphsun2.harvard.edu
>> Subject: RE: st: STATA command equivalent to SPSS "aggregate"?
>>
>> Hi Richard,
>>
>> Thanks for the suggestion.  I'll have to explore this.
>>
>> Sincerely,
>>
>> Judith
>>
>> -----Original Message-----
>> From: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Richard Williams
>> Sent: Tuesday, 19 March 2013 23:16
>> To: statalist@hsphsun2.harvard.edu
>> Subject: Re: st: STATA command equivalent to SPSS "aggregate"?
>>
>> If i remember my SPSS, You probably want -collapse-.
>>
>> Sent from my iPad
>>
>> On Mar 19, 2013, at 8:40 AM, Judith Saebel <clickjls@esc.net.au> wrote:
>>
>>> Dear All,
>>>
>>> In STATA (version 11), is there an equivalent to the SPSS command
>>> "aggregate" please?
>>>
>>> Many thanks in advance for any advice.
>>>
>>> Sincerely,
>>>
>>> Judith Saebel
>>>
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index