rejectregion.nptfc: Find the rejection region with t density

Description Usage Arguments Details Value

View source: R/nptfixedcomp.R

Description

Find the rejection region with t density

Usage

1
rejectregion.nptfc(result, alpha = 0.05)

Arguments

result

an object of nptfc

alpha

the FDR controlling rate.

Details

Find the rejection region assuming t component from the nptfc 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.