1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dic.fit.mcmc.R
\name{mcmcpack.ll}
\alias{mcmcpack.ll}
\title{posterior log likelihood function to pass to MCMCpack sampler}
\usage{
mcmcpack.ll(pars, dat, prior.par1, prior.par2, dist)
}
\arguments{
\item{pars}{the parameters to calculate the ll at}
\item{dat}{the date to base it on}
\item{prior.par1}{first parameter of each prior}
\item{prior.par2}{second parameter of each prior}
\item{dist}{the distribution the likelihood is being calculated for}
}
\value{
the posterior log likelihood
}
\description{
posterior log likelihood function to pass to MCMCpack sampler
}
|