Processing math: 100%
Skip to contents

Samples from the rp-dimensional joint distribution of the eigenvalues of WT1, where W and T are independent Wisharts with dimensions specified in Prop 1(ii). These are the Ψi, and taking (Ψi/(1+Ψi)) gives a sample from the joint distribution of the canonical correlations between two groups of variables of size p1 and p2 under the null.

Usage

sample_psi(p, rp, n)

Arguments

p

p1+p2

rp

min(p1,p2)

n

sample size

Value

A vector of length rp sampled from the joint distribution described above.