GoF tests based on the empirical characteristic function for the Exponential distribution
Computes the GoF tests based on the characteristic function of the Exponential distribution: Epps-Pulley (EP), Henze-Meintanis (W1, W2) and Meintanis-Iliopoulos test statistics (T1, T2).
a numeric vector of data values.
the type of the test statistic used. "EP" is the default used test of Epps-Pulley,"W1" and "W2" for Henze and Meintanis, "T1" and "T2" for Meintanis-Iliopoulos test statistics.
parameter value to be adjusted for the test statistics ("W1", "W2", "T1" and "T2").
an integer specifying the number of replicates used in Monte Carlo.
The computation time of this function is quite long for the test statistics "W1", "W2", "T1" and "T2" because of their complex expression. The Monte-Carlo simulations take more time compared to the other tests. These tests are not defined for a=0.
An object of class htest.
Epps T.W. and Pulley L.B., A test for exponentiality vs. monotone hazard alternatives derived from the empirical characteristic function, Journal of the Royal Statistical Society, Series B, 48, 206-213, 1986.
Henze N. and Meintanis S.G., Recent and classical tests for exponentiality: partial review with comparisons, Metrika, 61, 29-45, 2005.
Henze N. and Meintanis S.G., Goodness-of-fit tests based on a new characterization of the exponential distribution, Communications in Statistics, Theory and Methods, 31, 1479-1497, 2002.
Meintanis S.G. and Iliopoulos G., Characterizations of the exponential distribution based on certain properties of its characteristic function, Kybernetika, 39 (3), 295-298, 2003.
1 2 3 4 5 6 7 8 9 10 11
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.