mcmcpack.ll {coarseDataTools}R Documentation

posterior log likelihood function to pass to MCMCpack sampler

Description

posterior log likelihood function to pass to MCMCpack sampler

Usage

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


[Package coarseDataTools version 0.6-6 Index]