Bootstrap minimum effect tests (METs)
bootstrap_MET( bmbstats_object, estimator, SESOI_lower = 0, SESOI_upper = 0, alpha = 0.05 )
bmbstats_object | Object of class |
---|---|
estimator | Name of the estimator from the |
SESOI_lower | Lower smallest effect size of interest threshold |
SESOI_upper | Upper smallest effect size of interest threshold |
alpha | Numeric value for the alpha (Type I error). Default is 0.05 |
bmbstats_MET
object
mean_MET <- bootstrap_MET( describe_data(rnorm(10, 100, 20)), estimator = "mean", SESOI_lower = 95, SESOI_upper = 105, alpha = 0.05 )#>#>#> Warning: boot::boot.ci returned error or NULL when estimating CIs for min estimator. Returning NAs for upper and lower CIs#>mean_MET#> Minimum effect tests for the `mean` estimator #> Bootstrap result: mean=105.829, 95% CI [95.361, 116.259] #> SESOI: [95, 105], alpha=0.05 #> #> Test p.value #> inferiority 0.9775 #> non-superiority 0.5655 #> equivalence 0.5655 #> non-inferiority 0.0225 #> superiority 0.4345 #> #> Final inference: Not-Lowerplot(mean_MET)