Description Usage Arguments Value Author(s) Examples

Fit a Bayesian 3-level Poisson model using Stan to evaluate true incidence, quantify bias, and compare relative impact of selection vs. misclassification biases.

1 2 | ```
check_incidence(data, iter = 500, warmup = 100, chains = 4, cores,
seed = 123, nsimul)
``` |

`data` |
Data file. |

`iter` |
A positive integer specifying how many iterations for each chain (including warmup). The default is 500. |

`warmup` |
a positive integer specifying number of warmup (aka burnin)
iterations. Warmup samples should not be used for inference. The number of
warmup should not be larger than |

`chains` |
A positive integer specifying number of chains. Defaults to 4. |

`cores` |
Number of cores to use when executing the chains in parallel (up to the number of chains). |

`seed` |
Positive integer. Used by |

`nsimul` |
Number of simulations. |

An object of class `stanfit`

.

Denis Haine

1 2 3 4 5 6 7 8 9 10 11 |

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.