get_p_value: Compute p-value against null distribution

View source: R/sim_metrics_signif.R

get_p_valueR Documentation

Compute p-value against null distribution

Description

Compute p-value against null distribution

Usage

get_p_value(nulls, m, n, statistic, metric_name = "average_precision")

Arguments

nulls

Null distribution data frame

m

Number of positive examples

n

Number of negative examples

statistic

statistic for which to compute p-value

metric_name

name of metric. Only "average_precision" is implemented.

Value

p-value


matric documentation built on April 1, 2023, 12:19 a.m.