Description Usage Arguments Details Value Author(s) References See Also Examples

Fit of a distribution to a data by two methods: maximum likelihood (mle) and moment matching (mme). Kolmogorov-Smirnov test is used to construct the best fitting.

1 |

`data` |
A numeric vector |

`dist` |
A character string |

`order` |
A numeric vector for the moment order(s). The length of this vector must be equal to the number of parameters to estimate. This argument may be omitted(default) for some distributions for which reasonable order are computed. |

`start` |
A named list giving the initial values of parameters of the named distribution. This argument may be omitted(default) for some distributions for which reasonable starting values are computed. |

`conf` |
Confidence level for the test. |

This function is not intended to be called directly but is internally called in `predI`

and `predP`

.
It is assumed that the two methods: "mle" and "mme" are applied then Kolmogorov-Smirnov test is used to construct the best fitting.

`bestfit`

returns a list with following components,

` fit ` |
the parameter estimates. |

` p.value ` |
the pvalue of the Kolmogorov-Smirnov Test. |

H. M. Barakat, O. M. Khaled and Hadeer A. Ghonem.

Delignette-Muller ML and Dutang C (2015), *fitdistrplus: An R Package for Fitting Distributions*.
Journal of Statistical Software, 64(4), 1-34.

1 2 3 4 5 6 |

PredictionR documentation built on May 2, 2019, 9:35 a.m.

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.