View source: R/lognormal_funs.R
lnorm_prior | R Documentation |
calculate the log-likelihood contribution for the log-normal prior in CASAL
lnorm_prior(X, expectation, sigma, negative = TRUE)
X |
<double>: value/'s to calculate the prior for |
expectation |
<double>: The expectation of the distribution, this is not the mu parameter because for the lognormal distribution the expectation is not the expectation parameter. |
sigma |
<double>: The standard deviation of the distribution (in log space) |
negative |
<bool>: Return the negative log-likelihod if True else if FALSE return just the log-likelihood |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.