[gnumeric] Fix ZTEST description. [#614746]



commit 0b35b7b7094215344f474fa7b674e2073615f9ad
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Mon Apr 5 12:48:02 2010 -0600

    Fix ZTEST description. [#614746]
    
    2010-04-04  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* functions.c (help_ztest): fix description. [#614746]
    	(help_permutationa): Fix ODF string

 NEWS                        |    1 +
 plugins/fn-stat/ChangeLog   |    5 +++++
 plugins/fn-stat/functions.c |   13 +++++++++----
 3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/NEWS b/NEWS
index 80632df..74409de 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Andreas:
 	* Implement first letter capitalization. [#613768]
 	* Extend regression tool to perform multiple simple regressions.
 	  [#614031]
+	* Fix ZTEST description. [#614746]
 
 Morten:
 	* Improve object sizing tooltip positioning a bit.
diff --git a/plugins/fn-stat/ChangeLog b/plugins/fn-stat/ChangeLog
index 9aa6ec7..77e910d 100644
--- a/plugins/fn-stat/ChangeLog
+++ b/plugins/fn-stat/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-04  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* functions.c (help_ztest): fix description. [#614746]
+	(help_permutationa): Fix ODF string
+
 2010-03-08  Morten Welinder <terra gnome org>
 
 	* Release 1.10.1
diff --git a/plugins/fn-stat/functions.c b/plugins/fn-stat/functions.c
index 4707803..8a19108 100644
--- a/plugins/fn-stat/functions.c
+++ b/plugins/fn-stat/functions.c
@@ -2487,13 +2487,18 @@ gnumeric_steyx (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 /***************************************************************************/
 
 static GnmFuncHelp const help_ztest[] = {
-	{ GNM_FUNC_HELP_NAME, F_("ZTEST:p-value of a 2-tailed z-test for a population mean")},
-	{ GNM_FUNC_HELP_ARG, F_("ref:data set")},
-	{ GNM_FUNC_HELP_ARG, F_("x:mean as given in the null hypothesis")},
+	{ GNM_FUNC_HELP_NAME, F_("ZTEST:the probability of observing a sample mean as large as "
+				 "or larger than the mean of the given sample")},
+	{ GNM_FUNC_HELP_ARG, F_("ref:data set (sample)")},
+	{ GNM_FUNC_HELP_ARG, F_("x:population mean")},
 	{ GNM_FUNC_HELP_ARG, F_("stddev:population standard deviation, defaults to the sample standard deviation")},
+	{ GNM_FUNC_HELP_DESCRIPTION, F_("ZTEST calulates the probability of observing a sample mean as large as "
+				 "or larger than the mean of the given sample for samples drawn "
+				 "from a normal distribution with mean @{x} and standard deviation @{stddev}.")},
 	{ GNM_FUNC_HELP_NOTE, F_("If @{ref} contains less than two data items ZTEST "
 				 "returns #DIV/0! error.")},
 	{ GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible.") },
+	{ GNM_FUNC_HELP_ODF, F_("This function is OpenFormula compatible.") },
 	{ GNM_FUNC_HELP_EXAMPLES, F_("Let us assume that the cells A1, A2, ..., A5 contain numbers "
 				     "11.4, 17.3, 21.3, 25.9, and 40.1.") },
 	{ GNM_FUNC_HELP_EXAMPLES, F_("Then ZTEST(A1:A5,20) equals 0.254717826.")},
@@ -4890,7 +4895,7 @@ static GnmFuncHelp const help_permutationa[] = {
 	{ GNM_FUNC_HELP_NOTE, F_("If both @{x} and @{y} equal 0, PERMUTATIONA returns 1.") },
 	{ GNM_FUNC_HELP_NOTE, F_("If @{x} < 0 or @{y} < 0, PERMUTATIONA returns #NUM!") },
 	{ GNM_FUNC_HELP_NOTE, F_("If @{x} or @{y} are not integers, they are truncated") },
-	{ GNM_FUNC_HELP_ODF, F_("This function is ODF compatible.") },
+	{ GNM_FUNC_HELP_ODF, F_("This function is OpenFormula compatible.") },
         { GNM_FUNC_HELP_EXAMPLES, "=PERMUTATIONA(2,7)" },
         { GNM_FUNC_HELP_EXAMPLES, "=PERMUTATIONA(2.3,7.6)" },
         { GNM_FUNC_HELP_EXAMPLES, "=PERMUTATIONA(0,0)" },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]