Learn R Programming

DBpower (version 0.1.0)

set_BJ_bounds: set_BJ_bounds.R

Description

Finds the boundary points of the rejection region for the BJ statistic when all elements in a set are independent.

Usage

set_BJ_bounds(alpha, J)

Arguments

alpha

Type I error of test.

J

Number of elements in set.

Value

A J*1 vector of bounds on the magnitudes of the test statistics, where the first element is the bound for |Z|_(1) and the last element is the bound for |Z|_(J).

Examples

Run this code
# NOT RUN {
set_BJ_bounds(alpha = 0.01, J=5)

# }

Run the code above in your browser using DataLab