Description Usage Arguments Details Value Author(s) References

Computes the COM-Poisson lambda and nu parameter estimates for a given data set.

1 | ```
ComputeLambdaAndNuHat.shiftCMPest(y,lambdainit=mean(y)-min(y),nuinit=1,a=min(y),max=100)
``` |

`y` |
The data set in question, as a vector |

`lambdainit` |
Initial value for Lambda |

`nuinit` |
Initial value for Nu |

`a` |
The location shift constant |

`max` |
Maximum number of iterations to run for truncating infinite sums |

Uses the built-in nlminb function (constrained optimization) to maximize the COM-Poisson log-likelihood function for a given data set and therefore compute the maximum likelihood estimators Lambda and Nu for said data set.

Returns the maximum likelihood estimates for lambda and nu using constrained optimization through nlminb.

Kimberly Sellers

Sellers, Kimberly F. "A Generalized Statistical Control Chart for Over- or Under-Dispersed Data." Quality and Reliability Engineering International 2012. ; 28:59-65.

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.