Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: permute xtmixed


From   Fotios Drenos <rmhafdr@ucl.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: permute xtmixed
Date   Mon, 22 Oct 2007 16:02:34 +0100

Dear All,
I am trying to run a permutation tests on an xtmixed command and the I get a convergence error.

The command I am using is:

program test5, rclass
version 9
args dependent fac_gene fac_measurement
xi: xtmixed `dependent' i.`fac_gene' `fac_measurement'||sno: `fac_measurement', cov(unstruct)
testparm _I`fac_gene'*
return scalar pgene=r(p)
end


permute sqrtchol t=r(pgene), reps(100) noi : test5 sqrtchol gv242 visit

Any suggestions of what goes wrong here?

All the best

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index