Description Usage Arguments Value
View source: R/GLM_mcmc_functions.R
mcmc step for the GLM parameters
1 | GLM_MCMC_step(param, x, y, chain_cov, adapt, accCurrent)
|
param |
vector of parameters for GLM |
x |
covariates |
y |
explanatory variable |
chain_cov |
covariance of chain up to now |
adapt |
whether to use the chain covariance to adapt the proposal distribution is 0 or 1 |
accCurrent |
current posterior probability |
new param, new posterior probability, whether step was accepted or not
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.