mlewb {tpwb}R Documentation

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)

Arguments

x

vector of quantiles.

shape

shape parameter, where \beta > 0.

scale

scale parameter, where \alpha > 0.

location

location parameter, where \delta \ge 0.

Value

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

Note

the result of this function may produce a Warning message, but not effect to the estimated parameter.

References

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

Examples

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)

[Package tpwb version 0.1.0 Index]