changeset 9069:634274aaa183

Cleanup documentation for stats.texi Grammarcheck input .txi files Spellcheck .texi files
author Rik <rdrider0-list@yahoo.com>
date Sun, 29 Mar 2009 09:24:44 -0700
parents 5d3059e2a34c
children e9dc2ed2ec0f
files doc/interpreter/stats.txi scripts/statistics/base/mode.m scripts/statistics/base/quantile.m scripts/statistics/distributions/tinv.m
diffstat 4 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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}
--- 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.
 ##
--- 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}.
--- 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