Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Frequencies and string variables


From   Robin Newberry <wnewber@clemson.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Frequencies and string variables
Date   Tue, 24 Feb 2004 08:42:10 -0500

Here's a dumb newbie question: how do I generate frequencies of string variables?

What I have is data with gender coded as "M" or "F", and I want to know the relative frequencies. Were I in SAS, I'd use Proc Freq, but the same approach doesn't seem to worth with Stata. A little help, please?
--
Robin
--------------------------------------------------------------
W. Robert Newberry, IV CIH, CHMM
Chief Environmental Health and Safety Officer
Clemson University

wnewber@clemson.edu ehs@clemson.edu
http://ehs.clemson.edu/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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   |   What's new   |   Site index