Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: Changing the scale of a graph
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: st: Changing the scale of a graph
Date
Wed, 6 Jun 2012 18:13:01 +0100
In my view graphs are generally better at showing outliers than any numerical procedure.
I don't know what you mean by "integrated command" here. If you want a command to make the decisions you would make about outliers, you would need to program that. For what I do, automatic decisions about outliers don't work well and are a bad idea. People with massive datasets arriving all the time might need to do things differently.
Nick
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Lukas Borkowski
Sent: 06 June 2012 17:50
To: [email protected]
Subject: Re: st: Changing the scale of a graph
Nick, would you suggest to check for outliers before drawing the graph then, or is there any integrated command?
#
Lukas Borkowski
Am 6 Jun 2012 um 18:48 schrieb Nick Cox:
> You are not giving the Stata command you typed or telling us much about your data.
>
> There must be a reason why you get a lot of white space. Most obviously one or more outlier(s) need to be accommodated. As already emphasised in this thread, whatever you do to -ysc()- or -yla()- will not cause data to be omitted.
>
> Nick
> [email protected]
>
> sebas nicaise
>
> Thank you for the replies, this is indeed what I asked but there is still alot of ''white'' in the graph.
> I want to present the (small) increase in leverageratio, but with these commands it still looks like a very mild upward slope.
>
> So my question is: How can I magnify these very small changes into the graph?
>
> Saqlain RAZA
>
>> try with ylabel(0.25(0.01)0.30)
>
> sebas nicaise
>
>> When I do that the graph does not look nice. I want the y-axis to have very small intervals e.g 0.25 0.26 0.27 0.28 0.29 0.30.
>
> [email protected]
>
>>> just use -yscale(range(0 0.25))- to rescale your y-axis the way you want to!
>
> Am 6 Jun 2012 um 16:58 schrieb sebas nicaise:
>
>>>> I have a scatter output with on the x-axis time and on the y-axis the leverageratio.
>>>> When I command stata to plot I get on the y-axis a scale from 0.1 to 0.35.
>>>>
>>>> Now I want to narrow my y-axis to lets say 0.25 to 0.30, How do I tell stata to do this?
>>>>
>>>> I have tried add the command ylabel(0.3 0.35) but does not give me a nice looking graph.
>
*
* 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/