Two-parameter Weibull Distribution Maximum Likelihood Estimation

Share:

Description

To compute the maximum likelihood estimates of the parameters of a 2-parameter Weibull distribution.

Usage

1
 fit.Weibull(x, dist="Weibull")

Arguments

x

A vector of raw data, or a histogram or binned data.

dist

Distribution type: Weibull, GWD or EWD.

Examples

1
2
3
4
5
6
7
8
9
  ## raw data
  x <- rweibull(100, 2, 1)
  fit.Weibull(x)
  ##  binned data
  data(hhi)
  hmob <- binning(counts=hhi$mob, breaks=hhi$breaks)
  fit.Weibull(hmob, dist="weibull")
  fit.Weibull(hmob, dist="gwd")
  fit.Weibull(hmob, dist="ewd")