Hi,
I would like to do Monte Carlo permutations on standard anova or logit models.
Are these procedures correct ?
LDL: normally distributed continuous (dependen)t variable
group: independent binary variable
.anova LDL group
.permute group "anova LDL group" e(F), reps(10000)
resp.
HLP: binary outcome
.logit HLP group
.permute group "logit HLP group" e(chi2), rep(10000)
Thanks,
Marcus
*
* 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/