Skip to content
Myr

Output formatting

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by David Peter · parent c06f50d · Browse files · 1 file+6 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−4 removed

  • other:+6 added−4 removed

1 file+6 added−4 removed

modified:scripts/welch_ttest.py+6 added-4 removed
27 unmodified lines
2829t, p = stats.ttest_ind(X, Y, equal_var=False)30th = 0.0531dispose = p < th32print("t = {}, p = {}".format(t, p))33print("p < {} = {}\n".format(th, dispose))32print("t = {:.3}, p = {:.3}".format(t, p))33print()3435if dispose:35 print("There is a difference between the two benchmarks.")36 print("There is a difference between the "37 "two benchmarks (p < {}).".format(th))38else:37 print("The two benchmarks are almost the same.")39 print("The two benchmarks are almost the same (p >= {}).".format(th))