close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 5, 2011, 9:42:39 PM (14 years ago)
- Author:
-
Víctor de Buen Remiro
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
571 | 571 | Real m = VRows(Y); |
572 | 572 | Real n = VColumns(X); |
573 | | |
574 | | VMatrix beta.0 = Constant(n,1,0); |
575 | | VMatrix residuals.0 = Y-X*beta.0; |
576 | | Real sigma2.0 = VMatDat(MtMSqr(residuals.0),1,1)/VRows(residuals.0); |
577 | 573 | |
578 | 574 | MWG::@PRI.InvScaChiSquare sigma2 = [[ |
579 | | Set _.names = [["Variance"]]; |
580 | 575 | VMatrix _.drawn = Mat2VMat(Col(sigma2.0)); |
581 | 576 | Real _.freeDeg = m; |
… |
… |
|
588 | 583 | |
589 | 584 | MWG::@RVOV.LinReg beta = [[ |
590 | | Set _.names = trueModel::LinBlk.names; |
591 | 585 | VMatrix _.drawn = beta.0; |
592 | 586 | Set _.Y = [[Y]]; |