/* PSPP - A program for statistical analysis . -*-c-*-
Copyright (C) 2004 Free Software Foundation, Inc.
-Author: John Darrington 2004
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
/* The algorithm used to calculate percentiles */
enum pc_alg {
- PC_NONE=0,
- PC_HAVERAGE,
- PC_WAVERAGE,
- PC_ROUND,
- PC_EMPIRICAL,
+ PC_NONE=0,
+ PC_HAVERAGE,
+ PC_WAVERAGE,
+ PC_ROUND,
+ PC_EMPIRICAL,
PC_AEMPIRICAL
} ;
/* Calculate Tukey's Hinges and the Whiskers for the box plot*/
void tukey_hinges(const struct weighted_value **wv,
- int n_data,
+ int n_data,
double w,
double hinges[3]);
/* Hash utility functions */
-int ptile_compare(const struct percentile *p1,
- const struct percentile *p2,
+int ptile_compare(const struct percentile *p1,
+ const struct percentile *p2,
void *aux);
unsigned ptile_hash(const struct percentile *p, void *aux);