agjack: Averaged generalized jackknife estimate of pi0

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Averaged generalized jackknife estimate of pi0

Usage

1
2
agjack.pi0(subtobj,mean.n=c('mean','harmean','geomean') ,
    pointpair=FALSE, trunc=TRUE,tol=1e-5)

Arguments

subtobj

A subt object

mean.n

A character: name of the function to compute the average sample sizes

pointpair

logical: if TRUE, then gjack is called for each pair of rows in subtobj; otherwise, gjack is called for each pair of unique average sample sizes.

trunc

logical, indicating if each gjack estiamte is truncated to [0,1].

tol

A small tolerance number.

Details

When pointpair is FALSE, the rows in subtobj are first grouped by combination of sample sizes and the estimates are averaged for each group. Then gjack is called for each pair of groups.

Value

A numeric scalar of estiamted pi0.

Author(s)

Long Qu

See Also

gjack

Examples

1
2

gitlongor/pi0 documentation built on May 17, 2019, 5:29 a.m.