# LSEst: Least Squares Estimators of the two parameters of the Weibull... In EWGoF: Goodness-of-Fit Tests for the Exponential and Two-Parameter Weibull Distributions

## 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

 1 LSEst(x) 

## Arguments

 x a numeric vector of data values.

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

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

Meryam KRIT

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

## Examples

 1 2 3 4 5 6 7 8 9 x <- rweibull(50,2,3) Est <- LSEst(x) #Value of the least squares estimator of the scale parameter Est$eta #Value of the lest squares estimator of the shape parameter Est$beta 

EWGoF documentation built on Oct. 5, 2017, 5:07 p.m.