ROPE_test: Conduct a ROPE test

Description Usage Arguments Examples

Description

Conduct a test of practical equivalence by defining a region of practical equivalence (ROPE) around the null hypothesis H0.

Usage

1
2
3
4
ROPE_test(x, ROPE = c(-0.1, 0.1), H0 = 0, prior.samps = NULL,
  plot = TRUE, line.color = "white", interval.color = "#8c00ff",
  density.color = "#2CBAFF", rope.color = "#FF0000",
  interval.method = "ETI", cred.level = 0.95)

Arguments

x

a vector of posterior samples

ROPE

a numeric vector of two numbers. Defaults to c(-.1, .1), assuming a Cohen's d... Adjust to what is reasonable!

prior.samps

only needed if interval.method="LPL"

plot

plot the output. defaults to TRUE.

line.color

color marking H0. "white" is default.

interval.color

defaults to purple/violet "#8c00ff"

density.color

defaults to blue "#2CBAFF"

rope.color

defaults to red "#FF0000"

interval.method

If cred.limits="NA", then interval method must be one of "HDI", "ETI", or "LPL"

cred.level

the confidence level for interval.method. Defaults to .95.

Examples

1

abnormally-distributed/abdisttools documentation built on May 5, 2019, 7:07 a.m.