as_htest | R Documentation |
Convert a TOSTER result object of class 'TOSTt' or 'TOSTnp' to a list of class 'htest'.
as_htest(TOST)
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:
data.name |
A character string giving the names of the data. |
estimate |
Estimated difference in raw units. |
method |
A character string indicating the performed test. |
null.value |
Equivalence bound. |
alternative |
A character string describing the alternative hypothesis. |
parameter |
The degrees of freedom of the distribution of the test statistic. |
statistic |
The value of the test statistic. |
p.value |
The p-value of the test. |
conf.int |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.