Description Usage Arguments Value
View source: R/gibbs_msm_binomial.R
Runs a gibbs chain with a binomial prior with listing data input
1 2 | gibbs_msm_binomial(seed, N = 10000, atune = 0.25, btune = 1,
inclusionProbPriors, gibbs.list, parnames)
|
seed |
a seed |
N |
number of iterations for the gibbs sampler, default is 10,000 |
atune |
Tuning parameter for the metropolis-hastings update of hyperparameters on phis |
btune |
Other tuning parameter for the metropolis-hastings update |
inclusionProbPriors |
priors for the inclusion probabilities of participating in each listing. should be present in a configureation file. |
gibbs.list |
list containing all the location listing data |
parnames |
vector containing parameter names to be estimated |
x |
log of a.phi/(a.phi+ b.phi) |
y |
log of (a.phi +b.phi) |
phivec |
vector of current values of phi |
a numeric matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.