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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: How to total amounts by different values in a field?


From   Jumin Kim <jkim@collegeaccessfoundation.org>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: How to total amounts by different values in a field?
Date   Mon, 23 Apr 2012 09:08:27 -0500

This seems too simple of a problem, but I couldn�find a solution online. If I had the following dataset, and I�like to total the dollar amount by college (this is a student-level dataset), how would I go about doing this?

Thank you!
jumin 

dollar    college

3000     University of Southern California

500       Bates College

1290     Bates College

5000     Occidental College

1800     University of California-Berkeley

5000     Barnard College

3000     University of California-San Diego

3000     University of California-San Diego

3000     University of California-Santa Barbara

3000     University of Southern California

3500     University of California-Davis

3000     San Francisco Art Institute

3000     University of San Diego

3000     San Diego City College

3000     San Diego State University

3000     University of California-San Diego

3000     Washington University in St. Louis

3000     University of California-Davis

3000     University of California-Santa Barbara

3000     California  State University-Fullerton

3000     Mount St. Mary's College

3000     University of California-Los Angeles

3000     University of California-Los Angeles

3000     University of California-San Diego

3000     California State Polytechnic University-Pomona

3000     California State University-Fullerton

3000     San Diego State University

3000     University of California-Santa Barbara


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