LSEst: Least Squares Estimators of the two parameters of the Weibull distribution
Description
This function computes the Least Squares Estimators (LSEs) of the shape and scale parameters of the Weibull distribution, based on the probability plot, from an i.i.d sample x.
It also gives the sample \(\tilde{y}\) after using the logarithmic transformation (\(\tilde{y}=(\widetilde{shape})\ln(x/\widetilde{scale})\), where \(\widetilde{shape}\) and \(\widetilde{scale}\) are the estimated shape and scale parameters).
Usage
LSEst(x)
Arguments
x
a numeric vector of data values.
Value
A list containing the following elements:
eta
the least squares estimator of the scale parameter of the Weibull distribution (\(\widetilde{scale}\)).
beta
the least squares estimator of the shape parameter of the Weibull distribution (\(\widetilde{shape}\)).
y
the pseudo-observations \(\tilde{y}\) after using the logarithmic transformation and the LSEs.
Details
The elements of the numeric vector should be positive. The support of the Weibull distribution is R+*. These estimators are used by Liao and Shimokawa; they are based on the probability plot and symmetrical ranks.
References
Liao M. and Shimokawa T., A new goodness-of-fit test for type-I extreme-value and 2-parameter Weibull distributions with estimated parameters, Journal of Statistical Computation and Simulation, 64 (1), 23-48, 1999.
Krit M., Gaudoin O., Xie M. and Remy E., Simplified likelihood goodness-of-fit tests for the Weibull distribution, Communications in Statistics - Simulation and Computation.
# NOT RUN {x <- rweibull(50,2,3)
Est <- LSEst(x)
#Value of the least squares estimator of the scale parameterEst$eta
#Value of the lest squares estimator of the shape parameterEst$beta
# }