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 2.

VR procedure

Input: matrices Z, X, positive semi-definite matrix Q with rank r < p;
1: Let U be orthogonal matrix from (3.1) and define matrix of nonzero singular values, Σ := diag(s1,…, sr);
2: Denote by A last pr columns of ZU and by ℤ first r columns of ZU;
3: Put 𝕏 := [X A] and consider minimization problem with the objective y-Xβ-d22+λdd, for β̃ ∈ ℝm+pr and d ∈ ℝr ;
4: Estimate σ2 and σd2 in equivalent LMM, i.e. the model y = 𝕏β̃ +d +ε, where d~N(0,σd2-1) and ε ~𝒩(0,σ2In), and define λ:=σ^2/σ^d2;
5: Find estimates β̂VR and VR by applying formula (2.4).