performIntegralUpper1 {DBpower} | R Documentation |

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

### Description

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

### Usage

```
performIntegralUpper1(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 3J-2 vector of lower bounds for the first integral (see paper), bounds will be longer than for performIntegralLower1. |

`uBounds1` |
A 3J-2 vector of upper bounds for the second integral (see paper). |

`lBounds2` |
A 3J-2 vector of lower bounds for the first integral (see paper). |

`uBounds2` |
A 3J-2 vector of upper bounds for the second integral (see paper). |

### Value

The value of the integration.

[Package

*DBpower*version 0.1.0 Index]