Statalist


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

Re: st: RE: Graphical questions(box, histogram, pnorm)


From   Beatrice Crozza <beatrice.crozza@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Graphical questions(box, histogram, pnorm)
Date   Wed, 26 Aug 2009 18:56:03 +0200

Dear Nick,

thank you very much for your help, however I am still encountering troubles.

1) I checked my ados and executable and they are already up to date.
Is there something else that can I do?

2) I wrote:
histogram return, normal addplot(student(129))
but it doesn't work.

3) For the scatter plot, what should I put on the axis? The p.d.f. of
the Students't?


Thank you very much for any help.

Best,
Bea
2009/8/26 Nick Cox <n.j.cox@durham.ac.uk>:
> 1) This sounds bad. Your Stata installation may be messed up: e.g.
> executable and ados not updated synchronously. Sort that out before
> addressing 2) and 3).
>
> 2) Superimpose a call to -twoway function- using the -addplot()- option.
>
>
> 3) Sounds like a skewed t distribution. Any analogue of -pnorm- is
> programmable. In fact it can be done without heavy programming, as it is
> just a scatter plot.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Beatrice Crozza
>
> I am not able to solve some graphical problems:
>
> 1) I would like to do to a box graph.
> If I use the following command:
> graph7 return, box
> everything is fine, however I cannot modify this graph.
> When I use the new command:
> graph box return
> I receive this error message: variable _variables not found
> r(111);.What I am doing wrong?
>
> 2) I did the histogram of my data and I added a normal distribution:
> histogram return, normal
> Now, I would like to add to my histogram also a Student's t
> distribution. Is there a way to do this?
>
> 3)  I did the standardized normal probability plot:
> pnorm return
> Is there a way to do the same for a sweked t distribution. I saw it in
> a paper, but I don't know how to replicate it.
>
>
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index