# HG changeset patch # User Rik # Date 1392157885 28800 # Node ID 8858d0ccfc93610b6f9165fb1f960207967abc20 # Parent 4bfd44c151456c4769e3156d83ec7fca0d4a88da 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). diff -r 4bfd44c15145 -r 8858d0ccfc93 scripts/statistics/distributions/logncdf.m --- a/scripts/statistics/distributions/logncdf.m Mon Feb 10 09:41:59 2014 -0800 +++ b/scripts/statistics/distributions/logncdf.m Tue Feb 11 14:31:25 2014 -0800 @@ -20,13 +20,13 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} logncdf (@var{x}) ## @deftypefnx {Function File} {} logncdf (@var{x}, @var{mu}, @var{sigma}) -## For each element of @var{x}, compute the cumulative distribution -## function (CDF) at @var{x} of the lognormal distribution with -## parameters @var{mu} and @var{sigma}. If a random variable follows this -## distribution, its logarithm is normally distributed with mean -## @var{mu} and standard deviation @var{sigma}. +## For each element of @var{x}, compute the cumulative distribution function +## (CDF) at @var{x} of the lognormal distribution with parameters +## @var{mu} and @var{sigma}. If a random variable follows this distribution, +## its logarithm is normally distributed with mean @var{mu} and standard +## deviation @var{sigma}. ## -## Default values are @var{mu} = 1, @var{sigma} = 1. +## Default values are @var{mu} = 0, @var{sigma} = 1. ## @end deftypefn ## Author: KH diff -r 4bfd44c15145 -r 8858d0ccfc93 scripts/statistics/distributions/logninv.m --- a/scripts/statistics/distributions/logninv.m Mon Feb 10 09:41:59 2014 -0800 +++ b/scripts/statistics/distributions/logninv.m Tue Feb 11 14:31:25 2014 -0800 @@ -21,12 +21,12 @@ ## @deftypefn {Function File} {} logninv (@var{x}) ## @deftypefnx {Function File} {} logninv (@var{x}, @var{mu}, @var{sigma}) ## For each element of @var{x}, compute the quantile (the inverse of the -## CDF) at @var{x} of the lognormal distribution with parameters @var{mu} -## and @var{sigma}. If a random variable follows this distribution, its -## logarithm is normally distributed with mean @code{log (@var{mu})} and -## variance @var{sigma}. +## CDF) at @var{x} of the lognormal distribution with parameters +## @var{mu} and @var{sigma}. If a random variable follows this distribution, +## its logarithm is normally distributed with mean @var{mu} and standard +## deviation @var{sigma}. ## -## Default values are @var{mu} = 1, @var{sigma} = 1. +## Default values are @var{mu} = 0, @var{sigma} = 1. ## @end deftypefn ## Author: KH diff -r 4bfd44c15145 -r 8858d0ccfc93 scripts/statistics/distributions/lognpdf.m --- a/scripts/statistics/distributions/lognpdf.m Mon Feb 10 09:41:59 2014 -0800 +++ b/scripts/statistics/distributions/lognpdf.m Tue Feb 11 14:31:25 2014 -0800 @@ -23,10 +23,10 @@ ## For each element of @var{x}, compute the probability density function ## (PDF) at @var{x} of the lognormal distribution with parameters ## @var{mu} and @var{sigma}. If a random variable follows this distribution, -## its logarithm is normally distributed with mean @var{mu} -## and standard deviation @var{sigma}. +## its logarithm is normally distributed with mean @var{mu} and standard +## deviation @var{sigma}. ## -## Default values are @var{mu} = 1, @var{sigma} = 1. +## Default values are @var{mu} = 0, @var{sigma} = 1. ## @end deftypefn ## Author: KH