Mercurial > octave-nkf
diff scripts/statistics/distributions/gamrnd.m @ 13949:0c15fece33ad
doc: Clarify binomial and gamma distribution paramters
* binocdf.m, binoinv.m, binopdf.m, binornd.m: Clarify that n is the
number of trials and p is the probability of success.
* gamcdf.m, gaminv.m, gaminv.m, gampdf.m, gamrnd.m: Clarify that a is
the shape parameter and b is the scale parameter.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Sun, 27 Nov 2011 09:01:37 -0500 |
parents | 19b9f17d22af |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/scripts/statistics/distributions/gamrnd.m Sun Nov 27 08:15:48 2011 -0500 +++ b/scripts/statistics/distributions/gamrnd.m Sun Nov 27 09:01:37 2011 -0500 @@ -23,7 +23,7 @@ ## @deftypefnx {Function File} {} gamrnd (@var{a}, @var{b}, @var{r}, @var{c}, @dots{}) ## @deftypefnx {Function File} {} gamrnd (@var{a}, @var{b}, [@var{sz}]) ## Return a matrix of random samples from the Gamma distribution with -## parameters @var{a} and @var{b}. +## shape parameter @var{a} and scale @var{b}. ## ## When called with a single size argument, return a square matrix with ## the dimension specified. When called with more than one scalar argument the