mROC_inference: Statistical inference for comparing empirical and expectec...

Description Usage Arguments Value

View source: R/core.R

Description

Statistical inference for comparing empirical and expectec ROCs. If CI=TRUE then also returns pointwise CIs

Usage

1
2
3
4
5
6
7
8
9
mROC_inference(
  y,
  p,
  n_sim = 1e+05,
  CI = FALSE,
  aux = FALSE,
  fast = TRUE,
  conditional = FALSE
)

Arguments

y

vector of binary response values

p

vector of probabilities

n_sim

number of Monte Carlo simulations to calculate p-value

CI

whether confidence interval should be alculated for each point of mROC

Value

Returns the aurea under the mROC curve


Shoodood/mROC documentation built on Feb. 5, 2021, 3:21 p.m.