likelihood_titre: Calculate likelihood

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Calculates the likelihood of a given set of observed titres given predicted titres. Based on truncated discritised normal.

Usage

1
likelihood_titre(expected, data, error, MAX_TITRE)

Arguments

expected

NumericVector, as returned by infection_model_indiv

data

NumericVector, the vector of observed titres

theta

NumericVector, the vector of named model parameters, requiring MAX_TITRE and error

Value

a single log likelihood


jameshay218/serosim2 documentation built on Nov. 29, 2017, 6:21 p.m.