# HG changeset patch # User Rik # Date 1238343884 25200 # Node ID 634274aaa183ec1af4e241617415c9e470cab3c2 # Parent 5d3059e2a34cf57ebf85ae1c34c2714ae3ff0555 Cleanup documentation for stats.texi Grammarcheck input .txi files Spellcheck .texi files diff --git a/doc/interpreter/stats.txi b/doc/interpreter/stats.txi --- a/doc/interpreter/stats.txi +++ b/doc/interpreter/stats.txi @@ -29,9 +29,11 @@ column is a variable. So, the matrix defined by @example +@group a = [ 0.9, 0.7; 0.1, 0.1; 0.5, 0.4 ]; +@end group @end example @noindent @@ -403,7 +405,7 @@ @tab @code{tpdf} @tab @code{tcdf} @tab @code{tinv} -@item Univariate Discrete Distribution +@item Univariate Discrete Distribution @tab @code{unidpdf} @tab @code{unidcdf} @tab @code{unidinv} diff --git a/scripts/statistics/base/mode.m b/scripts/statistics/base/mode.m --- a/scripts/statistics/base/mode.m +++ b/scripts/statistics/base/mode.m @@ -20,7 +20,7 @@ ## @deftypefn {Function File} {[@var{m}, @var{f}, @var{c}] =} mode (@var{x}, @var{dim}) ## Count the most frequently appearing value. @code{mode} counts the ## frequency along the first non-singleton dimension and if two or more -## values have te same frequency returns the smallest of the two in +## values have the same frequency returns the smallest of the two in ## @var{m}. The dimension along which to count can be specified by the ## @var{dim} parameter. ## diff --git a/scripts/statistics/base/quantile.m b/scripts/statistics/base/quantile.m --- a/scripts/statistics/base/quantile.m +++ b/scripts/statistics/base/quantile.m @@ -69,10 +69,10 @@ ## ## @itemize @bullet ## @item Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New -## S Language. Wadsworth & Brooks/Cole. +## S Language. Wadsworth & Brooks/Cole. ## ## @item Hyndman, R. J. and Fan, Y. (1996) Sample quantiles in -## statistical packages, American Statistician, 50, 361-365. +## statistical packages, American Statistician, 50, 361--365. ## ## @item R: A Language and Environment for Statistical Computing; ## @url{http://cran.r-project.org/doc/manuals/fullrefman.pdf}. diff --git a/scripts/statistics/distributions/tinv.m b/scripts/statistics/distributions/tinv.m --- a/scripts/statistics/distributions/tinv.m +++ b/scripts/statistics/distributions/tinv.m @@ -21,7 +21,7 @@ ## For each probability value @var{x}, compute the inverse of the ## cumulative distribution function (CDF) of the t (Student) ## distribution with degrees of freedom @var{n}. This function is -## analagous to looking in a table for the t-value of a single-tailed +## analogous to looking in a table for the t-value of a single-tailed ## distribution. ## @end deftypefn