FastKerFdr_unsigned {qch}R Documentation

FastKerFdr unsigned

Description

FastKerFdr unsigned

Usage

FastKerFdr_unsigned(
  X,
  p0 = NULL,
  plotting = FALSE,
  NbKnot = 1e+05,
  tol = 1e-05
)

Arguments

X

a vector of probit-transformed 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, Object 'tau' is the vector of H1 posteriors, Object 'f1' is a numeric vector, each coordinate i corresponding to the evaluation of the H1 density at point xi, where xi is the ith item in X. Object 'F1' is a numeric vector, each coordinate i corresponding to the evaluation of the H1 ;cdf at point xi, where xi is the ith item in X.


[Package qch version 2.0.0 Index]