rejectregion.npnormfc: Find the rejection region with normal density

Description Usage Arguments Details Value

View source: R/npnorm.R

Description

Find the rejection region with normal density

Usage

1
rejectregion.npnormfc(result, alpha = 0.05)

Arguments

result

an object of npnormfc

alpha

the FDR controlling rate.

Details

Find the rejection region assuming normal component from the npnormfc object. The rejection region is calculated using the density estimate rather than data points hence robust. The rejection is based on the hypothesis is located at 0. The optimisation is done via NLopt library (The package nloptr)

Value

a list with par is the boundary for rejection and area is the propotion of rejection


xiangjiexue/npfixedcomp documentation built on June 15, 2020, 9:18 a.m.