rlvClass: Relevance Class

rlvClassR Documentation

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)

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

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.

Author(s)

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

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

relevance documentation built on Aug. 24, 2023, 3:03 p.m.