calculate_lambda_threshold: Calculate the significance threshold for Lambda.

View source: R/calculate_lambda_threshold.R

calculate_lambda_thresholdR Documentation

Calculate the significance threshold for Lambda.

Description

For a given significance value, this function uses critical values determined from simulated data formed on 1 million arrays, and returns the quantile estimated at that significance level. For values of k > 20, it assumes a chi squared distribution with k/(pi - 2) degrees of freedom.

Usage

calculate_lambda_threshold(k, alpha)

Arguments

k

Number of indices.

alpha

Level of significance.

Value

A 100(1-alpha)% quantile estimate from the distribution of Lambda.


SK4FGA documentation built on Feb. 16, 2023, 9:06 p.m.