Learn R Programming

PAutilities (version 1.1.0)

spurious_curve: Perform a spurious curve analysis

Description

Assess performance using the Transition Pairing Method when the spurious pairing threshold is varied

Usage

spurious_curve(trans, predictions, references, thresholds = 1:20)

Value

an object with class spurious_curve

Arguments

trans

a transition object

predictions

vector of predictions indicating transition (1) or non-transition (2)

references

vector of criteria indicating transition (1) or non-transition (2)

thresholds

the threshold settings to test

Examples

Run this code
set.seed(100)
predictions <- (sample(1:100)%%2)
references  <- (sample(1:100)%%2)
# \donttest{
trans <- get_transition_info(
  predictions, references, 7
)
head(spurious_curve(trans))
# }

Run the code above in your browser using DataLab