find_area_q: Find area matching polynomial curve.

View source: R/ROC.R

find_area_qR Documentation

Find area matching polynomial curve.

Description

Based on https://win-vector.com/2020/09/13/why-working-with-auc-is-more-powerful-than-one-might-think/

Usage

find_area_q(area, ..., n_points = 101)

Arguments

area

area to match

...

not used, force later arguments to bind by name

n_points

how many points to use to estimte area.

Value

q that such that curve 1 - (1 - (1-Specificity)^q)^(1/q) matches area

Examples


find_area_q(0.75)


sigr documentation built on Aug. 20, 2023, 9:06 a.m.