hyperg: hypergeometric pvalue

View source: R/util.R

hypergR Documentation

hypergeometric pvalue

Description

Returns pvalue of hypergeometric

Usage

hyperg(m, n, k, x)

Arguments

m:

number of marked elements

n:

number of unmarked elements

k:

selection size

x:

number of marked elements in our selection

Details

hypergeometric pvalue

Returns pvalue of hypergeometric

Value

p: pvalue. Probability of selecting a number of marked elements larger equal than x if the selection if random

Author(s)

Gianluca Bontempi gbonte@ulb.ac.be

References

Handbook Statistical foundations of machine learning available in http://www.ulb.ac.be/di/map/gbonte/mod_stoch/syl.pdf

Examples

hyperg(10,5,2,1)


gbonte/gbcode documentation built on Feb. 27, 2024, 7:38 a.m.