Joint critical values for adaptive test

Description

Internal function. Given the probability distribution of independent test statistics T1 and T2, the function finds the joint distribution of T1, T1+T2.

Usage

1
jointcrit(p1, p2, alpha = 0.05)

Arguments

p1

The probability distribution of the test statistic T1 taking on values 0, 1, 2,..., maximum value

p2

The probability disribution of the test statistic T2 taking on values 0, 1, 2, ..., maximum value

alpha

The significance level at which the test is conducted.

Value

Matrix which contains for each possible value of t1 and t2, information about the probability of T1>=t1, T1+T2>=t1+t2.