Fast-observation-error-function-continuous: Fast observation error function continuous Calculate the...

Fast observation error function continuousR Documentation

Fast observation error function continuous Calculate the probability of a set of observed antibody levels given a corresponding set of predicted antibody levels assuming continuous, bounded observations.

Description

Fast observation error function continuous Calculate the probability of a set of observed antibody levels given a corresponding set of predicted antibody levels assuming continuous, bounded observations.

Usage

likelihood_func_fast_continuous(theta, obs, predicted_antibody_levels)

Arguments

theta

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

obs

NumericVector, the vector of observed log antibody levels

predicted_antibody_levels

NumericVector, the vector of predicted log antibody levels

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 antibody level

See Also

Other likelihood_functions: likelihood_func_fast()


seroanalytics/serosolver documentation built on Aug. 18, 2024, 12:46 p.m.