compare: Calculate the log likelihood of the data given the parameters...

View source: R/mcmc.R

compareR Documentation

Calculate the log likelihood of the data given the parameters diagnoses and attendances lhoods are negative binomial p_symp lhood is betabinomial

Description

Calculate the log likelihood of the data given the parameters diagnoses and attendances lhoods are negative binomial p_symp lhood is betabinomial

Usage

compare(pars, transform)

Arguments

pars

A named vector of parameters

transform

the transform function to use in the comparison

Value

a single log likelihood


mrc-ide/gonovax documentation built on Dec. 15, 2024, 11:02 a.m.