sample.beta: This function samples a new vector beta via Metropolis...

Description Usage

View source: R/sampling_fcts_KMR.R

Description

This function samples a new vector beta via Metropolis Hastings The proposal distribution is a Multivariate Normal centered at the current value of the beta with a diagonal covariance matrix with proposal sdev delta.beta The value of delta.beta can be changed depending on the acceptance rate of the proposed values. during the MCMC algorithm and during burnin

Usage

1
sample.beta(y, h.z, X, beta, p, delta.beta, m.beta, iV)

apeterson91/bekmr documentation built on Feb. 12, 2020, 9:29 p.m.