bootstrap_MET: Bootstrap minimum effect tests (METs)

Description Usage Arguments Value Examples

View source: R/MET.R

Description

Bootstrap minimum effect tests (METs)

Usage

1
2
3
4
5
6
7
bootstrap_MET(
  bmbstats_object,
  estimator,
  SESOI_lower = 0,
  SESOI_upper = 0,
  alpha = 0.05
)

Arguments

bmbstats_object

Object of class bmbstats

estimator

Name of the estimator from the bmbstats_object

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

Value

bmbstats_MET object

Examples

1
2
3
4
5
6
7
8
9
mean_MET <- bootstrap_MET(
  describe_data(rnorm(10, 100, 20)),
  estimator = "mean",
  SESOI_lower = 95,
  SESOI_upper = 105,
  alpha = 0.05
)
mean_MET
plot(mean_MET)

mladenjovanovic/bmbstats documentation built on Aug. 5, 2020, 4:20 p.m.