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, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: -collapse- command

From   Abhimanyu Arora <>
Subject   st: -collapse- command
Date   Wed, 16 Jun 2010 17:32:46 +0200

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?

*   For searches and help try:

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