Description Usage Arguments Value Examples
View source: R/LNConditionalMeans.R
Calculate the log likelihood of left censored lognormal data. The log likelihood has two parts – a term for observed values over the detection limit, and term for censored values (where all we know is that the value falls below the detection limit).
1 | lc_loglik(params, cc, flg)
|
params |
A two item list or vector containing the mean and sd of the distribution on the log scale (i.e., the parameters of the related normal distribution). |
cc |
A vector of data values, including both observed values, where they exist, or the detection limits, where data was censored. |
flg |
A vector of TRUE or FALSE values, of the same length as cc, that indicates which values are detection limits (TRUE) and which are measured values (FALSE) |
The calculated log likelihood under a censored lognormal distribution with the specific parameters.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.