I have two related questions:
(1) Does anyone know if there exists a user-written routine to conduct
nonparametric combination of univariate tests based on the approach of
Pesarin (1990, 2001)? In particular, I would like to perform a
two-sample multivariate NPC test.
(2) What is the most efficient way to obtain random permutations of a
data set of vector-valued outcomes with a treatment and a control
group of unequal size? Is it better to vectorize the data and use Mata
or to use something like bsample for this? In the end, I would like to
look at a large set of random reassignments of rows (corresponding to
individuals) to either treatment or control status. I would like to
calculate some test statistics for each data permutation and store
them.
Thank you for your help.
Dimitriy Masterov
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/