<>
http://www.stata-journal.com/sjpdf.html?articlenum=gr0019 may be helpful.
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Dana Chandler
Gesendet: Donnerstag, 16. Juli 2009 09:09
An: [email protected]
Betreff: st: Restricting range of values in a graph
I am preparing some graphs with simple boxplots over various groups.
Thus on my x-axis, I have categorical variables for population groups.
My y-axis has # of businesses of a certain type within each population
group.
Unfortunately, I would like to be able to only show the y-axis within
a certain range (so as to not have outliers distort the picture). One
idea I had was to simply do the graph and add "IF #businesses < 50".
This will make the graph visible, but will distort the IQR of the
boxplot. The "yscale(r(0 25))" command does not seem to work and seems
only to "extend" a range of y-values rather than restrict it. Does
anyone have a suggestion for how to construct a graph for the entire
range of data but only display it over a specific range?
Thanks in advance,
Dana
*
* 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/