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

Fitting the frequency distribution of operational losses

1 | ```
fitFreqdist(cell, distr)
``` |

`cell` |
A data frame giving the losses (cell$Loss) and the user-defined period (cell$Period) in which the loss occured. |

`distr` |
The frequency distribution: either "pois" or "nbinom" |

First, the number of losses per period is counted. With the results a Poisson or Negative Binomial distribution is fitted for the number of losses per period using a Maximum Likelihood estimator.

Returns a freqdist object with the given distribution fitted to the loss frequency.

Christina Zou

The frequency distribution is fitted using `goodfit`

with method 'ML' from the package 'vcd'.

1 2 3 | ```
data(lossdat)
fitFreqdist(lossdat[[1]],"pois")
fitFreqdist(lossdat[[2]],"nbinom")
``` |

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.