annotate doc/interpreter/stats.txi @ 12569:6ef23b4a3402

Add quantile, prctile functions to documentation.
author Rik <octave@nomad.inbox5.com>
date Sat, 02 Apr 2011 13:37:52 -0700
parents 06cebc991966
children f9b7aa3b88f8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11523
fd0a3ac60b0e update copyright notices
John W. Eaton <jwe@octave.org>
parents: 11447
diff changeset
1 @c Copyright (C) 1996-2011 John W. Eaton
7018
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
2 @c
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
3 @c This file is part of Octave.
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
4 @c
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
5 @c Octave is free software; you can redistribute it and/or modify it
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
6 @c under the terms of the GNU General Public License as published by the
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
7 @c Free Software Foundation; either version 3 of the License, or (at
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
8 @c your option) any later version.
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
9 @c
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
10 @c Octave is distributed in the hope that it will be useful, but WITHOUT
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
11 @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
12 @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
13 @c for more details.
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
14 @c
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
15 @c You should have received a copy of the GNU General Public License
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
16 @c along with Octave; see the file COPYING. If not, see
fd42779a8428 [project @ 2007-10-13 00:52:12 by jwe]
jwe
parents: 6939
diff changeset
17 @c <http://www.gnu.org/licenses/>.
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
18
4167
aae05d51353c [project @ 2002-11-12 02:52:50 by jwe]
jwe
parents: 3456
diff changeset
19 @node Statistics
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
20 @chapter Statistics
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
21
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
22 Octave has support for various statistical methods. This includes
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
23 basic descriptive statistics, probability distributions, statistical tests,
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
24 random number generation, and much more.
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
25
11573
6f8ffe2c6f76 Grammarcheck txi files for 3.4 release.
Rik <octave@nomad.inbox5.com>
parents: 11544
diff changeset
26 The functions that analyze data all assume that multi-dimensional data
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
27 is arranged in a matrix where each row is an observation, and each
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
28 column is a variable. Thus, the matrix defined by
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
29
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
30 @example
9069
634274aaa183 Cleanup documentation for stats.texi
Rik <rdrider0-list@yahoo.com>
parents: 8932
diff changeset
31 @group
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
32 a = [ 0.9, 0.7;
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
33 0.1, 0.1;
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
34 0.5, 0.4 ];
9069
634274aaa183 Cleanup documentation for stats.texi
Rik <rdrider0-list@yahoo.com>
parents: 8932
diff changeset
35 @end group
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
36 @end example
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
37
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
38 @noindent
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
39 contains three observations from a two-dimensional distribution.
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
40 While this is the default data arrangement, most functions support
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
41 different arrangements.
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
42
8828
8463d1a2e544 Doc fixes.
Brian Gough <bjg@network-theory.co.uk>
parents: 7643
diff changeset
43 It should be noted that the statistics functions don't test for data
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
44 containing NaN, NA, or Inf. These values need to be detected and dealt
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
45 with explicitly. See @ref{doc-isnan,,isnan}, @ref{doc-isna,,isna},
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
46 @ref{doc-isinf,,isinf}, @ref{doc-isfinite,,isfinite}.
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
47
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
48 @menu
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
49 * Descriptive Statistics::
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
50 * Basic Statistical Functions::
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
51 * Statistical Plots::
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
52 * Correlation and Regression Analysis::
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
53 * Distributions::
3454
d8b731d3f7a3 [project @ 2000-01-18 10:13:31 by jwe]
jwe
parents: 3453
diff changeset
54 * Tests::
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
55 * Random Number Generation::
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
56 @end menu
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
57
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
58 @node Descriptive Statistics
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
59 @section Descriptive Statistics
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
60
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
61 One principal goal of descriptive statistics is to represent the essence of a
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
62 large data set concisely. Octave provides the mean, median, and mode functions
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
63 which all summarize a data set with just a single number corresponding to
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
64 the central tendency of the data.
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
65
3367
0748b03c3510 [project @ 1999-11-20 14:52:38 by jwe]
jwe
parents: 3294
diff changeset
66 @DOCSTRING(mean)
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
67
3367
0748b03c3510 [project @ 1999-11-20 14:52:38 by jwe]
jwe
parents: 3294
diff changeset
68 @DOCSTRING(median)
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
69
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
70 @DOCSTRING(mode)
7643
0220da981c2a Modified statistics to calculate consistent median.
Ben Abbott <bpabbott@mac.com>
parents: 7081
diff changeset
71
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
72 Using just one number, such as the mean, to represent an entire data set may
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
73 not give an accurate picture of the data. One way to characterize the fit is
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
74 to measure the dispersion of the data. Octave provides several functions for
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
75 measuring dispersion.
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
76
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
77 @DOCSTRING(range)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
78
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
79 @DOCSTRING(iqr)
7643
0220da981c2a Modified statistics to calculate consistent median.
Ben Abbott <bpabbott@mac.com>
parents: 7081
diff changeset
80
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
81 @DOCSTRING(meansq)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
82
3367
0748b03c3510 [project @ 1999-11-20 14:52:38 by jwe]
jwe
parents: 3294
diff changeset
83 @DOCSTRING(std)
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
84
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
85 In addition to knowing the size of a dispersion it is useful to know the shape
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
86 of the data set. For example, are data points massed to the left or right
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
87 of the mean? Octave provides several common measures to describe the shape
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
88 of the data set. Octave can also calculate moments allowing arbitrary shape
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
89 measures to be developed.
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
90
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
91 @DOCSTRING(var)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
92
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
93 @DOCSTRING(skewness)
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
94
3367
0748b03c3510 [project @ 1999-11-20 14:52:38 by jwe]
jwe
parents: 3294
diff changeset
95 @DOCSTRING(kurtosis)
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
96
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
97 @DOCSTRING(moment)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
98
12569
6ef23b4a3402 Add quantile, prctile functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 12532
diff changeset
99 @DOCSTRING(quantile)
6ef23b4a3402 Add quantile, prctile functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 12532
diff changeset
100
6ef23b4a3402 Add quantile, prctile functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 12532
diff changeset
101 @DOCSTRING(prctile)
6ef23b4a3402 Add quantile, prctile functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 12532
diff changeset
102
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
103 A summary view of a data set can be generated quickly with the
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
104 @code{statistics} function.
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
105
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
106 @DOCSTRING(statistics)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
107
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
108 @node Basic Statistical Functions
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
109 @section Basic Statistical Functions
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
110
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
111 Octave supports various helpful statistical functions. Many are useful as
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
112 initial steps to prepare a data set for further analysis. Others provide
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
113 different measures from those of the basic descriptive statistics.
3294
bfe1573bd2ae [project @ 1999-10-19 10:06:07 by jwe]
jwe
parents:
diff changeset
114
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
115 @DOCSTRING(center)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
116
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
117 @DOCSTRING(studentize)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
118
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
119 @DOCSTRING(histc)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
120
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
121 @DOCSTRING(cut)
6550
1b7a6061a05d [project @ 2007-04-20 07:40:26 by jwe]
jwe
parents: 6502
diff changeset
122
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
123 @c FIXME: really want to put a reference to unique here
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
124 @c @DOCSTRING(values)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
125
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
126 @DOCSTRING(nchoosek)
8932
2d0f8692a82e Add the 'histc' function
Soren Hauberg <hauberg@gmail.com>
parents: 8920
diff changeset
127
6550
1b7a6061a05d [project @ 2007-04-20 07:40:26 by jwe]
jwe
parents: 6502
diff changeset
128 @DOCSTRING(perms)
1b7a6061a05d [project @ 2007-04-20 07:40:26 by jwe]
jwe
parents: 6502
diff changeset
129
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
130 @DOCSTRING(ranks)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
131
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
132 @DOCSTRING(run_count)
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
133
12532
06cebc991966 Add runlength function to documentation.
Rik <octave@nomad.inbox5.com>
parents: 12495
diff changeset
134 @DOCSTRING(runlength)
06cebc991966 Add runlength function to documentation.
Rik <octave@nomad.inbox5.com>
parents: 12495
diff changeset
135
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
136 @DOCSTRING(probit)
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
137
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
138 @DOCSTRING(logit)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
139
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
140 @DOCSTRING(cloglog)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
141
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
142 @DOCSTRING(mahalanobis)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
143
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
144 @DOCSTRING(table)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
145
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
146 @node Statistical Plots
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
147 @section Statistical Plots
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
148
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
149 @c Should hist be moved to here, or perhaps the qqplot and ppplot
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
150 @c functions should be moved to the Plotting Chapter?
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
151
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
152 Octave can create Quantile Plots (QQ-Plots), and Probability Plots
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
153 (PP-Plots). These are simple graphical tests for determining if a
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
154 data set comes from a certain distribution.
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
155
8828
8463d1a2e544 Doc fixes.
Brian Gough <bjg@network-theory.co.uk>
parents: 7643
diff changeset
156 Note that Octave can also show histograms of data
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
157 using the @code{hist} function as described in
6888
b3d286e8a243 [project @ 2007-09-12 06:40:58 by jwe]
jwe
parents: 6863
diff changeset
158 @ref{Two-Dimensional Plots}.
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
159
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
160 @DOCSTRING(qqplot)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
161
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
162 @DOCSTRING(ppplot)
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
163
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
164 @node Correlation and Regression Analysis
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
165 @section Correlation and Regression Analysis
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
166
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
167 @c FIXME: Need Intro Here
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
168
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
169 @DOCSTRING(cov)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
170
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
171 @DOCSTRING(cor)
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
172
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
173 @DOCSTRING(corrcoef)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
174
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
175 @DOCSTRING(spearman)
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
176
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
177 @DOCSTRING(kendall)
3454
d8b731d3f7a3 [project @ 2000-01-18 10:13:31 by jwe]
jwe
parents: 3453
diff changeset
178
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
179 @c FIXME: Need discussion of ols & gls and references to them in optim.txi
3454
d8b731d3f7a3 [project @ 2000-01-18 10:13:31 by jwe]
jwe
parents: 3453
diff changeset
180
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
181
3454
d8b731d3f7a3 [project @ 2000-01-18 10:13:31 by jwe]
jwe
parents: 3453
diff changeset
182 @DOCSTRING(logistic_regression)
d8b731d3f7a3 [project @ 2000-01-18 10:13:31 by jwe]
jwe
parents: 3453
diff changeset
183
4167
aae05d51353c [project @ 2002-11-12 02:52:50 by jwe]
jwe
parents: 3456
diff changeset
184 @node Distributions
3453
71d2e09c15a2 [project @ 2000-01-18 08:32:09 by jwe]
jwe
parents: 3439
diff changeset
185 @section Distributions
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
186
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
187 Octave has functions for computing the Probability Density Function
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
188 (PDF), the Cumulative Distribution function (CDF), and the quantile
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
189 (the inverse of the CDF) for a large number of distributions.
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
190
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
191 The following table summarizes the supported distributions (in
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
192 alphabetical order).
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
193
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
194 @tex
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
195 \vskip 6pt
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
196 {\hbox to \hsize {\hfill\vbox{\offinterlineskip \tabskip=0pt
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
197 \halign{
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
198 \vrule height2.0ex depth1.ex width 0.6pt #\tabskip=0.3em &
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
199 # \hfil & \vrule # & # \hfil & \vrule # & # \hfil & \vrule # & # \hfil &
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
200 # \vrule width 0.6pt \tabskip=0pt\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
201 \noalign{\hrule height 0.6pt}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
202 & {\bf Distribution} && {\bf PDF} && {\bf CDF} && {\bf Quantile}&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
203 \noalign{\hrule}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
204 &Beta && betapdf && betacdf && betainv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
205 &Binomial && binopdf && binocdf && binoinv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
206 &Cauchy && cauchy\_pdf && cauchy\_cdf && cauchy\_inv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
207 &Chi-Square && chi2pdf && chi2cdf && chi2inv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
208 &Univariate Discrete && discrete\_pdf && discrete\_cdf && discrete\_inv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
209 &Empirical && empirical\_pdf && empirical\_cdf && empirical\_inv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
210 &Exponential && exppdf && expcdf && expinv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
211 &F && fpdf && fcdf && finv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
212 &Gamma && gampdf && gamcdf && gaminv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
213 &Geometric && geopdf && geocdf && geoinv&\cr
12495
4675ce154a55 Correctly refer to "discrete uniform" distribution in documentation.
Rik <octave@nomad.inbox5.com>
parents: 11573
diff changeset
214 &Hypergeometric && hygepdf && hygecdf && hygeinv&\cr
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
215 &Kolmogorov Smirnov && {\it Not Available} && kolmogorov\_&& {\it Not Available}&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
216 & && && smirnov\_cdf &&&\cr
12495
4675ce154a55 Correctly refer to "discrete uniform" distribution in documentation.
Rik <octave@nomad.inbox5.com>
parents: 11573
diff changeset
217 &Laplace && laplace\_pdf && laplace\_cdf && laplace\_inv&\cr
4675ce154a55 Correctly refer to "discrete uniform" distribution in documentation.
Rik <octave@nomad.inbox5.com>
parents: 11573
diff changeset
218 &Logistic && logistic\_pdf && logistic\_cdf && logistic\_inv&\cr
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
219 &Log-Normal && lognpdf && logncdf && logninv&\cr
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
220 &Univariate Normal && normpdf && normcdf && norminv&\cr
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
221 &Pascal && nbinpdf && nbincdf && nbininv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
222 &Poisson && poisspdf && poisscdf && poissinv&\cr
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
223 &Standard Normal && stdnormal\_pdf && stdnormal\_cdf && stdnormal\_inv&\cr
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
224 &t (Student) && tpdf && tcdf && tinv&\cr
12495
4675ce154a55 Correctly refer to "discrete uniform" distribution in documentation.
Rik <octave@nomad.inbox5.com>
parents: 11573
diff changeset
225 &Uniform Discrete && unidpdf && unidcdf && unidinv&\cr
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
226 &Uniform && unifpdf && unifcdf && unifinv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
227 &Weibull && wblpdf && wblcdf && wblinv&\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
228 \noalign{\hrule height 0.6pt}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
229 }}\hfill}}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
230 @end tex
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
231 @ifnottex
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
232 @multitable @columnfractions .31 .23 .23 .23
11447
76f15f3da207 Use @headitem macro to create column heads for @multitable entries.
Rik <octave@nomad.inbox5.com>
parents: 11436
diff changeset
233 @headitem Distribution
76f15f3da207 Use @headitem macro to create column heads for @multitable entries.
Rik <octave@nomad.inbox5.com>
parents: 11436
diff changeset
234 @tab PDF
76f15f3da207 Use @headitem macro to create column heads for @multitable entries.
Rik <octave@nomad.inbox5.com>
parents: 11436
diff changeset
235 @tab CDF
76f15f3da207 Use @headitem macro to create column heads for @multitable entries.
Rik <octave@nomad.inbox5.com>
parents: 11436
diff changeset
236 @tab Quantile
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
237 @item Beta Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
238 @tab @code{betapdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
239 @tab @code{betacdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
240 @tab @code{betainv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
241 @item Binomial Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
242 @tab @code{binopdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
243 @tab @code{binocdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
244 @tab @code{binoinv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
245 @item Cauchy Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
246 @tab @code{cauchy_pdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
247 @tab @code{cauchy_cdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
248 @tab @code{cauchy_inv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
249 @item Chi-Square Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
250 @tab @code{chi2pdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
251 @tab @code{chi2cdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
252 @tab @code{chi2inv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
253 @item Univariate Discrete Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
254 @tab @code{discrete_pdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
255 @tab @code{discrete_cdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
256 @tab @code{discrete_inv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
257 @item Empirical Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
258 @tab @code{empirical_pdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
259 @tab @code{empirical_cdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
260 @tab @code{empirical_inv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
261 @item Exponential Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
262 @tab @code{exppdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
263 @tab @code{expcdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
264 @tab @code{expinv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
265 @item F Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
266 @tab @code{fpdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
267 @tab @code{fcdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
268 @tab @code{finv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
269 @item Gamma Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
270 @tab @code{gampdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
271 @tab @code{gamcdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
272 @tab @code{gaminv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
273 @item Geometric Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
274 @tab @code{geopdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
275 @tab @code{geocdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
276 @tab @code{geoinv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
277 @item Hypergeometric Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
278 @tab @code{hygepdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
279 @tab @code{hygecdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
280 @tab @code{hygeinv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
281 @item Kolmogorov Smirnov Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
282 @tab @emph{Not Available}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
283 @tab @code{kolmogorov_smirnov_cdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
284 @tab @emph{Not Available}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
285 @item Laplace Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
286 @tab @code{laplace_pdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
287 @tab @code{laplace_cdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
288 @tab @code{laplace_inv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
289 @item Logistic Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
290 @tab @code{logistic_pdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
291 @tab @code{logistic_cdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
292 @tab @code{logistic_inv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
293 @item Log-Normal Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
294 @tab @code{lognpdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
295 @tab @code{logncdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
296 @tab @code{logninv}
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
297 @item Univariate Normal Distribution
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
298 @tab @code{normpdf}
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
299 @tab @code{normcdf}
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
300 @tab @code{norminv}
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
301 @item Pascal Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
302 @tab @code{nbinpdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
303 @tab @code{nbincdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
304 @tab @code{nbininv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
305 @item Poisson Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
306 @tab @code{poisspdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
307 @tab @code{poisscdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
308 @tab @code{poissinv}
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
309 @item Standard Normal Distribution
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
310 @tab @code{stdtormal_pdf}
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
311 @tab @code{stdtormal_cdf}
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
312 @tab @code{stdtormal_inv}
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
313 @item t (Student) Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
314 @tab @code{tpdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
315 @tab @code{tcdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
316 @tab @code{tinv}
9069
634274aaa183 Cleanup documentation for stats.texi
Rik <rdrider0-list@yahoo.com>
parents: 8932
diff changeset
317 @item Univariate Discrete Distribution
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
318 @tab @code{unidpdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
319 @tab @code{unidcdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
320 @tab @code{unidinv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
321 @item Uniform Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
322 @tab @code{unifpdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
323 @tab @code{unifcdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
324 @tab @code{unifinv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
325 @item Weibull Distribution
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
326 @tab @code{wblpdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
327 @tab @code{wblcdf}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
328 @tab @code{wblinv}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
329 @end multitable
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
330 @end ifnottex
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
331
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
332 @DOCSTRING(betapdf)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
333
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
334 @DOCSTRING(betacdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
335
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
336 @DOCSTRING(betainv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
337
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
338 @DOCSTRING(binopdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
339
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
340 @DOCSTRING(binocdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
341
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
342 @DOCSTRING(binoinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
343
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
344 @DOCSTRING(cauchy_pdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
345
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
346 @DOCSTRING(cauchy_cdf)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
347
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
348 @DOCSTRING(cauchy_inv)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
349
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
350 @DOCSTRING(chi2pdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
351
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
352 @DOCSTRING(chi2cdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
353
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
354 @DOCSTRING(chi2inv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
355
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
356 @DOCSTRING(discrete_pdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
357
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
358 @DOCSTRING(discrete_cdf)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
359
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
360 @DOCSTRING(discrete_inv)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
361
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
362 @DOCSTRING(empirical_pdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
363
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
364 @DOCSTRING(empirical_cdf)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
365
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
366 @DOCSTRING(empirical_inv)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
367
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
368 @DOCSTRING(exppdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
369
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
370 @DOCSTRING(expcdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
371
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
372 @DOCSTRING(expinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
373
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
374 @DOCSTRING(fpdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
375
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
376 @DOCSTRING(fcdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
377
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
378 @DOCSTRING(finv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
379
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
380 @DOCSTRING(gampdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
381
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
382 @DOCSTRING(gamcdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
383
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
384 @DOCSTRING(gaminv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
385
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
386 @DOCSTRING(geopdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
387
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
388 @DOCSTRING(geocdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
389
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
390 @DOCSTRING(geoinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
391
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
392 @DOCSTRING(hygepdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
393
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
394 @DOCSTRING(hygecdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
395
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
396 @DOCSTRING(hygeinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
397
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
398 @DOCSTRING(kolmogorov_smirnov_cdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
399
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
400 @DOCSTRING(laplace_pdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
401
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
402 @DOCSTRING(laplace_cdf)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
403
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
404 @DOCSTRING(laplace_inv)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
405
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
406 @DOCSTRING(logistic_pdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
407
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
408 @DOCSTRING(logistic_cdf)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
409
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
410 @DOCSTRING(logistic_inv)
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
411
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
412 @DOCSTRING(lognpdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
413
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
414 @DOCSTRING(logncdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
415
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
416 @DOCSTRING(logninv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
417
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
418 @DOCSTRING(nbinpdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
419
6502
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
420 @DOCSTRING(nbincdf)
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
421
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
422 @DOCSTRING(nbininv)
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
423
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
424 @DOCSTRING(normpdf)
6502
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
425
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
426 @DOCSTRING(normcdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
427
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
428 @DOCSTRING(norminv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
429
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
430 @DOCSTRING(poisspdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
431
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
432 @DOCSTRING(poisscdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
433
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
434 @DOCSTRING(poissinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
435
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
436 @DOCSTRING(stdnormal_pdf)
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
437
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
438 @DOCSTRING(stdnormal_cdf)
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
439
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
440 @DOCSTRING(stdnormal_inv)
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
441
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
442 @DOCSTRING(tpdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
443
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
444 @DOCSTRING(tcdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
445
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
446 @DOCSTRING(tinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
447
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
448 @DOCSTRING(unidpdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
449
6502
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
450 @DOCSTRING(unidcdf)
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
451
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
452 @DOCSTRING(unidinv)
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
453
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
454 @DOCSTRING(unifpdf)
6502
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
455
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
456 @DOCSTRING(unifcdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
457
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
458 @DOCSTRING(unifinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
459
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
460 @DOCSTRING(wblpdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
461
6502
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
462 @DOCSTRING(wblcdf)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
463
6502
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
464 @DOCSTRING(wblinv)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
465
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
466 @node Tests
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
467 @section Tests
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
468
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
469 Octave can perform many different statistical tests. The following
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
470 table summarizes the available tests.
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
471
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
472 @tex
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
473 \vskip 6pt
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
474 {\hbox to \hsize {\hfill\vbox{\offinterlineskip \tabskip=0pt
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
475 \halign{
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
476 \vrule height2.0ex depth1.ex width 0.6pt #\tabskip=0.3em &
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
477 # \hfil & \vrule # & # \hfil & # \vrule width 0.6pt \tabskip=0pt\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
478 \noalign{\hrule height 0.6pt}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
479 & @strong{Hypothesis} && {\bf Test Functions} &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
480 \noalign{\hrule}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
481 & Equal mean values && anova, hotelling\_test2, t\_test\_2, &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
482 & && welch\_test, wilcoxon\_test, z\_test\_2 &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
483 & Equal medians && kruskal\_wallis\_test, sign\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
484 & Equal variances && bartlett\_test, manova, var\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
485 & Equal distributions && chisquare\_test\_homogeneity, &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
486 & && kolmogorov\_smirnov\_test\_2, u\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
487 & Equal marginal frequencies && mcnemar\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
488 & Equal success probabilities && prop\_test\_2 &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
489 & Independent observations && chisquare\_test\_independence, &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
490 & && run\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
491 & Uncorrelated observations && cor\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
492 & Given mean value && hotelling\_test, t\_test, z\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
493 & Observations from distribution && kolmogorov\_smirnov\_test &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
494 & Regression && f\_test\_regression, t\_test\_regression &\cr
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
495 \noalign{\hrule height 0.6pt}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
496 }}\hfill}}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
497 @end tex
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
498 @ifnottex
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
499 @multitable @columnfractions .4 .5
11447
76f15f3da207 Use @headitem macro to create column heads for @multitable entries.
Rik <octave@nomad.inbox5.com>
parents: 11436
diff changeset
500 @headitem Hypothesis
76f15f3da207 Use @headitem macro to create column heads for @multitable entries.
Rik <octave@nomad.inbox5.com>
parents: 11436
diff changeset
501 @tab Test Functions
11436
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
502 @item Equal mean values
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
503 @tab @code{anova}, @code{hotelling_test2}, @code{t_test_2},
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
504 @code{welch_test}, @code{wilcoxon_test}, @code{z_test_2}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
505 @item Equal medians
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
506 @tab @code{kruskal_wallis_test}, @code{sign_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
507 @item Equal variances
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
508 @tab @code{bartlett_test}, @code{manova}, @code{var_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
509 @item Equal distributions
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
510 @tab @code{chisquare_test_homogeneity}, @code{kolmogorov_smirnov_test_2},
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
511 @code{u_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
512 @item Equal marginal frequencies
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
513 @tab @code{mcnemar_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
514 @item Equal success probabilities
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
515 @tab @code{prop_test_2}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
516 @item Independent observations
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
517 @tab @code{chisquare_test_independence}, @code{run_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
518 @item Uncorrelated observations
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
519 @tab @code{cor_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
520 @item Given mean value
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
521 @tab @code{hotelling_test}, @code{t_test}, @code{z_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
522 @item Observations from given distribution
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
523 @tab @code{kolmogorov_smirnov_test}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
524 @item Regression
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
525 @tab @code{f_test_regression}, @code{t_test_regression}
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
526 @end multitable
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
527 @end ifnottex
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
528
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
529 The tests return a p-value that describes the outcome of the test.
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
530 Assuming that the test hypothesis is true, the p-value is the probability
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
531 of obtaining a worse result than the observed one. So large p-values
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
532 corresponds to a successful test. Usually a test hypothesis is accepted
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
533 if the p-value exceeds 0.05.
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
534
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
535 @DOCSTRING(anova)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
536
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
537 @DOCSTRING(bartlett_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
538
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
539 @DOCSTRING(chisquare_test_homogeneity)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
540
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
541 @DOCSTRING(chisquare_test_independence)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
542
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
543 @DOCSTRING(cor_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
544
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
545 @DOCSTRING(f_test_regression)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
546
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
547 @DOCSTRING(hotelling_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
548
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
549 @DOCSTRING(hotelling_test_2)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
550
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
551 @DOCSTRING(kolmogorov_smirnov_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
552
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
553 @DOCSTRING(kolmogorov_smirnov_test_2)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
554
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
555 @DOCSTRING(kruskal_wallis_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
556
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
557 @DOCSTRING(manova)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
558
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
559 @DOCSTRING(mcnemar_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
560
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
561 @DOCSTRING(prop_test_2)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
562
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
563 @DOCSTRING(run_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
564
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
565 @DOCSTRING(sign_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
566
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
567 @DOCSTRING(t_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
568
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
569 @DOCSTRING(t_test_2)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
570
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
571 @DOCSTRING(t_test_regression)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
572
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
573 @DOCSTRING(u_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
574
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
575 @DOCSTRING(var_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
576
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
577 @DOCSTRING(welch_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
578
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
579 @DOCSTRING(wilcoxon_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
580
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
581 @DOCSTRING(z_test)
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
582
e151e23f73bc Overhaul base statistics functions and documentation of same.
Rik <octave@nomad.inbox5.com>
parents: 11392
diff changeset
583 @DOCSTRING(z_test_2)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
584
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
585 @node Random Number Generation
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
586 @section Random Number Generation
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
587
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
588 Octave can generate random numbers from a large number of distributions.
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
589 The random number generators are based on the random number generators
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
590 described in @ref{Special Utility Matrices}.
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
591 @c Should rand, randn, rande, randp, and randg be moved to here?
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
592
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
593 The following table summarizes the available random number generators
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
594 (in alphabetical order).
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
595
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
596 @tex
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
597 \vskip 6pt
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
598 {\hbox to \hsize {\hfill\vbox{\offinterlineskip \tabskip=0pt
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
599 \halign{
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
600 \vrule height2.0ex depth1.ex width 0.6pt #\tabskip=0.3em &
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
601 # \hfil & \vrule # & # \hfil & # \vrule width 0.6pt \tabskip=0pt\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
602 \noalign{\hrule height 0.6pt}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
603 & {\bf Distribution} && {\bf Function} &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
604 \noalign{\hrule}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
605 & Beta Distribution && betarnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
606 & Binomial Distribution && binornd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
607 & Cauchy Distribution && cauchy\_rnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
608 & Chi-Square Distribution && chi2rnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
609 & Univariate Discrete Distribution && discrete\_rnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
610 & Empirical Distribution && empirical\_rnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
611 & Exponential Distribution && exprnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
612 & F Distribution && frnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
613 & Gamma Distribution && gamrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
614 & Geometric Distribution && geornd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
615 & Hypergeometric Distribution && hygernd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
616 & Laplace Distribution && laplace\_rnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
617 & Logistic Distribution && logistic\_rnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
618 & Log-Normal Distribution && lognrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
619 & Pascal Distribution && nbinrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
620 & Univariate Normal Distribution && normrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
621 & Poisson Distribution && poissrnd &\cr
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
622 & Standard Normal Distribution && stdnormal\_rnd &\cr
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
623 & t (Student) Distribution && trnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
624 & Univariate Discrete Distribution && unidrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
625 & Uniform Distribution && unifrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
626 & Weibull Distribution && wblrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
627 & Wiener Process && wienrnd &\cr
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
628 \noalign{\hrule height 0.6pt}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
629 }}\hfill}}
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
630 @end tex
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
631 @ifnottex
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
632 @multitable @columnfractions .4 .3
11447
76f15f3da207 Use @headitem macro to create column heads for @multitable entries.
Rik <octave@nomad.inbox5.com>
parents: 11436
diff changeset
633 @headitem Distribution @tab Function
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
634 @item Beta Distribution @tab @code{betarnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
635 @item Binomial Distribution @tab @code{binornd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
636 @item Cauchy Distribution @tab @code{cauchy_rnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
637 @item Chi-Square Distribution @tab @code{chi2rnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
638 @item Univariate Discrete Distribution @tab @code{discrete_rnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
639 @item Empirical Distribution @tab @code{empirical_rnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
640 @item Exponential Distribution @tab @code{exprnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
641 @item F Distribution @tab @code{frnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
642 @item Gamma Distribution @tab @code{gamrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
643 @item Geometric Distribution @tab @code{geornd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
644 @item Hypergeometric Distribution @tab @code{hygernd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
645 @item Laplace Distribution @tab @code{laplace_rnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
646 @item Logistic Distribution @tab @code{logistic_rnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
647 @item Log-Normal Distribution @tab @code{lognrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
648 @item Pascal Distribution @tab @code{nbinrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
649 @item Univariate Normal Distribution @tab @code{normrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
650 @item Poisson Distribution @tab @code{poissrnd}
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
651 @item Standard Normal Distribution @tab @code{stdnormal_rnd}
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
652 @item t (Student) Distribution @tab @code{trnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
653 @item Univariate Discrete Distribution @tab @code{unidrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
654 @item Uniform Distribution @tab @code{unifrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
655 @item Weibull Distribution @tab @code{wblrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
656 @item Wiener Process @tab @code{wienrnd}
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
657 @end multitable
7081
503001863427 [project @ 2007-10-31 01:08:14 by jwe]
jwe
parents: 7018
diff changeset
658 @end ifnottex
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
659
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
660 @DOCSTRING(betarnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
661
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
662 @DOCSTRING(binornd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
663
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
664 @DOCSTRING(cauchy_rnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
665
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
666 @DOCSTRING(chi2rnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
667
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
668 @DOCSTRING(discrete_rnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
669
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
670 @DOCSTRING(empirical_rnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
671
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
672 @DOCSTRING(exprnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
673
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
674 @DOCSTRING(frnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
675
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
676 @DOCSTRING(gamrnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
677
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
678 @DOCSTRING(geornd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
679
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
680 @DOCSTRING(hygernd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
681
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
682 @DOCSTRING(laplace_rnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
683
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
684 @DOCSTRING(logistic_rnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
685
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
686 @DOCSTRING(lognrnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
687
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
688 @DOCSTRING(nbinrnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
689
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
690 @DOCSTRING(normrnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
691
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
692 @DOCSTRING(poissrnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
693
11544
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
694 @DOCSTRING(stdnormal_rnd)
8f90ffe3c5f9 Add stdnormal_xxx family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents: 11523
diff changeset
695
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
696 @DOCSTRING(trnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
697
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
698 @DOCSTRING(unidrnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
699
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
700 @DOCSTRING(unifrnd)
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
701
6502
6ab0a8767780 [project @ 2007-04-06 03:32:06 by jwe]
jwe
parents: 5775
diff changeset
702 @DOCSTRING(wblrnd)
3456
434790acb067 [project @ 2000-01-19 06:58:51 by jwe]
jwe
parents: 3454
diff changeset
703
5412
48b81cd789f2 [project @ 2005-07-13 19:25:43 by jwe]
jwe
parents: 5041
diff changeset
704 @DOCSTRING(wienrnd)
6754
451b346d8c2f [project @ 2007-06-25 17:31:46 by jwe]
jwe
parents: 6618
diff changeset
705