comparison scripts/statistics/base/logit.m @ 3456:434790acb067

[project @ 2000-01-19 06:58:51 by jwe]
author jwe
date Wed, 19 Jan 2000 06:59:23 +0000
parents 71d2e09c15a2
children 38c61cbf086c
comparison
equal deleted inserted replaced
3455:f758be6e1730 3456:434790acb067
18 ## @deftypefn {Function File} {} logit (@var{p}) 18 ## @deftypefn {Function File} {} logit (@var{p})
19 ## For each component of @var{p}, return the logit @code{log (@var{p} / 19 ## For each component of @var{p}, return the logit @code{log (@var{p} /
20 ## (1-@var{p}))} of @var{p}. 20 ## (1-@var{p}))} of @var{p}.
21 ## @end deftypefn 21 ## @end deftypefn
22 22
23 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 23 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at>
24 ## Description: Logit transformation 24 ## Description: Logit transformation
25 25
26 function y = logit (p) 26 function y = logit (p)
27 27
28 if (nargin == 1) 28 if (nargin == 1)
29 y = logistic_inv (p); 29 y = logistic_inv (p);