Skip to content

Estimating Weibull parameters

3 messages · Hagen Schmöller, Brian Ripley, Martin Maechler

#
Hi R-Community,

I have a vector of Weibull distributed observations and I would like to 
estimate the parameters "shape" and "scale" of the Weibull distribution. 
Is there a way to do this in R?

Much thanks in advance,

Hagen Schm?ller
#
On Tue, 6 Aug 2002, Hagen [ISO-8859-1] Schmöller wrote:

            
Many ways.  Perhaps the simplest is function fitdistr in package MASS.
Another is via survreg() in package survival.
#
Hagen> I have a vector of Weibull distributed observations
    Hagen> and I would like to estimate the parameters "shape"
    Hagen> and "scale" of the Weibull distribution.  Is there a
    Hagen> way to do this in R?

Yes, use the  fitdistr() function from the MASS package.
Its help file starts as
Regards,

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._