msgstr ""
"Project-Id-Version: PSPP 0.3.1\n"
"Report-Msgid-Bugs-To: pspp-dev@gnu.org\n"
-"POT-Creation-Date: 2004-11-23 13:37+0800\n"
+"POT-Creation-Date: 2004-11-25 19:01+0800\n"
"PO-Revision-Date: 2004-01-23 13:04+0800\n"
"Last-Translator: John Darrington <john@darrington.wattle.id.au>\n"
"Language-Team: John Darrington <john@darrington.wattle.id.au>\n"
msgid "Variance"
msgstr ""
-#: src/descript.c:103 src/examine.q:1414 src/frequencies.q:116
+#: src/descript.c:103 src/examine.q:1429 src/frequencies.q:116
msgid "Kurtosis"
msgstr ""
msgid "Interquartile Range"
msgstr ""
-#: src/examine.q:1447
+#: src/examine.q:1478
#, c-format
msgid "Normal Q-Q Plot of %s"
msgstr ""
-#: src/examine.q:1448 src/examine.q:1454
+#: src/examine.q:1479 src/examine.q:1485
msgid "Observed Value"
msgstr ""
-#: src/examine.q:1449
+#: src/examine.q:1480
msgid "Expected Normal"
msgstr ""
-#: src/examine.q:1452
+#: src/examine.q:1483
#, c-format
msgid "Detrended Normal Q-Q Plot of %s"
msgstr ""
-#: src/examine.q:1455
+#: src/examine.q:1486
msgid "Dev from Normal"
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: pspp-dev@gnu.org\n"
-"POT-Creation-Date: 2004-11-23 13:37+0800\n"
+"POT-Creation-Date: 2004-11-25 19:01+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Variance"
msgstr ""
-#: src/descript.c:103 src/examine.q:1414 src/frequencies.q:116
+#: src/descript.c:103 src/examine.q:1429 src/frequencies.q:116
msgid "Kurtosis"
msgstr ""
msgid "Interquartile Range"
msgstr ""
-#: src/examine.q:1447
+#: src/examine.q:1478
#, c-format
msgid "Normal Q-Q Plot of %s"
msgstr ""
-#: src/examine.q:1448 src/examine.q:1454
+#: src/examine.q:1479 src/examine.q:1485
msgid "Observed Value"
msgstr ""
-#: src/examine.q:1449
+#: src/examine.q:1480
msgid "Expected Normal"
msgstr ""
-#: src/examine.q:1452
+#: src/examine.q:1483
#, c-format
msgid "Detrended Normal Q-Q Plot of %s"
msgstr ""
-#: src/examine.q:1455
+#: src/examine.q:1486
msgid "Dev from Normal"
msgstr ""
/* Detrended Normal Plot */
struct chart dnp_chart;
- const struct weighted_value *wv = *(m->wvp);
-
-
/* The slope and intercept of the ideal normal probability line */
const double slope = 1.0 / m->stddev;
const double intercept = - m->mean / m->stddev;
chart_write_xlabel(&dnp_chart, _("Observed Value"));
chart_write_ylabel(&dnp_chart, _("Dev from Normal"));
- yfirst = gsl_cdf_ugaussian_Pinv (wv[0].rank / ( m->n + 1));
- ylast = gsl_cdf_ugaussian_Pinv (wv[m->n_data-1].rank / ( m->n + 1));
+ yfirst = gsl_cdf_ugaussian_Pinv (m->wvp[0]->rank / ( m->n + 1));
+ ylast = gsl_cdf_ugaussian_Pinv (m->wvp[m->n_data-1]->rank / ( m->n + 1));
{
/* Need to make sure that both the scatter plot and the ideal fit into the
double d_min = DBL_MAX;
for ( i = 0 ; i < m->n_data; ++i )
{
- const double ns = gsl_cdf_ugaussian_Pinv (wv[i].rank / ( m->n + 1));
+ const double ns = gsl_cdf_ugaussian_Pinv (m->wvp[i]->rank / ( m->n + 1));
- chart_datum(&np_chart, 0, wv[i].v.f, ns);
+ chart_datum(&np_chart, 0, m->wvp[i]->v.f, ns);
- d_data[i] = (wv[i].v.f - m->mean) / m->stddev - ns;
+ d_data[i] = (m->wvp[i]->v.f - m->mean) / m->stddev - ns;
if ( d_data[i] < d_min ) d_min = d_data[i];
if ( d_data[i] > d_max ) d_max = d_data[i];
chart_rounded_tick((d_max - d_min) / 5.0));
for ( i = 0 ; i < m->n_data; ++i )
- chart_datum(&dnp_chart, 0, wv[i].v.f, d_data[i]);
+ chart_datum(&dnp_chart, 0, m->wvp[i]->v.f, d_data[i]);
free(d_data);
}