BinomialProbabilities: Binomial probabilities for stability score

View source: R/stability_score.R

BinomialProbabilitiesR Documentation

Binomial probabilities for stability score

Description

Computes the probabilities of observing each category of selection proportions under the assumption of a uniform selection procedure.

Usage

BinomialProbabilities(q, N, pi, K, n_cat = 3)

Arguments

q

average number of features selected by the underlying algorithm.

N

total number of features.

pi

threshold in selection proportions. If n_cat=3, these values must be >0.5 and <1. If n_cat=2, these values must be >0 and <1.

K

number of resampling iterations.

n_cat

computation options for the stability score. Default is NULL to use the score based on a z test. Other possible values are 2 or 3 to use the score based on the negative log-likelihood.

Value

A list of probabilities for each of the 2 or 3 categories of selection proportions.


sharp documentation built on April 11, 2025, 5:44 p.m.