powered by
TOST function for a correlations
TOSTr(n, r, low_eqbound_r, high_eqbound_r, alpha, plot = TRUE, verbose = TRUE)
number of pairs of observations
observed correlation
lower equivalence bounds (e.g., -0.3) expressed in a correlation effect size
upper equivalence bounds (e.g., 0.3) expressed in a correlation effect size
alpha level (default = 0.05)
set whether results should be plotted (plot = TRUE) or not (plot = FALSE) - defaults to TRUE
logical variable indicating whether text output should be generated (verbose = TRUE) or not (verbose = FALSE) - default to TRUE
Returns TOST p-value 1, TOST p-value 2, alpha, low equivalence bound r, high equivalence bound r, Lower limit confidence interval TOST, Upper limit confidence interval TOST
Goertzen, J. R., & Cribbie, R. A. (2010). Detecting a lack of association: An equivalence testing approach. British Journal of Mathematical and Statistical Psychology, 63(3), 527-537. https://doi.org/10.1348/000711009X475853, formula page 531.
# NOT RUN { TOSTr(n=100, r = 0.02, low_eqbound_r=-0.3, high_eqbound_r=0.3, alpha=0.05) # }
Run the code above in your browser using DataLab