successRegion {BayesRepDesign}R Documentation

Success region for replication effect estimate

Description

Creates a success region object which can then be used for computing the probability of replication success with pors.

Usage

successRegion(intervals)

Arguments

intervals

A 2xN matrix containing N disjoint intervals, the first column containing the lower and the second column containing the upper limits

Value

Returns an object of class "successRegion" which is a matrix containing the success intervals sorted in ascending order

Author(s)

Samuel Pawel

References

Pawel, S., Consonni, G., and Held, L. (2022). Bayesian approaches to designing replication studies. arXiv preprint. doi:10.48550/arXiv.2211.02552

See Also

pors, ssd

Examples

successRegion(intervals = rbind(c(1.96, Inf), c(-Inf, -1.96)))
successRegion(intervals = cbind(1.96, Inf))


[Package BayesRepDesign version 0.42 Index]