Skip to main content
. Author manuscript; available in PMC: 2020 Apr 1.
Published in final edited form as: Stat Biosci. 2017 Dec 6;11(1):47–90. doi: 10.1007/s12561-017-9208-x

Algorithm 3.

riPEER

input: matrices Z, X, positive semi-definite matrix Q
1: find SVD of Q, i.e. Q =USU;
2: define projection matrix PXc as PXc:=In-X(XX)-1X;
3: denote yP:=PXcy,ZP;=PXcZ,Z:=PXcZU;
4: find estimates of λQ and λR by solving optimization problem in (3.7);
5: define b^rP:=(ZPZP+λQQ+λRIP)-1ZPyP, β̂rP := (XX)−1X(yZ)rP.