lognorm.density {MixedPoisson}R Documentation

Log-normal Density

Description

The function returns the vector of values of density function for of log-normal distribution with one parameter \nu.

Usage

lognorm.density(theta, nu)

Arguments

theta

the vector of values

nu

the parameter of log-normal distribution

Details

The pdf of log-normal is of the form f_\theta(\theta)=\frac{1}{\sqrt{2\pi\nu\theta}}\exp[-\frac{(\log(\theta)+\frac{\nu^2}{2})^2}{2\nu^2}]

Value

lognorm.density(theta, nu)

the density – the vector of values

Author(s)

Michal Trzesiok

Examples

lognorm.density(c(2,3,5,4,6,7,6), 5)

[Package MixedPoisson version 2.0 Index]