Lines Matching defs:stats
543 " [-S] (print detailed stats)\n"
761 * update shared stats
766 * update shared stats
1278 * do raw stats
1310 crunch_stats(double *data, int count, stats_t *stats)
1334 stats->st_mean = mean;
1343 stats->st_median = dupdata[count/2];
1353 (void) fit_line(dupdata, data, count, &a, &stats->st_timecorr);
1360 stats->st_max = -1;
1361 stats->st_min = 1.0e99; /* hard to find portable values */
1364 if (data[i] > stats->st_max)
1365 stats->st_max = data[i];
1366 if (data[i] < stats->st_min)
1367 stats->st_min = data[i];
1375 stats->st_stddev = std = sqrt(std/(double)(count - 1));
1376 stats->st_stderr = std / sqrt(count);
1377 stats->st_99confidence = stats->st_stderr * 2.326;
1378 stats->st_skew = sk / (std * std * std) / (double)(count);
1379 stats->st_kurtosis = ku / (std * std * std * std) /
1436 stats_t stats;
1455 (void) crunch_stats(data, count, &stats);
1457 while ((outliers = remove_outliers(data, count, &stats)) != 0) {
1459 (void) crunch_stats(data, count, &stats);
1462 return ((long long)stats.st_mean);
1549 remove_outliers(double *data, int count, stats_t *stats)
1551 double outmin = stats->st_mean - 3 * stats->st_stddev;
1552 double outmax = stats->st_mean + 3 * stats->st_stddev;