Description Usage Arguments Details Author(s) See Also
This function is an internal function mainly used by runMCMC
to call C++ codes that perform robust MCMC algrothms with partial posterior sampling.
1 2 3 4 | runMCMCpartialPois_(Y_, L_, T_, D_, run_, nmLan_,
fam_, famY_, famT_,
ifkappa_, scale_, mscale_, sscale_, ascale_, kscale_,
alow_, aup_, mini_, sini_, aini_, kini_)
|
Y_ |
a vector of length n which indicates the response variables |
L_ |
a vector of length n; it indicates the time duration during which the Poisson counts are accumulated, or the total number of trials for Binomial response; if 0 is found in the vector, 1 will be used to replace all the values in the vector |
T_ |
a n \times 2 matrix which indicates the coordinates of locations |
D_ |
a n \times p covariate matrix; the default value "NULL" indicates no covariate |
run_ |
the number of iterations |
nmLan_ |
the number of internal iterations for latern variables |
fam_ |
take the value of |
famY_ |
take the value of |
famT_ |
take the value of 1, 2, or 3 which indicates the type of partial posterior sampling: 1 means "mean" diagnostic statistic is used, 2 means "maximum", and 3 means "minimum"; ignored if |
ifkappa_ |
take zero or non-zero value which indicates whether κ should be sampled |
scale_ |
the tuning parameters for S respectively |
mscale_ |
the tuning parameters for β respectively |
sscale_ |
the tuning parameters for σ respectively |
ascale_ |
the tuning parameters for φ respectively |
kscale_ |
the tuning parameters for κ respectively |
alow_ |
the lower bound for φ respectively |
aup_ |
the upper bound for φ respectively |
mini_ |
the initial for β respectively |
sini_ |
the initial for σ respectively |
aini_ |
the initial for φ respectively |
kini_ |
the initial for κ respectively |
Check out runMCMC
function for details.
Liang Jing ljing918@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.