[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: RE: Plotting several densities
That FAQ is unnecessary given the -betaden()- function.
. ssc inst betafit
. ssc inst qbeta
. ssc inst pbeta
. betafit myvar
. gen fitteddensity = betaden(e(alpha), e(beta), myvar)
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org]On Behalf Of Nick Cox
> Sent: 02 February 2004 09:54
> To: email@example.com
> Subject: st: RE: Plotting several densities
> I don't know what you mean by "directly" here.
> -betafit- on SSC does maximum likelihood fits.
> You can calculate the density to overlay on a histogram
> (N.B. http://www.stata.com/support/faqs/stat/beta.html)
> but it's easier to work with -qbeta- or -pbeta- from
> SSC in my experience.
> Naji Nassar
> > Having a continuous variable, I'd like to compare graphically its
> > distribution to wellknown density (Beta)
> > The Beta parameters can be determined either directly or upon
> > moments values