Description Usage Arguments Value See Also Examples

Estimate a Poisson model with random effects in panel counting data. Note this model is different with the Poisson Lognormal model for counting data.

1 2 3 |

`formula` |
Formula of the model |

`id` |
A vector that represents the identity of individuals, numeric or character |

`data` |
Input data, a data frame |

`par` |
Starting values for estimates |

`sigma` |
Variance of random effects on the individual level |

`max_sigma` |
Largest allowed initial sigma |

`method` |
Searching algorithm, don't change default unless you know what you are doing |

`lower` |
Lower bound for estiamtes |

`upper` |
Upper bound for estimates |

`H` |
A vector of length 2, specifying the number of points for inner and outer Quadratures |

`accu` |
L-BFGS-B only, 1e12 for low accuracy; 1e7 for moderate accuracy; 10.0 for extremely high accuracy. See optim |

`reltol` |
Relative convergence tolerance. default typically 1e-8 |

`verbose` |
Level of output during estimation. Lowest is 0. |

`tol_gtHg` |
tolerance on gtHg, not informative for L-BFGS-B |

A list containing the results of the estimated model

Other PanelCount: `CRE_SS`

; `CRE`

;
`PLN_RE`

; `ProbitRE`

1 2 3 4 |

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.