ADMB Documentation
-a65f1c97
|
Lognormal density functions. More...
#include "statsLib.h"
Go to the source code of this file.
Functions | |
dvariable | dlnorm (const prevariable &x, const double &mu, const double &std) |
dvariable | dlnorm (const prevariable &x, const prevariable &mu, const double &std) |
dvariable | dlnorm (const prevariable &x, const prevariable &mu, const prevariable &std) |
dvariable | dlnorm (const dvar_vector &x, const double &mu, const double &std) |
dvariable | dlnorm (const dvar_vector &x, const prevariable &mu, const double &std) |
dvariable | dlnorm (const dvar_vector &x, const prevariable &mu, const prevariable &std) |
Lognormal density functions.
This file contains the negative loglikelihood functions for the lognormal distribution. The function dlnorm is overloaded to accomodate single variables and vectors.
where is the logmean and is the log standard deviation. The function returns an error if either the std<=0 or x<=0
Definition in file dlnorm.cpp.
dvariable dlnorm | ( | const prevariable & | x, |
const double & | mu, | ||
const double & | std | ||
) |
x | a differentiable variable |
mu | is a double precision log mean |
std | a double precision log standard deviation |
Definition at line 36 of file dlnorm.cpp.
dvariable dlnorm | ( | const prevariable & | x, |
const prevariable & | mu, | ||
const double & | std | ||
) |
x | a differentiable variable |
mu | is a variable log mean |
std | a double precision log standard deviation |
Definition at line 58 of file dlnorm.cpp.
dvariable dlnorm | ( | const prevariable & | x, |
const prevariable & | mu, | ||
const prevariable & | std | ||
) |
x | a differentiable variable |
mu | is a variable log mean |
std | a variable log standard deviation |
Definition at line 80 of file dlnorm.cpp.
dvariable dlnorm | ( | const dvar_vector & | x, |
const double & | mu, | ||
const double & | std | ||
) |
x | a differentiable vector |
mu | is a double precision log mean |
std | a double precision log standard deviation |
Definition at line 102 of file dlnorm.cpp.
dvariable dlnorm | ( | const dvar_vector & | x, |
const prevariable & | mu, | ||
const double & | std | ||
) |
x | a differentiable vector |
mu | is a prevariable log mean |
std | a double precision log standard deviation |
Definition at line 130 of file dlnorm.cpp.
dvariable dlnorm | ( | const dvar_vector & | x, |
const prevariable & | mu, | ||
const prevariable & | std | ||
) |
x | a differentiable vector |
mu | is a prevariable log mean |
std | a prevariable log standard deviation |
Definition at line 158 of file dlnorm.cpp.
Generated on Wed Sep 7 2022 00:01:31 for ADMB Documentation by 1.8.5 |