ex-3: call it a p-value

This commit is contained in:
Michele Guerini Rocco 2020-04-27 21:33:43 +00:00
parent ffd1002d4c
commit dc845be7ef
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ void compatibility(gsl_vector *def,
double a, b;
double t, sigma, alpha;
fprintf(stderr, "| par | σ | α-value |\n");
fprintf(stderr, "| par | σ | p-value |\n");
fprintf(stderr, "|-----|----------|----------|\n");
for (size_t i = 0; i < def->size; i++) {
// discrepancy

View File

@ -28,7 +28,7 @@ int main(int argc, char **argv) {
/* Process CLI arguments */
for (size_t i = 1; i < argc; i++) {
if (!strcmp(argv[i], "-i")) opts.show_hist = 1;
if (!strcmp(argv[i], "-I")) opts.only_hist = 1;
else if (!strcmp(argv[i], "-I")) opts.only_hist = 1;
else if (!strcmp(argv[i], "-n")) opts.num_events = atol(argv[++i]);
else if (!strcmp(argv[i], "-t")) opts.bins_theta = atol(argv[++i]);
else if (!strcmp(argv[i], "-p")) opts.bins_phi = atol(argv[++i]);