TOST for correlations in jamovi. This function is not meant to be utilized in R.
dataTOSTr(
data,
pairs,
cor_type = "pearson",
hypothesis = "EQU",
low_eqbound_r = -0.3,
high_eqbound_r = 0.3,
alpha = 0.05,
desc = FALSE,
plots = FALSE
)
A results object containing:
results$text | a preformatted | ||||
results$tost | a table | ||||
results$desc | a table | ||||
results$plots | an array of images |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$tost$asDF
as.data.frame(results$tost)
the data as a data frame
a list of vectors of strings naming variables to correlate
from data
a character string indicating which correlation coefficient is to be used for the test. One of "pearson", "kendall", or "spearman", can be abbreviated.
'EQU'
for equivalence (default), or 'MET'
for minimal effects test, the alternative hypothesis.
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)
TRUE
or FALSE
(default), provide descriptive
statistics
TRUE
or FALSE
(default), provide plots