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

st: graph frequency distribution (discrete)

From   - <[email protected]>
To   [email protected]
Subject   st: graph frequency distribution (discrete)
Date   Mon, 13 Oct 2008 19:45:29 +0200

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:

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