FastKerFdr: FastKerFdr

Description Usage Arguments Value

View source: R/QCH_functions.R

Description

FastKerFdr

Usage

1
FastKerFdr(Pval, p0 = NULL, plotting = FALSE, NbKnot = 1e+05, tol = 1e-05)

Arguments

Pval

a vector of p-values (corresponding to a p-value serie)

p0

a priori proportion of H0 hypotheses

plotting

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

NbKnot

The (maximum) number of knot for the kde procedure. Default is 1e5

tol

a tolerance value for convergence. Default is 1e-5

Value

A list of 3 objects. Object p0 is an estimate of the proportion of H0 hypotheses., tau is the vector of H1 posteriors. f1 is a numeric vector, each coordinate i corresponding to the evaluation of the H1 density at point pi, where pi is the ith p-value in Pval.


qch documentation built on May 7, 2021, 5:06 p.m.