mcmcpack.ll: posterior log likelihood function to pass to MCMCpack sampler

Description Usage Arguments Value

View source: R/dic.fit.mcmc.R

Description

posterior log likelihood function to pass to MCMCpack sampler

Usage

1
mcmcpack.ll(pars, dat, prior.par1, prior.par2, dist)

Arguments

pars

the parameters to calculate the ll at

dat

the date to base it on

prior.par1

first parameter of each prior

prior.par2

second parameter of each prior

dist

the distribution the likelihood is being calculated for

Value

the posterior log likelihood


coarseDataTools documentation built on Dec. 11, 2021, 9:29 a.m.