| .woodbury_redecompose_weighted | R Documentation |
Weighted analogue of .woodbury_decompose_V(). At each GLM
iteration, this helper rebuilds the current correlated information,
absorbs the block-diagonal part into
\mathbf{G}_{\mathrm{on}}^{-1}, and refactors the cross-partition
remainder as \mathbf{E}\mathbf{J}\mathbf{E}^{\top}.
.woodbury_redecompose_weighted(
Delta_V,
X_block,
DV_X,
W,
X,
K,
p_expansions,
X_gram_weighted,
Lambda,
schur_corrections,
unique_penalty_per_partition,
L_partition_list,
parallel_eigen,
cl,
chunk_size,
num_chunks,
rem_chunks,
rank_threshold_fraction = 2/3,
family
)
Delta_V |
Fixed |
X_block |
Full |
DV_X |
Precomputed |
W |
Length- |
X |
List of partition-specific design matrices. |
K, p_expansions |
Integer dimensions. |
X_gram_weighted |
List of |
Lambda |
Shared |
schur_corrections |
List of |
unique_penalty_per_partition |
Logical. |
L_partition_list |
Partition-specific penalty matrices. |
parallel_eigen |
Logical; parallel eigendecomposition. |
cl, chunk_size, num_chunks, rem_chunks |
Parallel parameters. |
rank_threshold_fraction |
Numeric; Woodbury threshold (default 2/3). |
family |
GLM family object. |
It is standalone in the sense that it returns the full Woodbury state
for the current working weights:
corrected block-diagonal factors, the low-rank basis, and the small
inverse (\mathbf{J}^{-1} +
\mathbf{E}^{\top}\mathbf{G}_{\mathrm{on}}\mathbf{E})^{-1}.
A list with the same structure as .woodbury_decompose_V:
Logical; FALSE if rank exceeds threshold.
List of corrected \mathbf{G}_{\mathrm{on},k}^{1/2}.
List of corrected \mathbf{G}_{\mathrm{on},k}^{-1/2}.
List of corrected \mathbf{G}_{\mathrm{on},k}.
Off-diagonal low-rank factor (P \times r), denoted by
\mathbf{E} in the supplement.
Length-r sign vector, i.e.\ the diagonal of
\mathbf{J}.
Integer effective rank.
Precomputed r \times r Woodbury inner inverse; in
supplement notation,
(\mathbf{J}^{-1} + \mathbf{E}^{\top}\mathbf{G}_{\mathrm{on}}
\mathbf{E})^{-1}.
List of per-partition matrices corresponding to
\mathbf{G}_{\mathrm{on},k}\mathbf{E}[rows_k,] in supplement notation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.