om_rejection: Compute rejection target function

View source: R/om_optim.R

om_rejectionR Documentation

Compute rejection target function

Description

Compute rejection target function

Usage

om_rejection(
  weights,
  mat_g,
  p_values,
  alpha = 0.05,
  utility = 1,
  null_h = NULL
)

Arguments

weights

vector of the original weights

mat_g

transition matrix G

p_values

vector of p-values for the elementary hypotheses

alpha

overall alpha level

utility

rejection utility of each elementary hypothesis

null_h

null hypothesis index

theta

parameters in weights and G

Value

vector of the following values: 1. rejection utility, by default, this is the average number of rejected hypothesis 2. reject any null hypothesis rate, i.e., familywise false discovery rate 3. average rejection rate for each hypothesis


olssol/optMTP documentation built on March 30, 2022, 6:23 p.m.