[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/language/stats regression.q ChangeLog
From: |
Jason H Stover |
Subject: |
[Pspp-cvs] pspp/src/language/stats regression.q ChangeLog |
Date: |
Sun, 04 Feb 2007 16:38:26 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: Jason H Stover <jstover> 07/02/04 16:38:26
Modified files:
src/language/stats: regression.q ChangeLog
Log message:
fixed p-value computation in test of coefficients
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/language/stats/regression.q?cvsroot=pspp&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/pspp/src/language/stats/ChangeLog?cvsroot=pspp&r1=1.42&r2=1.43
Patches:
Index: regression.q
===================================================================
RCS file: /sources/pspp/pspp/src/language/stats/regression.q,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- regression.q 23 Dec 2006 06:11:33 -0000 1.43
+++ regression.q 4 Feb 2007 16:38:26 -0000 1.44
@@ -269,7 +269,7 @@
/*
P values for the test statistic above.
*/
- pval = 2 * gsl_cdf_tdist_Q (fabs (t_stat), 1.0);
+ pval = 2 * gsl_cdf_tdist_Q (fabs (t_stat), (double) (c->n_obs -
c->n_coeffs));
tab_float (t, 6, j + 1, 0, pval, 10, 2);
}
tab_title (t, _("Coefficients"));
Index: ChangeLog
===================================================================
RCS file: /sources/pspp/pspp/src/language/stats/ChangeLog,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- ChangeLog 16 Jan 2007 15:30:28 -0000 1.42
+++ ChangeLog 4 Feb 2007 16:38:26 -0000 1.43
@@ -1,3 +1,8 @@
+2007-02-04 Jason Stover <address@hidden>
+
+ * regression.q: Fixed p-value computation in the test for
+ individual regression coefficients.
+
Mon Jan 15 11:03:20 2007 Ben Pfaff <address@hidden>
Fix bugs found by valgrind when --enable-debug is used with the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src/language/stats regression.q ChangeLog,
Jason H Stover <=