performIntegralLower1 {DBpower}R Documentation

Apply this function over 1:J to calculate each portion of the integral we need for the lower bound.

Description

Apply this function over 1:J to calculate each portion of the integral we need for the lower bound.

Usage

performIntegralLower1(j, muVec, sigMat, lBounds1, uBounds1, lBounds2, uBounds2)

Arguments

j

Apply over this integer, the element that will be the largest in magnitude.

muVec

Mean vector of test statistics under the alternative (assuming it's MVN).

sigMat

Covariance matrix of test statistics under the alternative (assuming it's MVN).

lBounds1

A 2J-1 vector of lower bounds for the first integral (see paper).

uBounds1

A 2J-1 vector of upper bounds for the second integral (see paper).

lBounds2

A 2J-1 vector of lower bounds for the first integral (see paper).

uBounds2

A 2J-1 vector of upper bounds for the second integral (see paper).

Value

The value of the integration.


[Package DBpower version 0.1.0 Index]