Description Usage Arguments Details Value Examples

This is a test based on Wilks' theorem, to determine which parameter space the estimated parameter is included in.

1 | ```
wilks.test(x, estimator, side = "two")
``` |

`x` |
a numeric vector or data frame. |

`estimator` |
a numeric vector with estimated lambda and phi. |

`side` |
a character string which selects the direction of wilks' theorem test ("two", "less" or "greater"). |

By Wilks' theorem, we can test the k-dimensional parameter with chi-square distribution. The Wilks' theorem test can be performed by assuming the parameter space of null hypothesis and setting the part not included in it as the parameter space of the alternative hypothesis.

`wilks.test`

returns a list with these components:

`side` |
a character string of one of "two", "less" or "greater". |

`stat` |
a numeric value the statistics from Wilks' theorem. |

`pvalue` |
a numeric value the p-value of the statistics. |

1 2 3 4 5 | ```
data <- fail_fiber
mme <- MME_WL(data)
wilks.test(data, mme, side="two")
wilks.test(data, mme, side="less")
wilks.test(data, mme, side="greater")
``` |

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.