sample.h: This function samples a new vector h.z via Metropolis...

Description Usage

View source: R/sampling_fcts_KMR.R

Description

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

Usage

1
sample.h(y, h.z, X, beta, n, delta.h, iR.phi)

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