`TOSTnp-methods.Rd`

Methods defined for objects returned from the wilcox_TOST function.

- x
object of class

`TOSTnp`

.- digits
Number of digits to print for p-values

- ...
further arguments passed through, see description of return value for details. TOSTnp-methods.

print: Prints short summary of the tests.

describe: Verbose description of results.

```
# example code
data(mtcars)
res1 = wilcox_TOST(mpg ~ am,data = mtcars,eqb = 3)
# PRINT
print(res1)
#>
#> Wilcoxon rank sum test with continuity correction
#>
#> The equivalence test was non-significant W = 18.500, p = 9.75e-01
#> The null hypothesis test was significant W = 42.000, p = 1.87e-03
#> NHST: reject null significance hypothesis that the effect is equal to zero
#> TOST: don't reject null equivalence hypothesis
#>
#> TOST Results
#> Test Statistic p.value
#> NHST 42.0 0.002
#> TOST Lower 73.0 0.975
#> TOST Upper 18.5 < 0.001
#>
#> Effect Sizes
#> Estimate C.I. Conf. Level
#> Median of Differences -6.8000 [-10.9999, -3.6001] 0.9
#> Rank-Biserial Correlation -0.6599 [-0.8143, -0.4182] 0.9
#>
#>
# DESCRIPTION
describe(res1)
#> [1] "Using the Wilcoxon rank sum test with continuity correction, a null hypothesis significance test (NHST), and a equivalence test, via two one-sided tests (TOST), were performed with an alpha-level of 0.05. These tested the null hypotheses that true location shift is equal to 0 (NHST), and true location shift is more extreme than -3 and 3 (TOST). The equivalence test was not significant (p = 0.975). The NHST was significant, WMW = 42, p = 0.002 (location shift = -6.8 90% C.I.[-11, -3.6]; Rank-Biserial Correlation = -0.66 90% C.I.[-0.814, -0.418]). At the desired error rate, it can be stated that the true location shift is not equal to 0 (i.e., no equivalence)."
```