1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<html lang="en">
<head>
<title>Statistics - GNU Octave</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Octave">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="prev" href="Optimization.html#Optimization" title="Optimization">
<link rel="next" href="Sets.html#Sets" title="Sets">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Statistics"></a>
<p>
Next: <a rel="next" accesskey="n" href="Sets.html#Sets">Sets</a>,
Previous: <a rel="previous" accesskey="p" href="Optimization.html#Optimization">Optimization</a>,
Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
<hr>
</div>
<h2 class="chapter">26 Statistics</h2>
<p>Octave has support for various statistical methods. This includes
basic descriptive statistics, probability distributions, statistical tests,
random number generation, and much more.
<p>The functions that analyze data all assume that multi-dimensional data
is arranged in a matrix where each row is an observation, and each
column is a variable. Thus, the matrix defined by
<pre class="example"> a = [ 0.9, 0.7;
0.1, 0.1;
0.5, 0.4 ];
</pre>
<p class="noindent">contains three observations from a two-dimensional distribution.
While this is the default data arrangement, most functions support
different arrangements.
<p>It should be noted that the statistics functions don't test for data
containing NaN, NA, or Inf. These values need to be detected and dealt
with explicitly. See <a href="doc_002disnan.html#doc_002disnan">isnan</a>, <a href="doc_002disna.html#doc_002disna">isna</a>,
<a href="doc_002disinf.html#doc_002disinf">isinf</a>, <a href="doc_002disfinite.html#doc_002disfinite">isfinite</a>.
<ul class="menu">
<li><a accesskey="1" href="Descriptive-Statistics.html#Descriptive-Statistics">Descriptive Statistics</a>
<li><a accesskey="2" href="Basic-Statistical-Functions.html#Basic-Statistical-Functions">Basic Statistical Functions</a>
<li><a accesskey="3" href="Statistical-Plots.html#Statistical-Plots">Statistical Plots</a>
<li><a accesskey="4" href="Correlation-and-Regression-Analysis.html#Correlation-and-Regression-Analysis">Correlation and Regression Analysis</a>
<li><a accesskey="5" href="Distributions.html#Distributions">Distributions</a>
<li><a accesskey="6" href="Tests.html#Tests">Tests</a>
<li><a accesskey="7" href="Random-Number-Generation.html#Random-Number-Generation">Random Number Generation</a>
</ul>
</body></html>
|