Bookmark and Share

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]

Re: st: -collapse- command


From   Abhimanyu Arora <[email protected]>
To   [email protected]
Subject   Re: st: -collapse- command
Date   Wed, 16 Jun 2010 17:34:57 +0200

Sorry, pls ignore the city variable for simplicity

On Wed, Jun 16, 2010 at 5:32 PM, Abhimanyu Arora
<[email protected]> wrote:
> Dear statalist
>
> I have 4 variables country, year,type of riot, no. of riots and would
> like to finally have country, year, riots where riots are sum across
> all types.
> I tried using collapse country city (sum) riots, by (year) but get a
> type mismatch error. Any suggestions?
>
> Abhimanyu
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index