Statalist


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

Re: st: RE: graphs in stata


From   "Eva Poen" <[email protected]>
To   [email protected]
Subject   Re: st: RE: graphs in stata
Date   Mon, 13 Oct 2008 17:08:46 +0100

More generally, Nick Cox has had several articles in the Stata
Journal, and many posts on this list, concerning the graphing of
distributions. You might be interested in having a look at

http://www.stata-journal.com/article.html?article=gr0003

and

http://www.stata-journal.com/article.html?article=gr0012

to name a few. These two articles are available free of charge.

Eva


2008/10/13 Friedrich Huebler <[email protected]>:
> Bastian,
>
> Another option is to specify the individual -kdensity- plots in parentheses.
>
> . sysuse auto
> . graph twoway (kdensity mpg if foreign==0) (kdensity mpg if foreign==1)
>
> Friedrich
>
> On Mon, Oct 13, 2008 at 5:46 AM, Martin Weiss <[email protected]> wrote:
>> sysuse auto, clear
>> kdensity price, addplot((kdensity weight))
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Bastian Steingros
>> Sent: Monday, October 13, 2008 11:39 AM
>> To: [email protected]
>> Subject: st: graphs in stata
>>
>> I want to display the distribution of two different variables in one graph.
>> One var. is quite left skewed, the other a bit right skewed.
>> I have just tried the command
>> kdensity, but it goes for one var. only.
>>
>> How can I put both in one graph (to display the different distributions)?
> *
> *   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