spurious_curve {PAutilities}R Documentation

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)

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

Value

an object with class spurious_curve

Examples

set.seed(100)
predictions <- (sample(1:100)%%2)
references  <- (sample(1:100)%%2)

trans <- get_transition_info(
  predictions, references, 7
)
head(spurious_curve(trans))


[Package PAutilities version 1.2.1 Index]