# HG changeset patch # User jstickel@jstickel-10631s.nrel.gov # Date 1209449126 14400 # Node ID 15d3a35b8ff1c335e2e7cc244f56b50c27b035af # Parent a059b5679fbbb2a19bd5a643f1f2671068631df7 updated help for tcdf and tinv diff -r a059b5679fbb -r 15d3a35b8ff1 scripts/ChangeLog --- a/scripts/ChangeLog Fri Apr 25 15:11:03 2008 -0400 +++ b/scripts/ChangeLog Tue Apr 29 02:05:26 2008 -0400 @@ -1,3 +1,8 @@ +2008-04-29 Jonathan Stickel + + * statistics/distributions/tcdf.m, statistics/distributions/tinv.m: + Doc fix. + 2008-04-25 John W. Eaton * miscellaneous/dbstack.m: New function. diff -r a059b5679fbb -r 15d3a35b8ff1 scripts/statistics/distributions/tcdf.m --- a/scripts/statistics/distributions/tcdf.m Fri Apr 25 15:11:03 2008 -0400 +++ b/scripts/statistics/distributions/tcdf.m Tue Apr 29 02:05:26 2008 -0400 @@ -18,9 +18,9 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} tcdf (@var{x}, @var{n}) -## For each element of @var{x}, compute the CDF at @var{x} of the -## t (Student) distribution with @var{n} degrees of freedom, i.e., -## PROB (t(@var{n}) <= @var{x}). +## For each element of @var{x}, compute the cumulative distribution +## function (CDF) at @var{x} of the t (Student) distribution with +## @var{n} degrees of freedom, i.e., PROB (t(@var{n}) <= @var{x}). ## @end deftypefn ## Author: KH diff -r a059b5679fbb -r 15d3a35b8ff1 scripts/statistics/distributions/tinv.m --- a/scripts/statistics/distributions/tinv.m Fri Apr 25 15:11:03 2008 -0400 +++ b/scripts/statistics/distributions/tinv.m Tue Apr 29 02:05:26 2008 -0400 @@ -18,9 +18,11 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} tinv (@var{x}, @var{n}) -## For each component of @var{x}, compute the quantile (the inverse of -## the CDF) at @var{x} of the t (Student) distribution with parameter -## @var{n}. +## For each probability value @var{x}, compute the 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 +## distribution. ## @end deftypefn ## For very large n, the "correct" formula does not really work well,