Learn R Programming

weibullness (version 1.24.1)

gp.test.critical: Critical Value for the Gumbel Goodness-of-Fit Test

Description

Calculates the critical value for the Gumbel goodness-of-fit test

Usage

gp.test.critical(alpha, n)

Value

A list with class "gp.test.critical" containing the following components:

sample.size

sample size (missing observations are deleted).

alpha

significance level.

critical.value

critical value.

data.name

a character string giving the name(s) of the data.

Arguments

alpha

the significance level.

n

the sample size.

Author

Chanseok Park

Details

This function calculates the critical value for the Gumbel Goodness-of-Fit test which is constructed using the sample correlation from the associated Gumbel probability plot. The critical value is then looked up in Gumbel.Plot.Quantiles. There is print method for class "gp.test.critical".

References

Kinnison, R. (1989). Correlation Coefficient Goodness-of-Fit Test for the Extreme-Value Distribution. The American Statistician, 43(2), 98-100.

Vogel, R. M. and C. N. Kroll (1989). Low-Flow Frequency Analysis Using Probability-Plot Correlation Coefficients. Journal of Water Resources Planning and Management, 115, 338-357.

See Also

ks.test for performing the Kolmogorov-Smirnov test for the goodness of fit test of two samples.
wp.test for performing the Weibullness test.
shapiro.test for performing the Shapiro-Wilk test for normality.

Examples

Run this code
# Critical value with alpha (significance level) and n (sample size).
gp.test.critical(alpha=0.01, n=10)

Run the code above in your browser using DataLab