thresUnif: Computation of the significance threshold
Description
The function thresUnif computes the significance threshold.(function from localscore)
Usage
thresUnif(L, cor, xi, alpha = 0.05)
Value
the significance threshold.
Arguments
- L
The length of the chromosome
- cor
The autocorrelation of the chromosome
- xi
The threshold of the score, xi = 1,2,3 or 4.
- alpha
The nominal threshold.
Details
The distribution of the p-values is uniform, the local score follows a Gumbel distribution under the null.