Description Usage Arguments Value
Uses WinBUGS/JAGS in Windows system or JAGS in OSX system for Bayesian inference
(see README file for an instruction to install WinBUGS or JAGS).
For stratification/regression functionalities, true positive rates are constant
across strata or covariate values.
1 | nplcm(data_nplcm, model_options, mcmc_options)
|
data_nplcm |
Must put cases at the top in 'Mobs$MBS' and control data at the bottom (this is related to the coding scheme in JAGS).
|
model_options |
A list of model options.
|
mcmc_options |
A list of Markov chain Monte Carlo (MCMC) options.
|
A JAGS result, fitted by function jags2
from R2jags
.
Current implemented models follow the hierarchy below:
no regression: write_model_NoReg
regression:
independence model: write_model_Reg_NoNest
dependence model [NOT DONE.]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.