Algorithm 3.
input: matrices Z, X, positive semi-definite matrix Q |
1: find SVD of Q, i.e. Q =USU⊤; |
2: define projection matrix as ; |
3: denote ; |
4: find estimates of λQ and λR by solving optimization problem in (3.7); |
5: define , β̂rP := (X⊤X)−1X⊤(y−Z)b̂rP. |