gnumeric r16782 - trunk/src/tools



Author: guelzow
Date: Thu Sep 11 04:20:43 2008
New Revision: 16782
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16782&view=rev

Log:
2008-09-10  Andreas J. Guelzow <aguelzow pyrshep ca>
	
	* analysis-tools.c (analysis_tool_regression_engine_run):
	add explanatory comment to R^2




Modified:
   trunk/src/tools/ChangeLog
   trunk/src/tools/analysis-tools.c

Modified: trunk/src/tools/analysis-tools.c
==============================================================================
--- trunk/src/tools/analysis-tools.c	(original)
+++ trunk/src/tools/analysis-tools.c	Thu Sep 11 04:20:43 2008
@@ -2972,7 +2972,16 @@
 	expr_confidence = dao_get_cellref (dao, 5, 15);
 
 	dao_set_cell_comment (dao, 4, 15,
-			      _("Probability of an observation's absolute value being larger than the t-value's"));
+			      _("Probability of an observation's\n"
+				"absolute value being larger than\n"
+				"the t-value's absolute value"));
+	if (!info->intercept)
+		dao_set_cell_comment (dao, 0, 4,
+			      _("This value is not the square of R\n"
+				"but the uncentered version of the\n"
+				"coefficient of determination; that\n"
+				"is, the proportion of the sum of\n"
+				"squares explained by the model."));	
 
 	expr_x = gnm_expr_new_constant (value_dup (val_1));
 	expr_y = gnm_expr_new_constant (value_dup (val_2));



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