runMCMCpartialPois_: Internal Function for Robust MCMC Algorithms with Partial...

Description Usage Arguments Details Author(s) See Also

Description

This function is an internal function mainly used by runMCMC to call C++ codes that perform robust MCMC algrothms with partial posterior sampling.

Usage

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_)

Arguments

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 "rhoPowerExp", "rhoMatern", or "rhoSph" which indicates the powered exponential, Matern, or Spherical correlation function is used

famY_

take the value of "Poisson" or "Binomial" which indicates Poisson or Binomial distribution for response variables

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 partial=FALSE

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

Details

Check out runMCMC function for details.

Author(s)

Liang Jing ljing918@gmail.com

See Also

runMCMC.


geoCount documentation built on May 2, 2019, 12:38 a.m.