[R] Fitting Distributions

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jan 10 08:21:45 CET 2002


On Thu, 10 Jan 2002, Denham Robert wrote:

> Tharacad,
>         this sort of question comes up fairly often.  A good way to
> search for similar questions is at Jonathon Baron's site
> http://finzi.psych.upenn.edu/search.html, and a really good way to begin
> estimating distribution parameters in R is to look at a presentation
> Peter Dalgaard once did and made available on a web site at
> http://www.stat.wisc.edu/~bates/JSM2001.pdf

[That's a presentation by Doug Bates, BTW.]

Even better, use the function fitdistr in package MASS, which is both
general and has a lot of distributions such a Weibull pre-packaged.
One of Jim Lindsey's packages has code for a large set of distributions.

> Regards,
> Robert Denham
>
> > I am new to R. So, please bear with me if this questions is already
> been
> > asked and answered.
>
> > I am looking for a R function that fit a dataset to common
> distributions
> > such as Normla, Log-Normal, Poisson, Weibull, and Beta. Basically I am
> > looking for ways to estimate distribution parameters rather than
> having to
> > write a program for it.
>
> > Thanks for your help.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list