Computes the Weibull GoF tests based on the Laplace transform: (CQ) Cabana-Quiroz with the two versions either with the Maximum Likelihood Estimators (MLE) or the Moment Estimators (ME) and (LT) based on the Laplace transform with discretization which has three versions, it can be computed either with the MLE, ME or the Least Squares Estimators (LSE).

1 |

`x` |
a numeric vector of data values. |

`type` |
the type of the test statistic used. "CQ" is the default used test of Cabana and Quiroz and "LT" is the test statistic based on the Laplace transform discretization. |

`funEstimate` |
the method used to estimate the two Weibull parameters. "MLE" is the default used method based on the maximum likelihood estimators, "LSE" for the least squares estimators and "ME" for the moment estimators. The test statistic "CQ" can be computed for MLE or ME only. |

`s1` |
the first value where the quadratic form of the statistic "CQ" is computed. |

`s2` |
the second value where the quadratic form of the statistic "CQ" is computed. |

`mr` |
the number of the discretizations done to compute the test "LT"; mr = 100 is the default value recommended. |

`a` |
the value of the adjusting parameter used in the statistic "LT"; a = -5 is the default value used. |

`nsim` |
an integer specifying the number of replicates used in Monte Carlo. |

An object of class htest.

Meryam KRIT

Cabana A. and Quiroz A.J., Using the empirical moment generating function in testing the Weibull and type 1 Extreme Value distributions, * Test*, 14(2), 417-431, 2005.

Krit M., Goodness-of-fit tests for the Weibull distribution based on the Laplace transform, *J-SFdS*, 2014.

1 2 3 4 5 6 7 8 9 10 | ```
x<-rlnorm(50,3)
#Apply test based on the discretized Laplace transform
WLP.test(x,type="LT",funEstimate="MLE")
#Apply test of Cabana and Quiroz with maximum likelihood estimators
WLP.test(x, type="CQ",funEstimate="MLE",s1=-0.1,s2=0.02)
#Apply test of Cabana and Quiroz with the moment estimators
WLP.test(x, type="CQ",funEstimate="ME",s1=-1,s2=0.4)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.