X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fnp.h;h=998bee089e20fd66f83288fe4d42fb4de1ea8b9c;hb=f447ebdf19acf26d2d46cee1595e99c3620ee30d;hp=7db51f73b223fbcf7ade345afec06c45b5687fb9;hpb=015e221b0f8578afee769528572c76387f26c629;p=pspp diff --git a/src/math/np.h b/src/math/np.h index 7db51f73b2..998bee089e 100644 --- a/src/math/np.h +++ b/src/math/np.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008, 2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +19,6 @@ #include "order-stats.h" -struct moments1; struct casewriter; enum @@ -30,6 +29,8 @@ enum n_NP_IDX }; +/* Statistics needed to produce a normal probability plot with + np_plot_create(). */ struct np { struct order_stats parent; @@ -38,7 +39,6 @@ struct np double mean; double stddev; - double prev_cc; double ns_min; @@ -54,6 +54,6 @@ struct np }; -struct order_stats * np_create (const struct moments1 *); +struct np * np_create (double n, double mean, double var); #endif