Learn R Programming

highD2pop (version 1.0)

ChenQin.sim: Chen Qin Simulator

Description

Performs the test from Chen and Qin (2010) on multiple data sets generated by build2popData.

Usage

ChenQin.sim(DATA)

Arguments

DATA
an object returned by build2popData.

Value

ChQvalues
values of the test statistic.
pvalues
the p values.

References

Chen, X. S. and Qin, Y.L. (2010). A two sample test for high dimensional data with applications to gene-set testing. The Annals of Statistics. 38(2):808--835

See Also

ChenQin.test

Examples

Run this code
	
## Not run: 
# 
# DATA <-build2popData(	
# 	n = 15,
# 	m = 20,
# 	p = 500,
# 	muX = rep(0,500),
# 	muY = rep(0,500),
# 	commoncov = FALSE,
# 	VarScaleY = 1,
# 	dep = "ARMA",
# 	ARMAparms = list(coefs=list(ma=c(.2,.3) , ar=c(.4,-.1))),
# 	LRparm = .75,
# 	S = 25,
# 	innov = function(n,...) rnorm(n,0,1),
# 	heteroscedastic=TRUE,
# 	het.diag = diag(.1 + rexp(500,1/2))
# 	)
# 	
# ChenQin.sim(DATA)
# 
# ## End(Not run)

Run the code above in your browser using DataLab