Description Usage Arguments Value Note References See Also Examples
This function provides a GUI for the function rrisk.BayesZIP.
1 2 |
data |
A vector of numeric data, containing zeros, and of minimal length 10. |
prior.lambda |
Numeric vector containing minimum and maximum of a uniform
distribution used as prior for the Poisson parameter |
prior.pi |
Numeric vector containing parameters of a beta distribution
describing prior knowledge about prevalence (proportion of contaminated samples), e.g., |
chains |
Positive single numeric value, number of independent MCMC chains (default 3). |
burn |
Positive single numeric value, length of the burn-in period (default 1000). |
update |
Positive single numeric value, length of update iterations for estimation (default 10000). |
thin |
Positive single numeric value (default 1). The samples from every kth iteration will be used for
inference, where k is the value of thin. Setting |
The function ZIPGUI
returns an instance of the bayesmodelClass
class containing following information
|
Logical, whether the model has converged (assessed by the user). |
|
Data frame containing statitsics of the posterior distribution. |
|
Data frame giving the joint posterior probability distribution. |
|
Names of the parameters jointly estimated by the Bayes model. |
|
Model in rjags/JAGS (originally BRugs/Winbugs) syntax as a character string. |
|
Number of independent MCMC chains. |
|
Length of burn-in period. |
|
Length of update iterations for estimation. |
The convergence of the model will be entered by the user after the simulation process.
Bohning, D., E. Dietz, P. Schlattman, L. Mendonca, and U. Kirchner (1999). The zero-inflated Poisson model and the decayed, missing and filled teeth index in dental epidemiology. Journal of the Royal Statistical Society, Series A 162, 195-209.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.