[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/language/stats regression.q
From: |
Jason H Stover |
Subject: |
[Pspp-cvs] pspp/src/language/stats regression.q |
Date: |
Sun, 12 Aug 2007 02:38:10 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: Jason H Stover <jstover> 07/08/12 02:38:10
Modified files:
src/language/stats: regression.q
Log message:
Changed PSPP_LINREG_SVD to PSPP_LINREG_QR
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/language/stats/regression.q?cvsroot=pspp&r1=1.57&r2=1.58
Patches:
Index: regression.q
===================================================================
RCS file: /sources/pspp/pspp/src/language/stats/regression.q,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- regression.q 27 Jul 2007 21:44:19 -0000 1.57
+++ regression.q 12 Aug 2007 02:38:09 -0000 1.58
@@ -1012,7 +1012,8 @@
/* Identify the explanatory variables in v_variables. Returns
the number of independent variables. */
static int
-identify_indep_vars (const struct variable **indep_vars, const struct variable
*depvar)
+identify_indep_vars (const struct variable **indep_vars,
+ const struct variable *depvar)
{
int n_indep_vars = 0;
int i;
@@ -1191,7 +1192,7 @@
*/
if (n_data > sqrt (n_indep) && n_data > REG_LARGE_DATA)
{
- models[k]->method = PSPP_LINREG_SVD;
+ models[k]->method = PSPP_LINREG_QR;
}
/*
@@ -1235,7 +1236,8 @@
}
else
{
- msg (SE, gettext ("No valid data found. This command was skipped."));
+ msg (SE,
+ gettext ("No valid data found. This command was skipped."));
}
casereader_destroy (reader);
}