| .bf_case_glm_gee | R Documentation |
Stage 1 runs damped Newton-Raphson backfitting on the unwhitened link-scale working
response to produce a warm start. Stage 2 refines via damped SQP
on the full whitened system, replicating get_B Path 1b.
.bf_case_glm_gee(
X,
y,
K,
p_expansions,
flat_cols,
split,
family,
order_list,
glm_weight_function,
schur_correction_function,
qp_score_function,
need_dispersion_for_estimation,
dispersion_function,
observation_weights,
iterate,
tol,
max_backfit_iter,
parallel_eigen,
cl,
chunk_size,
num_chunks,
rem_chunks,
schur_zero,
quadprog,
qp_Amat,
qp_bvec,
qp_meq,
Lambda,
L_partition_list,
unique_penalty_per_partition,
A,
constraint_values,
Vhalf,
VhalfInv,
initial_active_ineq = integer(0),
include_warnings = TRUE,
verbose,
...
)
X |
List of |
y |
List of |
K |
Integer; number of interior knots. |
p_expansions |
Integer; number of coefficients per partition. |
flat_cols |
Integer vector indicating flat columns of
|
split |
Output of |
family |
GLM family object. |
order_list |
List of observation index vectors by partition. |
glm_weight_function |
GLM weight function. |
schur_correction_function |
Schur complement correction function. |
qp_score_function |
Score function for QP subproblem. |
need_dispersion_for_estimation |
Logical. |
dispersion_function |
Dispersion estimation function. |
observation_weights |
List of observation weights. |
iterate |
Logical; if FALSE, single pass (no iteration). |
tol |
Convergence tolerance. |
max_backfit_iter |
Integer. |
parallel_eigen, cl, chunk_size, num_chunks, rem_chunks |
Parallel arguments. |
schur_zero |
List of zeros (one per partition). |
quadprog |
Logical; apply inequality constraint refinement if TRUE. |
qp_Amat |
Inequality constraint matrix for
|
qp_bvec |
Inequality constraint right-hand side. |
qp_meq |
Number of leading equality constraints. |
Lambda |
|
L_partition_list |
List of partition-specific penalty matrices. |
unique_penalty_per_partition |
Logical. |
A |
Full |
constraint_values |
List of constraint right-hand sides. |
Vhalf |
Square root of the working correlation matrix in the original observation ordering. |
VhalfInv |
Inverse square root of the working correlation matrix
in the original observation ordering. When both are non- |
initial_active_ineq |
Optional inequality columns used as the first active set in tuning or repeated solves. |
include_warnings |
Logical. |
verbose |
Logical. |
... |
Additional arguments passed to weight and dispersion functions. |
A named list with result, beta_spline,
beta_flat, and qp_info.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.