Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: graph frequency distribution (discrete)


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: graph frequency distribution (discrete)
Date   Mon, 13 Oct 2008 19:59:51 +0200

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index