ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Functions
dlnorm.cpp File Reference

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)

Detailed Description

Lognormal density functions.

Author:
Steven Martell
Date:
2/05/2011

This file contains the negative loglikelihood functions for the lognormal distribution. The function dlnorm is overloaded to accomodate single variables and vectors.

Definition in file dlnorm.cpp.


Function Documentation

dvariable dlnorm ( const prevariable x,
const double &  mu,
const double &  std 
)
Author:
Steven James Dean Martell
Date:
2011-06-21
Parameters:
xa differentiable variable
muis a double precision log mean
stda double precision log standard deviation
Returns:
returns the negative loglikelihood of the lognormal distribution
See also:

Definition at line 36 of file dlnorm.cpp.

dvariable dlnorm ( const prevariable x,
const prevariable mu,
const double &  std 
)
Author:
Steven James Dean Martell
Date:
2011-06-21
Parameters:
xa differentiable variable
muis a variable log mean
stda double precision log standard deviation
Returns:
returns the negative loglikelihood of the lognormal distribution
See also:

Definition at line 58 of file dlnorm.cpp.

dvariable dlnorm ( const prevariable x,
const prevariable mu,
const prevariable std 
)
Author:
Steven James Dean Martell
Date:
2011-06-21
Parameters:
xa differentiable variable
muis a variable log mean
stda variable log standard deviation
Returns:
returns the negative loglikelihood of the lognormal distribution
See also:

Definition at line 80 of file dlnorm.cpp.

dvariable dlnorm ( const dvar_vector x,
const double &  mu,
const double &  std 
)
Author:
Steven James Dean Martell
Date:
2011-06-21
Parameters:
xa differentiable vector
muis a double precision log mean
stda double precision log standard deviation
Returns:
returns the negative loglikelihood of the lognormal distribution
See also:

Definition at line 102 of file dlnorm.cpp.

dvariable dlnorm ( const dvar_vector x,
const prevariable mu,
const double &  std 
)
Author:
Steven James Dean Martell
Date:
2011-06-21
Parameters:
xa differentiable vector
muis a prevariable log mean
stda double precision log standard deviation
Returns:
returns the negative loglikelihood of the lognormal distribution
See also:

Definition at line 130 of file dlnorm.cpp.

dvariable dlnorm ( const dvar_vector x,
const prevariable mu,
const prevariable std 
)
Author:
Steven James Dean Martell
Date:
2011-06-21
Parameters:
xa differentiable vector
muis a prevariable log mean
stda prevariable log standard deviation
Returns:
returns the negative loglikelihood of the lognormal distribution
See also:

Definition at line 158 of file dlnorm.cpp.