14.09.2015 Views

Matvec Users’ Guide

Matvec Users' Guide

Matvec Users' Guide

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

11.2. PENALIZED QUASI-LIKELIHOOD 83<br />

dam wt_6wk fd_int<br />

13c 0.275847 -0.172521<br />

13r -0.319031 0.506760<br />

16b -0.319031 0.506760<br />

REML estimates can be obtained with:<br />

this.parameter("EPSILON",1.e-8);<br />

M.link("normal",3);<br />

est=M.vce_aireml(30,1.e-8);<br />

vc=est(*,1);<br />

cov=est(*,2:est.ncol());<br />

se=cov.diag(0).sqrt();<br />

"\nVariance Estimates and Standard Errors\n"<br />

[vc se]<br />

M.info("mouse3.info","out");<br />

"Log Like",M.residual_log_like()<br />

The M.link("normal",3) is needed by M.vce aireml(), 3 is for the 3 residual variance components in a<br />

2-trait residual covariance matrix. The EPSILON was set to larger value for numerical stability. The code:<br />

vc=est(*,1);<br />

cov=est(*,2:est.ncol());<br />

se=cov.diag(0).sqrt();<br />

"\nVariance Estimates and<br />

[vc se]<br />

Standard Errors\n"<br />

calculates asymptotic standard errors and prints the estimated variance components along with their standard<br />

errors. The abbreviated output:<br />

Original<br />

Residual Log Likelihood:-2200.19<br />

Iteration 1.0 Res Log Like -2200.08 Change 0.114878<br />

Iteration 2.0 Res Log Like -2200.06 Change 0.0188999<br />

Iteration 3.0 Res Log Like -2200.06 Change 0.000345039<br />

Iteration 4.0 Res Log Like -2200.06 Change 3.24196e-05<br />

Iteration 5.0 Res Log Like -2200.06 Change 4.6876e-06<br />

Iteration 6.0 Res Log Like -2200.06 Change 8.18218e-07<br />

Iteration 7.0 Res Log Like -2200.06 Change 1.57462e-07<br />

Iteration 8.0 Res Log Like -2200.06 Change 3.17959e-08<br />

Iteration 9.0 Res Log Like -2200.06 Change 6.70434e-09<br />

Iteration 9 Converged<br />

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

Variance Estimates and<br />

Standard Errors<br />

4.05386 2.68904<br />

-0.4364 2.80002<br />

0.412177 1.81148<br />

-0.0398331 2.12659<br />

5.60885 6.16926<br />

1.36832 2.29069<br />

-0.432407 3.66772<br />

1.58627 2.28487

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

Saved successfully!

Ooh no, something went wrong!