ex-3: call it a p-value
This commit is contained in:
parent
ffd1002d4c
commit
dc845be7ef
@ -99,7 +99,7 @@ void compatibility(gsl_vector *def,
|
|||||||
double a, b;
|
double a, b;
|
||||||
double t, sigma, alpha;
|
double t, sigma, alpha;
|
||||||
|
|
||||||
fprintf(stderr, "| par | σ | α-value |\n");
|
fprintf(stderr, "| par | σ | p-value |\n");
|
||||||
fprintf(stderr, "|-----|----------|----------|\n");
|
fprintf(stderr, "|-----|----------|----------|\n");
|
||||||
for (size_t i = 0; i < def->size; i++) {
|
for (size_t i = 0; i < def->size; i++) {
|
||||||
// discrepancy
|
// discrepancy
|
||||||
|
@ -28,7 +28,7 @@ int main(int argc, char **argv) {
|
|||||||
/* Process CLI arguments */
|
/* Process CLI arguments */
|
||||||
for (size_t i = 1; i < argc; i++) {
|
for (size_t i = 1; i < argc; i++) {
|
||||||
if (!strcmp(argv[i], "-i")) opts.show_hist = 1;
|
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], "-n")) opts.num_events = atol(argv[++i]);
|
||||||
else if (!strcmp(argv[i], "-t")) opts.bins_theta = 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]);
|
else if (!strcmp(argv[i], "-p")) opts.bins_phi = atol(argv[++i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user