Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: -anova- command fails with mildly complexx model
From
"Airey, David C" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: -anova- command fails with mildly complexx model
Date
Fri, 16 Apr 2010 21:01:32 -0500
.
Thanks for describing what the problem was!
It does indeed work below.
clear
inp byte(isub treat group time) y
1 0 0 1 3.128386
1 0 0 2 3.121638
1 0 0 3 2.875379
1 0 0 4 2.561247
2 0 0 1 1.007731
2 0 0 2 1.717744
2 0 0 3 2.074634
2 0 0 4 2.258288
3 0 0 1 3.533892
3 0 0 2 3.605727
3 0 0 3 2.435609
3 0 0 4 2.814991
4 0 0 1 .165792
4 0 0 2 1.45446
4 0 0 3 .0822014
4 0 0 4 1.636633
5 0 0 1 1.549338
5 0 0 2 1.182068
5 0 0 3 1.227366
5 0 0 4 .7778459
6 0 0 1 1.173828
6 0 0 2 .8148147
6 0 0 3 1.368575
6 0 0 4 -.0073038
7 0 0 1 3.100238
7 0 0 2 2.073025
7 0 0 3 2.476525
7 0 0 4 2.520768
8 0 0 1 2.807955
8 0 0 2 2.805253
8 0 0 3 2.153584
8 0 0 4 2.5705
9 0 0 1 2.704864
9 0 0 2 2.654852
9 0 0 3 2.746811
9 0 0 4 2.94425
10 0 0 1 1.6997
10 0 0 2 1.810207
10 0 0 3 1.55903
10 0 0 4 1.669906
11 1 0 1 1.868059
11 1 0 2 3.322237
11 1 0 3 3.7292
11 1 0 4 3.670806
12 1 0 1 2.434988
12 1 0 2 3.323258
12 1 0 3 3.372895
12 1 0 4 3.338208
13 1 0 1 1.22023
13 1 0 2 .7378999
13 1 0 3 .5126179
13 1 0 4 1.54094
14 1 0 1 4.453463
14 1 0 2 4.22743
14 1 0 3 5.309576
14 1 0 4 5.050639
15 1 0 1 4.416439
15 1 0 2 3.452432
15 1 0 3 4.392283
15 1 0 4 4.605953
16 1 0 1 5.449149
16 1 0 2 4.524527
16 1 0 3 4.718941
16 1 0 4 4.981455
17 1 0 1 2.48961
17 1 0 2 3.723629
17 1 0 3 2.284816
17 1 0 4 3.453557
18 1 0 1 3.641483
18 1 0 2 3.406856
18 1 0 3 3.208734
18 1 0 4 3.80458
19 0 1 1 3.37035
19 0 1 2 3.97767
19 0 1 3 3.014043
19 0 1 4 3.020998
20 0 1 1 1.288446
20 0 1 2 1.037267
20 0 1 3 1.188551
20 0 1 4 1.292643
21 0 1 1 3.397913
21 0 1 2 3.811652
21 0 1 3 3.757371
21 0 1 4 3.876024
22 0 1 1 3.147866
22 0 1 2 3.404653
22 0 1 3 3.840606
22 0 1 4 3.757992
23 0 1 1 4.017531
23 0 1 2 4.78287
23 0 1 3 4.696186
23 0 1 4 3.947599
24 0 1 1 2.150811
24 0 1 2 1.366459
24 0 1 3 2.619952
24 0 1 4 2.440276
25 1 1 1 3.84514
25 1 1 2 4.948975
25 1 1 3 4.019058
25 1 1 4 5.542306
26 1 1 1 7.858982
26 1 1 2 7.427705
26 1 1 3 7.378307
26 1 1 4 8.286385
27 1 1 1 5.736018
27 1 1 2 7.030629
27 1 1 3 6.816757
27 1 1 4 7.087567
28 1 1 1 5.363531
28 1 1 2 4.517203
28 1 1 3 4.877666
28 1 1 4 5.66123
29 1 1 1 6.778078
29 1 1 2 6.779854
29 1 1 3 6.729872
29 1 1 4 5.738735
30 1 1 1 7.368432
30 1 1 2 6.341629
30 1 1 3 5.96716
30 1 1 4 6.480004
end
compress
anova y treat group treat#group / isub|treat#group ///
time time#group time#treat time#group#treat
xtmixed y i.treat##i.group##i.time || isub:
anovalator treat group time, main fratio
anovalator treat group, two fratio
anovalator treat time, two fratio
anovalator group time, two fratio
anovalator treat group time, 3way fratio
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/