likelihood_func_fast | R Documentation |
Fast observation error function Calculate the probability of a set of observed antibody levels given a corresponding set of predicted antibody levels.
likelihood_func_fast(theta, obs, predicted_antibody_levels)
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 |
a likelihood for each observed antibody level
Other likelihood_functions:
Fast observation error function continuous
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.