as_htest.Rd
as_htest(TOST)
A TOSTER result object of class 'TOSTt' or 'TOSTnp'.
Returns a list containing a list of class 'htest' for the result of each test with the following elements:
A character string giving the names of the data.
Estimated difference in raw units.
A character string indicating the performed test.
Equivalence bound.
A character string describing the alternative hypothesis.
The degrees of freedom of the distribution of the test statistic.
The value of the test statistic.
The p-value of the test.
The confidence interval of the difference.
Other htest:
htest-helpers
,
simple_htest()
res1 = t_TOST(formula = extra ~ group,data = sleep,eqb = .5,smd_ci = "goulet")
as_htest(res1)
#>
#> Welch Two Sample t-test
#>
#> data: extra by group
#> t = -1.2719, df = 17.776, p-value = 0.8901
#> alternative hypothesis: equivalence
#> null values:
#> mean difference mean difference
#> -0.5 0.5
#> 90 percent confidence interval:
#> -3.0533815 -0.1066185
#> sample estimates:
#> mean difference
#> -1.58
#>