Description Usage Arguments Value Author(s) Examples

Fit a Bayesian 3-level logistic model using Stan to evaluate effect of various sampling strategies on biases of measure of association.

1 2 | ```
sample_stgy(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). 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 iter and the default is 100. |

`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.