pavaf1: pooling adjacent violator algorithm estimate of p-value...

Description Usage Arguments Details Value Author(s)

View source: R/pavaf1.R

Description

pooling adjacent violator algorithm estimate of p-value density at 1

Usage

1
2
pavaf1(p,max.bins=20,bin.method=c("max","Sturges","Scott","FD"),
                discrete=FALSE,plotit=FALSE,...)

Arguments

p

p-value vector

max.bins

max number of bins

bin.method

binning method

discrete

logical: whether p-values are discrete.

plotit

logical: whether results are plotted.

...

Other arguments to hist

Details

This function bin the p-values and then run PAVA to estimate the minimum of its density.

Value

Numeric scalar

Author(s)

Long Qu


pi0 documentation built on July 9, 2017, 9:01 a.m.