| .compute_hat_diag | R Documentation |
Computes the per-observation diagonal of the constrained hat matrix used
during tuning, without forming the full N \times N matrix.
.compute_hat_diag(X, G, A, AGAInv, K, p_expansions, eps = 1e-07)
X |
List of partition-specific design matrices. |
G |
List of partition-specific |
A |
Constraint matrix. |
AGAInv |
Inverse of |
K |
Number of interior knots. |
p_expansions |
Number of columns per partition. |
eps |
Numeric floor used to keep |
List with h_diag and C_list, both partition-wise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.