Description Usage Arguments Value Author(s) References See Also Examples

View source: R/highD2popfunctions.R

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

.

1 | ```
ChenQin.sim(DATA)
``` |

`DATA` |
an object returned by |

A data frame with columns

`ChQvalues` |
values of the test statistic. |

`pvalues` |
the p values. |

Karl Gregory [email protected], http://www.stat.tamu.edu/~kbgregory.

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ```
## 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)
``` |

highD2pop documentation built on May 29, 2017, 6:09 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.