# NOT RUN {
## generate 2 datasets from multivariate normal with identical covariance.
pdim = 5
data1 = matrix(rnorm(100*pdim), ncol=pdim)
data2 = matrix(rnorm(150*pdim), ncol=pdim)
## run test
CovTest2.2013Cai(data1, data2)
# }
Run the code above in your browser using DataLab