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: RE: Plot PDF and CDF
From
Tobias Friedli <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: RE: Plot PDF and CDF
Date
Wed, 3 Nov 2010 19:50:52 +0100
Thank you nick. Sorry for my bad english, yes i mean plot.
The two pdf and the two cdf functions i plot seperately. I will try the twoway approach.
Regards
On 03.11.2010, at 19:44, Nick Cox <[email protected]> wrote:
> By "table" I guess you mean "graph".
>
> -zdemo2- is from http://www.ats.ucla.edu/stat/stata/ado/teach/
>
> You could look inside the code for -zdemo2- and modify how Phil Ender did it.
>
> Alternatively you could combine -functions- and -twoway function- e.g.
>
> . twoway function normden(x,1,1), ra(-5 5) || function normden(x), ra(-5 5)
>
> You don't make clear how cdf and pdf are to be plotted together when the units are different.
>
> Nick
> [email protected]
>
> Hobst
>
> I just want to plot a normal distribution, i have mean and sd. If possible i
> would like to plot two different normal distributions in one table. I want
> to plot the CDF as well as the PDF for both functions.
>
> i found the -zdemo2- but unfortunately this one doesnt alllow to scale the y
> axis
>
>
> *
> * 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/