ACCLAB / dabestr

Data Analysis with Bootstrap Estimation in R
https://acclab.github.io/dabestr
Apache License 2.0
211 stars 34 forks source link

Mis-match between text output and calculated values #169

Open mfarrant opened 2 months ago

mfarrant commented 2 months ago

When using latest dev version (DABESTR v2023.9.12) the output of a shared.control.mean_diff (having two sets of data with one control) produces the correct plot but the output says:

The p-value of the two-sided permutation t-test is 0.1058, calculated for legacy purposes only.

and

The p-value of the two-sided permutation t-test is 0.0913, calculated for legacy purposes only.

These seem not to be the results of the two permutation tests, but rather the Student-t test p-values, as str(shared.control.mean_diff) reveals $ pval_permtest : num [1:2] 0.0832 0.0082 and $ pvalue_students_t : num 0.106 $ pvalue_students_t : num 0.0913