robustness_nhst_analysis: Robustness test of Bf results with NHST

Description Usage Arguments Value

View source: R/analysis_robustness.R

Description

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.

Usage

1
robustness_nhst_analysis(success, total_n)

Arguments

success

numeric, total number of successful guesses on erotic trials

total_n

numeric, total number of all erotic trials

Value

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'.


marton-balazs-kovacs/tppr documentation built on Oct. 27, 2021, 3:04 p.m.