Originally posted by Arne Risa Hole
View Post
-
Login or Register
- Log in with
matrix levmat = 3,2,2
genfact, levels(levmat)
matrix optout = J(1,3,1)
matrix b = J(1,9,0)
dcreate i.x1##i.x2 i.x1##i.x3, nalt(2) nset(30) fixedalt(optout) asc(3) bmat(b)
clear matrix levmat = 3,3,3,3,2,2 genfact, levels(levmat) matrix optout = J(1,6,1) matrix b = -0.0000135, 1.6, 0.05, -0.07, -0.2, 0.83, 0.6 dcreate c.x1 c.x2 c.x3 i.x4 i.x5 i.x6 , nalt(3) nset(16) fixedalt(optout) bmat(b) blockdes block, nblock(2) evaldes c.x1 c.x2 c.x3 i.x4 i.x5 i.x6, bmat(b)
Comment