Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Graphing a string variable


From   Colleen Murphy <[email protected]>
To   [email protected]
Subject   st: Graphing a string variable
Date   Fri, 05 Oct 2007 09:49:09 -0400

Hi
I have a dataset with censored observations. Many values of the observations are recorded as for example "<2", ">16", including "greater than or equal to" a value and "less than or equal to" a value. The variables with these observations are string-type variables in STATA. I would like to create a simple bar graph that shows the frequency of observations and have it sorted by numeric value. As in on the x-axis would have the values <2, 2, 4, >4. (in that order) and the y-axis would be the frequency of those values.
Any assistance with this would be greatly appreciated.
Thanks
Colleen Murphy

--




*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index