Mercurial > hg > octave-lyh
comparison scripts/statistics/base/logit.m @ 3922:38c61cbf086c
[project @ 2002-05-01 06:48:35 by jwe]
author | jwe |
---|---|
date | Wed, 01 May 2002 06:48:36 +0000 |
parents | 434790acb067 |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
3921:fb92c3b1aa3b | 3922:38c61cbf086c |
---|---|
1 ## Copyright (C) 1995, 1996, 1997 Kurt Hornik | 1 ## Copyright (C) 1995, 1996, 1997 Kurt Hornik |
2 ## | 2 ## |
3 ## This program is free software; you can redistribute it and/or modify | 3 ## This file is part of Octave. |
4 ## it under the terms of the GNU General Public License as published by | 4 ## |
5 ## Octave is free software; you can redistribute it and/or modify it | |
6 ## under the terms of the GNU General Public License as published by | |
5 ## the Free Software Foundation; either version 2, or (at your option) | 7 ## the Free Software Foundation; either version 2, or (at your option) |
6 ## any later version. | 8 ## any later version. |
7 ## | 9 ## |
8 ## This program is distributed in the hope that it will be useful, but | 10 ## Octave is distributed in the hope that it will be useful, but |
9 ## WITHOUT ANY WARRANTY; without even the implied warranty of | 11 ## WITHOUT ANY WARRANTY; without even the implied warranty of |
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
11 ## General Public License for more details. | 13 ## General Public License for more details. |
12 ## | 14 ## |
13 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
14 ## along with this file. If not, write to the Free Software Foundation, | 16 ## along with Octave; see the file COPYING. If not, write to the Free |
15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
18 ## 02111-1307, USA. | |
16 | 19 |
17 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
18 ## @deftypefn {Function File} {} logit (@var{p}) | 21 ## @deftypefn {Function File} {} logit (@var{p}) |
19 ## For each component of @var{p}, return the logit @code{log (@var{p} / | 22 ## For each component of @var{p}, return the logit @code{log (@var{p} / |
20 ## (1-@var{p}))} of @var{p}. | 23 ## (1-@var{p}))} of @var{p}. |