Learn R Programming

tpwb (version 0.1.0)

mlewb: Maximum likelihood estimation (MLE) for the three-parameter Weibull distribution.

Description

This function for estimating parameter of the three-parameter Weibull distribution.

Usage

mlewb(x, shape, scale, location)

Value

the estimated shape, scale and location values of the three-parameter Weibull distribution.

Arguments

x

vector of quantiles.

shape

shape parameter, where \(\beta > 0\).

scale

scale parameter, where \(\alpha > 0\).

location

location parameter, where \(\delta \ge 0\).

References

Johnson, N. L., Kotz, S. and Balakrishnan, N. (1995) Continuous Univariate Distributions, volume 1, chapter 21. Wiley, New York.

Examples

Run this code
x<- rtpwb(1000,2,3,1) #n=1000 large sample
mlewb(x,2,3,1)
x<- rtpwb(50,2,3,1) #n=50 medium sample
mlewb(x,2,3,1)
x<- rtpwb(10,2,3,1) #n=10 small sample
mlewb(x,2,3,1)

Run the code above in your browser using DataLab