Skip to main content
. 2022 May 7;22(9):3557. doi: 10.3390/s22093557
Algorithm 5: Ridge regression with limiting optimal weights.
  • Input: Data matrices (ni×p) and outcomes (ni×1), (Xi,Yi) distributed across q sites.

  • Output: Distributed ridge estimator β^dist of regression coefficients β indicating the best features extracted and selected.
    •  1. For i1 to q do.
         Calculate the MLE θ^i=(σ^i2,α^i2) locally.
         Progress θ^i to the global data center
         End
    •  2. Get a global estimator θ^=(σ^2,α^2)=q1i=1qθ^i.
    •  3. Tuning parameters S is chosen around the initial guess λ0=qp/(nα^2).
    •  4. For λS do.
         For i1toqdo.
         Compute the local ridge estimator β^i(λ)=(XiTXi+niλIp)1XiTY.
         The weight wi is computed for the ith local estimator as wi(λ)=σ^2α^2(1λm)F+qG.
         Progress β^i(λ) and wi(λ) to the global data center.
         End
         Terminate the performance of the distributed ridge estimator.
         End
    •  5. Select the best tuning parameter λ*.
    •  6. Output the respective distributed ridge estimator
      β^dist(λ*)=i=1qwi(λ*)β^i(λ*)