}
+#if 0
static void
dump_matrix (const gsl_matrix *m)
{
}
printf ("\n");
}
+#endif
static int
if (factor->print & PRINT_SIG)
{
const double y = heading_rows + y_pos_sig * factor->n_vars;
- tab_text (t, 0, y, TAT_TITLE, _("Sig. 1-tailed"));
+ tab_text (t, 0, y, TAT_TITLE, _("Sig. (1-tailed)"));
for (i = 0; i < factor->n_vars; ++i)
{
const gsl_matrix *analysis_matrix;
struct idata *idata = idata_alloc (factor->n_vars);
- struct covariance *cov = covariance_create (factor->n_vars, factor->vars,
+ struct covariance *cov = covariance_1pass_create (factor->n_vars, factor->vars,
factor->wv, factor->exclude);
for ( ; (c = casereader_read (r) ); case_unref (c))
idata->cov = covariance_calculate (cov);
+ if (idata->cov == NULL)
+ {
+ msg (MW, _("The dataset contains no complete observations. No analysis will be performed."));
+ goto finish;
+ }
+
var_matrix = covariance_moments (cov, MOMENT_VARIANCE);
mean_matrix = covariance_moments (cov, MOMENT_MEAN);
idata->n = covariance_moments (cov, MOMENT_NONE);