fdr_cut {BDMMAcorrect}R Documentation

Threshold the posterior inclusion probability (PIP) through control Bayesian false discovery rate (bFDR).

Description

Threshold the posterior inclusion probability (PIP) through control Bayesian false discovery rate (bFDR).

Usage

fdr_cut(PIP_vec, alpha = 0.1)

Arguments

PIP_vec

A vector contains the PIPs of parameters

alpha

The level of the bFDR to need to control (default = 0.1)

Value

The cutoff for PIPs to control the bFDR with the user defined value, alpha.

Examples

data(L_mean)
cutoff <- fdr_cut(L_mean, alpha = 0.1)

[Package BDMMAcorrect version 1.8.0 Index]