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

From |
"Nick Cox" <n.j.cox@durham.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
RE: st: RE: Graphical questions(box, histogram, pnorm) |

Date |
Wed, 26 Aug 2009 18:01:09 +0100 |

1) I think you need to talk to Stata tech support. 2) That won't work because it is not a valid call to -twoway function-. You do need to read the help. 3) No; P-P plots do not involve the density function, but the distribution function. Nick n.j.cox@durham.ac.uk -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Beatrice Crozza Sent: 26 August 2009 17:56 To: statalist@hsphsun2.harvard.edu Subject: Re: st: RE: Graphical questions(box, histogram, pnorm) 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/ * * 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/

**References**:**st: Graphical questions(box, histogram, pnorm)***From:*Beatrice Crozza <beatrice.crozza@gmail.com>

**st: RE: Graphical questions(box, histogram, pnorm)***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**Re: st: RE: Graphical questions(box, histogram, pnorm)***From:*Beatrice Crozza <beatrice.crozza@gmail.com>

- Prev by Date:
**AW: st: RE: Graphical questions(box, histogram, pnorm)** - Next by Date:
**st: Causality Panel Data** - Previous by thread:
**AW: st: RE: Graphical questions(box, histogram, pnorm)** - Next by thread:
**st: ERROR IN GRAPH OUTPUT FOR LCOLOR() OPTION, MAYBE SOFTWARE???** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |