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: Creating a frequency distribution from matrix
From
"Coffey,Daniel J" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Creating a frequency distribution from matrix
Date
Wed, 9 Nov 2011 12:39:50 -0500
Hello
I am working on a dataset of internet user comments to online newspaper articles. In one database, I have arranged the dataset such that each row represents a specific newspaper article and the columns represent coding of individual user comments. Each comment is coded on a 1-5 scale, so the cells all represent observations on the same coding scale. There are 200 cases (newspaper articles) but a varying number of comments per article (some stories less than 5 comments, while others have 500 or more comments).
The question I have is simple but something I will need for future analysis of the dataset. That is, is there a way to quickly create a frequency distribution for the whole dataset? The columns aren't really variables, but just a way to track comments efficiently. So, I want STATA to treat all of the cells as one single variable without having to manually copy each row into a single column.
Any advice would be greatly appreciated.
Daniel J. Coffey, Ph.D.
Associate Professor
Department of Political Science
Fellow, Bliss Institute of Applied Politics
University of Akron
(330-972-7983)
[email protected]
*
* 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/