-struct np *
-np_create (const struct moments1 *m)
-{
- double variance;
- struct np *np = xzalloc (sizeof (*np));
- struct order_stats *os = &np->parent;
- struct statistic *stat = &os->parent;
- struct caseproto *proto;
- int i;
-
- np->prev_cc = 0;
-
- moments1_calculate (m, &np->n, &np->mean, &variance, NULL, NULL);
+/* Creates and returns a data structure whose accumulated results can be used
+ to produce a normal probability plot. The caller must supply the weighted
+ sample size N and the mean MEAN and variance VAR of the distribution, then
+ feed in the data with order_stats_accumulate() or
+ order_stats_accumulate_idx().