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: Creating a frequency distribution from matrix


From   "Coffey,Daniel J" <dcoffey@uakron.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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)
dcoffey@uakron.edu


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