bootstrap_NHST: Bootstrap Null Hypothesis Significance Test

Description Usage Arguments Value Examples

View source: R/NHST.R

Description

Bootstrap Null Hypothesis Significance Test

Usage

1
2
3
4
5
6
bootstrap_NHST(
  bmbstats_object,
  estimator,
  null_hypothesis = 0,
  test = "two.sided"
)

Arguments

bmbstats_object

Object of class bmbstats

estimator

Name of the estimator from the bmbstats_object

null_hypothesis

Numeric scalar indicating null hypothesis value for estimator. Default is 0

test

Character string specifying the type of NHST, must be one of "two.sided" (default), "greater" or "less". Default is "two.sided"

Value

bmbstats_NHST object

Examples

1
2
3
4
5
6
mean_NHST <- bootstrap_NHST(
  describe_data(rnorm(100)),
  "mean"
)
mean_NHST
plot(mean_NHST)

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