TOST Two Proportions for jamovi. This function is not meant to be utilized in R.

datatosttwoprop(
  data,
  var,
  level,
  group,
  hypothesis = "EQU",
  low_eqbound = -0.1,
  high_eqbound = 0.1,
  alpha = 0.05,
  desc = FALSE,
  plot = FALSE
)

Arguments

data

.

var

.

level

.

group

.

hypothesis

'EQU' for equivalence (default), or 'MET' for minimal effects test, the alternative hypothesis.

low_eqbound

a number (default: -0.1) the lower equivalence bounds

high_eqbound

a number (default: 0.1) the upper equivalence bounds

alpha

alpha level (default = 0.05)

desc

TRUE or FALSE (default), provide descriptive statistics

plot

TRUE or FALSE (default), provide plot

Value

A results object containing:

results$tosta table
results$eqba table
results$desca table
results$plotan image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$tost$asDF

as.data.frame(results$tost)