GLMproposal: Proposal distribution for GLM

Description Usage Arguments Value

View source: R/GLM_mcmc_functions.R

Description

Proposal distribution for GLM

Usage

1
GLMproposal(param, chain_cov, adapt)

Arguments

param

vector of parameters for GLM

chain_cov

covariance of chain up to now

adapt

whether to use the chain covariance to adapt the proposal distribution is 0 or 1

Value

param_prop. The proposed parameters.


mrc-ide/YFestimation documentation built on March 13, 2021, 1:40 p.m.