Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: permutation and group structure


From   David Airey <[email protected]>
To   [email protected]
Subject   st: RE: permutation and group structure
Date   Mon, 21 Jul 2003 10:36:42 -0500

I found a Stata command called permute (imagine that) that I did not know existed. The help gives this example, which I think is similar to what I want to do:

program define panova
version 8.1
args y treat subject
anova `y' `treat' `subject'
test `treat'
end

. permute treat "panova y treat subject" F=r(F), reps(1000)
strata(subject)

-Dave

*
* 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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index