Learn R Programming

weibullness (version 1.24.1)

ep.test.pvalue: The p-value for the Exponential Goodness-of-Fit Test

Description

Calculates the p-value for the exponential goodness-of-fit test which is based on the sample correlation from the exponential probability plot.

Usage

ep.test.pvalue(w, n)

Value

A list with class "htest" containing the following components:

statistic

the value of the test statistic (sample correlation from the exponential probability plot)

p.value

the p-value for the test.

method

a character string indicating the exponential probability test.

Arguments

w

the ANOVA test statistic; w is in (0,1).

n

the sample size.

Author

Chanseok Park

Details

The p-value for the exponential goodness-of-fit test which is based on the sample correlation from the exponential probability plot. There is print method for class "htest".

References

Shapiro, S. S. and M. B. Wilk (1972). An Analysis of Variance Test for the Exponential Distribution (Complete Samples). Technometrics, 14(2), 355-370.

See Also

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

Examples

Run this code
# p.value with w (ANOVA statistic) and n (sample size).
ep.test.pvalue(w=0.35593, n=7)

Run the code above in your browser using DataLab