| .get_B_gee_gaussian | R Documentation |
Computes the constrained penalized GLS estimate for Gaussian response
with identity link when a correlation structure is present. Because
\mathbf{V}^{-1/2} couples all partitions, fitting must operate on
the full P-dimensional whitened system rather than partition-wise.
.get_B_gee_gaussian(
X_block,
X_tilde,
y_tilde,
VhalfInv_perm,
Lambda_block,
A,
K,
p_expansions,
constraint_value_vectors,
family,
return_G_getB,
quadprog,
qp_Amat,
qp_bvec,
qp_meq,
qp_score_function,
order_list,
observation_weights,
obs_wt_precomp = NULL,
Gram_full_precomp = NULL,
Xy_tilde_precomp = NULL,
parallel_qr = FALSE,
cl = NULL,
...
)
X_block |
Full |
X_tilde |
Whitened design |
y_tilde |
Whitened response |
VhalfInv_perm |
|
Lambda_block |
Full |
A |
Constraint matrix ( |
K, p_expansions |
Integer dimensions. |
constraint_value_vectors |
Constraint RHS list encoding
|
family |
GLM family object. |
return_G_getB |
Logical; return covariance components. |
quadprog |
Logical; apply QP refinement. |
qp_Amat, qp_bvec, qp_meq |
QP constraint specification. |
qp_score_function |
Score function for QP step. |
order_list, observation_weights |
Standard partition arguments. |
obs_wt_precomp, Gram_full_precomp, Xy_tilde_precomp |
Optional pre-computed tuning quantities for repeated correlated Gaussian fits. |
... |
Passed to score function. |
The unconstrained GLS estimate is:
\hat{\boldsymbol{\beta}} = \mathbf{G}(\mathbf{X}^{*\top}
\mathbf{y}^{*}), \quad
\mathbf{G} = (\mathbf{X}^{*\top}\mathbf{X}^{*} +
\boldsymbol{\Lambda})^{-1}
where \mathbf{X}^{*} = \mathbf{V}^{-1/2}\mathbf{X} and
\mathbf{y}^{*} = \mathbf{V}^{-1/2}\mathbf{y}. The constrained
estimate is then obtained via the \mathbf{G}^{1/2}\mathbf{r}^*
trick in the full P-dimensional space.
If return_G_getB = TRUE: list with B,
G_list, and qp_info. Otherwise: list of B and
qp_info.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.