Learn R Programming

relevance (version 2.1)

rlvClass: Relevance Class

Description

Find the class of relevance on the basis of the confidence interval and the relevance threshold

Usage

rlvClass(effect, ci=NULL, relevance=NA)

Value

Character string: the relevance class, either

"Rlv" if the effect is statistically proven to be larger than the threshold,

"Amb" if the confidence interval contains the threshold,

"Ngl" if the interval only covers values lower than the threshold, but contains 0, and

"Ctr" if the interval only contains negative values.

Arguments

effect

either a list of class "inference" (in which case the remaining arguments will be ignored) or the estimated effect

ci

confidence interval for estimate or width of confidence interval (if of equal length as estimate)

relevance

relevance threshold

Author

Werner A. Stahel

References

Werner A. Stahel (2020). New relevance and significance measures to replace p-values. PLOS ONE 16, e0252991, doi: 10.1371/journal.pone.0252991

Examples

Run this code
  rlvClass(2.3, 1.6, 0.4)  ##  "Rlv"
  rlvClass(2.3, 1.6, 1)  ##  "Sig"

Run the code above in your browser using DataLab