Not entirely clear, but this sounds more like a data management problem than
one that can be solved by clever application of a -graph- command. Have you
tried -round-?
HTH
Martin
_______________________
----- Original Message -----
From: "-" <[email protected]>
To: <[email protected]>
Sent: Monday, October 13, 2008 7:45 PM
Subject: 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/
*
* 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/