calc_mean_titer_negll | R Documentation |
This is a base function to sum the total _negative_ log likelihood of a mean titer.
calc_mean_titer_negll(predicted_mean, max_titers, min_titers, titer_sd)
predicted_mean |
The predicted mean titer. |
max_titers |
Numeric vector of the upper bounds of the measured titers. |
min_titers |
Numeric vector of the lower bounds of the measured titers. |
titer_sd |
The expected standard deviation of titers. |
This function calculates the total negative log-likelihood of a predicted mean
titer given a set of titers. The main assumption is that both measurement error and
titer variation are normally distributed. Note that the argument titer_sd
is the
total expected standard deviation of the titer set, i.e. measurement error plus titer
variation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.