Robustness of Bf results is tested with NHST proportion tests. In this function we perform both an equivalence test and an equality test to draw statistical inference.
robustness_nhst_analysis(success, total_n)
numeric, total number of successful guesses on erotic trials
numeric, total number of all erotic trials
The function returns a list of three, the p-value of the
equivalence test, the p-value of the equality test, and the inference
inference_robustness_nhst
made based on the values
and alpha determined in `r analysis_param$inference_threshold_nhst`.