WPP.test {EWGoF}R Documentation

GoF tests based on the Weibull probability plot for the Weibull distribution

Description

Computes the GoF tests based on the Weibull probability plot (WPP). The test statistics are similar to the coefficient of determination of the regression on the WPP: (RSB) test statistic of Smith and Bain, (REJG) test statistic of Evans, Johnson and Green, (SPP) test statistic of Coles based on the stabilized probability plot.

The second family includes the Shapiro-Wilk type test statistics: (SB) Shapiro and Brain and (OK) Ozturk and Korukoglu test statistic.

Two additional statistics can also be computed: the first one (ST1) is based on the kurtosis and the second one (ST2) is based on the skewness coefficient.

Usage

WPP.test(x, type = "SB", nsim = 200)

Arguments

x

a numeric vector of data values.

type

the type of the test statistic used. "OK" is the test statistic of Ozturk and Korukoglu, "RSB" the test statistic of Smith and Bain, "REJG" the test statistic of Evans-Johnson and Green, "SPP" the test statistic of Coles based on the stabilized probability plot, "SB" the test statistic of Shapiro and Brain, "ST1" the test statistic based on the kurtosis and "ST2" the test statistic based on the skewness.

nsim

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

Value

An object of class htest.

Author(s)

Meryam KRIT

References

Examples

x <- rlnorm(10,3)

#Apply the Ozturk-Korukoglu test
## Not run: 
 WPP.test(x,type="OK")
 
## End(Not run)


# Apply the generalized smooth test based on the kurtosis 
## Not run: 
WPP.test(x,type="ST1")

## End(Not run)


[Package EWGoF version 2.2.2 Index]