Learn R Programming

eggCounts (version 0.4-1)

update_theta_gammaAdd: Update a parameter vector theta $theta_1,\ldots,theta_n$ based on a gamma distribution using a gamma proposal with slightly shifted shape parameter to avoid to small theta

Description

Update a parameter vector theta $theta_1,\ldots,theta_n$ based on a gamma distribution using a gamma proposal with slightly shifted shape parameter to avoid to small theta

Usage

update_theta_gammaAdd(theta, s, r, n)

Arguments

theta
theta
s
shape
r
rate
n
length of theta

Value

  • updated parameter $theta$