Description Usage Arguments Details Value Author(s) References Examples

Test based on a data trasformation and Cox-Oakes test for exponentiality.

1 | ```
exp_test(x, method = "transf", N = 10^3)
``` |

`x` |
a numeric data vector containing a random sample of positive real numbers. |

`method` |
test to be used. Tow available options are |

`N` |
number of Monte Carlo samples used to approximate p-values when |

Option `"transf"`

performs a test based on a transformation to approximately uniformly distributed variables.
If the sample size is larger than 200, the asymptotic null distribution of the test statistic is used to approximate the p-value; otherwise, it is approximated by Monte Carlo simulation.

Option `"ratio"`

performs Cox and Oakes (1984) test.

A list with class `"htest"`

containing the following components.

`statistic` |
the calculated value of the test statistic. |

`p.value` |
approximated p-value of the test. |

`method` |
a character string giving the name of the method used for testing exponentiality. |

`data.name` |
a character string giving the name of the data set. |

Elizabeth Gonzalez-Estrada, Jose A. Villasenor

Cox, D.R., Oakes, D., 1984. Analysis of Survival Data. Chapman and Hall/CRC.

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.