| .compute_score_V_partitioned | R Documentation |
Computes the GEE score vector \mathbf{X}^{\top}\mathrm{diag}
(\mathbf{W})\mathbf{V}^{-1}(\mathbf{y} - \boldsymbol{\mu}) split
into per-partition pieces of dimension p \times 1 each. Uses
the identity \mathbf{V}^{-1} = \mathbf{I} + \boldsymbol{\Delta}_V
where \boldsymbol{\Delta}_V = \mathbf{V}^{-1} - \mathbf{I} is
precomputed and fixed across iterations, avoiding explicit formation
of \mathbf{V}^{-1}.
.compute_score_V_partitioned(
X,
X_block,
y,
result,
K,
p_expansions,
family,
W,
Delta_V,
observation_weights
)
X |
List of partition-specific design matrices. |
X_block |
Full |
y |
List of response vectors by partition. |
result |
List of current coefficient column vectors by partition. |
K, p_expansions |
Integer dimensions. |
family |
GLM family object. |
W |
Length- |
Delta_V |
Fixed |
observation_weights |
List of observation weights by partition. |
A list of K+1 column vectors, each
p\_expansions \times 1, representing the partition-wise
components of the full GEE score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.