14.09.2015 Views

Matvec Users’ Guide

Matvec Users' Guide

Matvec Users' Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

82 CHAPTER 11. GENERALIZED LINEAR MIXED MODEL ANALYSES<br />

D=Data();<br />

D.input("mouse/mouse_2.dat",\<br />

" animal sire dam byr sex littersize siregroup _skip wt_6wk"+\<br />

" fd_int directpe dampe");<br />

P=Pedigree();<br />

P.input("mouse/mouse.ped","individual father mother");<br />

M=Model();<br />

M.equation("wt_6wk=intercept byr sex littersize animal dam dampe,"+\<br />

"fd_int = intercept byr sex littersize animal dam dampe");<br />

R=[2.1 2.5<br />

2.5 13];<br />

GD=[4.2, -.08<br />

-.08 5.9];<br />

GM=[1.7 , -1.7<br />

-1.7 2.1];<br />

GDM=[.41 ,-.12<br />

1.4,-.65];<br />

C=[.25 .24<br />

.24 1.8];<br />

M.variance("residual",R)<br />

M.variance("animal",P,GD)<br />

M.variance("dam",P,GM)<br />

M.variance("animal","dam",GDM)<br />

M.variance("dampe",C)<br />

M.fitdata(D);<br />

M.blup();<br />

M.save("mouse3a.out","out");<br />

A portion of mouse3a.out:<br />

some extra information in the model<br />

--------------------------------------------------------<br />

variance for animal =<br />

4.20000 -0.0800000 0.410000 -0.120000<br />

-0.0800000 5.90000 1.40000 -0.650000<br />

0.410000 1.40000 1.70000 -1.70000<br />

-0.120000 -0.650000 -1.70000 2.10000<br />

variance for dampe =<br />

0.250000 0.240000<br />

0.240000 1.80000<br />

residual variance =<br />

2.10000 2.50000<br />

2.50000 13.0000<br />

MME dimension : 1466<br />

non-zeros in MME: 22059<br />

. . . . . . . .<br />

Term Trait 1 Trait 2<br />

animal wt_6wk fd_int<br />

13c 0.528968 0.473886<br />

13r -0.267458 0.581903<br />

16b -0.267458 0.581903<br />

. . . . . . . .<br />

Term Trait 1 Trait 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!