comparison scripts/statistics/base/logit.m @ 6754:451b346d8c2f

[project @ 2007-06-25 17:31:46 by jwe]
author jwe
date Mon, 25 Jun 2007 17:31:47 +0000
parents 34f96dd5441b
children b6e2ab6a8421
comparison
equal deleted inserted replaced
6753:a5c64dad5b93 6754:451b346d8c2f
17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 ## 02110-1301, USA. 18 ## 02110-1301, USA.
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} logit (@var{p}) 21 ## @deftypefn {Function File} {} logit (@var{p})
22 ## For each component of @var{p}, return the logit @code{log (@var{p} / 22 ## For each component of @var{p}, return the logit of @var{p} defined as
23 ## (1-@var{p}))} of @var{p}. 23 ## @iftex
24 ## @tex
25 ## $$
26 ## {\rm logit}(p) = \log\Big({p \over 1-p}\Big)
27 ## $$
28 ## @end tex
29 ## @ifnottex
30 ## @example
31 ## logit(@var{p}) = log (@var{p} / (1-@var{p}))
32 ## @end example
33 ## @end ifnottex
24 ## @end deftypefn 34 ## @end deftypefn
25 35
26 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> 36 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
27 ## Description: Logit transformation 37 ## Description: Logit transformation
28 38