likelihood_func_fast: Fast observation error function Calculate the probability of...

View source: R/RcppExports.R

likelihood_func_fastR Documentation

Fast observation error function Calculate the probability of a set of observed titres given a corresponding set of predicted titres. FAST IMPLEMENTATION

Description

Fast observation error function Calculate the probability of a set of observed titres given a corresponding set of predicted titres. FAST IMPLEMENTATION

Usage

likelihood_func_fast(theta, obs, predicted_titres)

Arguments

theta

NumericVector, a named parameter vector giving the normal distribution standard deviation and the max observable titre

obs

NumericVector, the vector of observed log titres

predicted_titres

NumericVector, the vector of predicted log titres

a

vector of same length as the input data giving the probability of observing each observation given the predictions

Value

a likelihood for each observed titre

See Also

Other likelihood_functions: Fast observation error function continuous


seroanalytics/serosolver documentation built on April 24, 2023, 9:52 a.m.