Learn R Programming

psycho (version 0.4.91)

rope: Region of Practical Equivalence (ROPE)

Description

Compute the proportion of a posterior distribution that lies within a region of practical equivalence.

Usage

rope(posterior, bounds = c(-0.1, 0.1), CI = 95, overlap = FALSE)

Arguments

posterior

Posterior Distribution.

bounds

Rope lower and higher bounds.

CI

The credible interval to use.

overlap

Compute rope overlap (EXPERIMENTAL).

Value

list containing rope indices

Examples

Run this code
# NOT RUN {
library(psycho)

posterior <- rnorm(1000, 0, 0.01)
results <- rope(posterior)
results$decision
# }

Run the code above in your browser using DataLab