comparison scripts/statistics/distributions/lognpdf.m @ 18444:8858d0ccfc93 stable

doc: Document that default mu is 0 for logn* statistical functions (bug #41547). * logncdf.m, logninv.m, lognpdf.m: Document that default mu is 0 (bug #41547).
author Rik <rik@octave.org>
date Tue, 11 Feb 2014 14:31:25 -0800
parents d63878346099
children 4197fc428c7d
comparison
equal deleted inserted replaced
18443:4bfd44c15145 18444:8858d0ccfc93
21 ## @deftypefn {Function File} {} lognpdf (@var{x}) 21 ## @deftypefn {Function File} {} lognpdf (@var{x})
22 ## @deftypefnx {Function File} {} lognpdf (@var{x}, @var{mu}, @var{sigma}) 22 ## @deftypefnx {Function File} {} lognpdf (@var{x}, @var{mu}, @var{sigma})
23 ## For each element of @var{x}, compute the probability density function 23 ## For each element of @var{x}, compute the probability density function
24 ## (PDF) at @var{x} of the lognormal distribution with parameters 24 ## (PDF) at @var{x} of the lognormal distribution with parameters
25 ## @var{mu} and @var{sigma}. If a random variable follows this distribution, 25 ## @var{mu} and @var{sigma}. If a random variable follows this distribution,
26 ## its logarithm is normally distributed with mean @var{mu} 26 ## its logarithm is normally distributed with mean @var{mu} and standard
27 ## and standard deviation @var{sigma}. 27 ## deviation @var{sigma}.
28 ## 28 ##
29 ## Default values are @var{mu} = 1, @var{sigma} = 1. 29 ## Default values are @var{mu} = 0, @var{sigma} = 1.
30 ## @end deftypefn 30 ## @end deftypefn
31 31
32 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> 32 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
33 ## Description: PDF of the log normal distribution 33 ## Description: PDF of the log normal distribution
34 34