[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: graph frequency distribution (discrete)
Dear all:
I would like to get the following graph: variable "relative error" on
the x-axis (range -2 to +1.5) and frequency (number of observations) of
"relative error" on the y-axis.
I did not find anything in Stata to do this. My problem is how to get
the frequency of the "relative error" observations. Stata should count
the relative errors on a 1.51 basis; i.e. all errors from 1.505 to 1.515
should count for 1.51 etc. (I guess this problem can be solved by using
-round-) and connect the dots to a graph.
I hope someone has an idea for this.
Thanks for your consideration.
Silke Rottenburg
*
* 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/