f1_separation_signed: Signed case function: Separate f1 into f+ and f-

View source: R/FastKerFDR_functions.R

f1_separation_signedR Documentation

Signed case function: Separate f1 into f+ and f-

Description

Signed case function: Separate f1 into f+ and f-

Usage

f1_separation_signed(XMat, f0Mat, f1Mat, p0, plotting = FALSE)

Arguments

XMat

a matrix of probit-transformed p-values, each column corresponding to a p-value serie.

f0Mat

a matrix containing the evaluation of the marginal density functions under H0 at each items, each column corresponding to a p-value serie.

f1Mat

a matrix containing the evaluation of the marginal density functions under H1 at each items, each column corresponding to a p-value serie.

p0

the proportions of H0 items for each series.

plotting

boolean, should some diagnostic graphs be plotted. Default is FALSE.

Value

A list of 4 objects 'f1plusMat', 'f1minusMat', 'p1plus', 'p1minus'. Object 'f1plusMat' is a matrix containing the evaluation of the marginal density functions under H1plus at each items, each column corresponding to a p-value serie. Object 'f1minusMat' is a matrix containing the evaluation of the marginal density functions under H1minus at each items, each column corresponding to a p-value serie. Object 'p1plus' is an estimate of the proportions of H1plus items for each series. Object 'p1minus' is an estimate of the proportions of H1minus items for each series.


qch documentation built on May 29, 2024, 8:11 a.m.