|
Algorithm 1 An iterative algorithm for optimization in FKMR. |
-
1.1
Perform FPCA (e.g., the R package fdapace) to extract the functional component features for the p functional predictors, and store them in a grand vector for each individual subject , ;
-
1.2
Initialize to be a vector of ones. which translates to mapping the original component scores to itself. Set up a grid of possible tuning parameters for and , respectively. Set the kernel bandwidth parameter, which may depend on . For each pair of from our grid, perform Steps 2.1–2.3 and 3.1 below.
-
2.1
At the -th step in the algorithm, first solve the LSKM problem with fixed () (based on a closed-form solution) to update and .
-
2.2
Solve the group regularity problem (8) with fixed and fixed (, , , ) using the updates from the previous iteration. At this step, the proximal Gauss–Newton algorithm produces an update at convergence.
-
2.3
Repeat Steps 2.1–2.2 until convergence.
-
3.1
Perform cross-validation over all pairs of () to determine the final .
|