Mercurial > hg > octave-nkf
comparison scripts/statistics/tests/f_test_regression.m @ 3922:38c61cbf086c
[project @ 2002-05-01 06:48:35 by jwe]
author | jwe |
---|---|
date | Wed, 01 May 2002 06:48:36 +0000 |
parents | 3e3e14ad5149 |
children | 22bd65326ec1 |
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} {[@var{pval}, @var{f}, @var{df_num}, @var{df_den}] =} f_test_regression (@var{y}, @var{x}, @var{rr}, @var{r}) | 21 ## @deftypefn {Function File} {[@var{pval}, @var{f}, @var{df_num}, @var{df_den}] =} f_test_regression (@var{y}, @var{x}, @var{rr}, @var{r}) |
19 ## Perform an F test for the null hypothesis rr * b = r in a classical | 22 ## Perform an F test for the null hypothesis rr * b = r in a classical |
20 ## normal regression model y = X * b + e. | 23 ## normal regression model y = X * b + e. |