| .bf_inner_weighted | R Documentation |
Given damped Newton-Raphson weights and response partitioned into lists, runs the inner backfitting loop that alternates between a weighted spline step and a weighted flat step until convergence. Shared by both Case c (GEE warm start) and Case d (GLM without GEE).
.bf_inner_weighted(
X_spline,
X_flat,
z_list,
W_list,
K,
Lambda_spline,
Lambda_flat,
L_part_spline,
unique_penalty_per_partition,
A_spline,
constraint_values_spline,
nc_spline,
nc_flat,
beta_spline_init,
beta_flat_init,
tol,
max_backfit_iter,
parallel_eigen,
parallel_qr = FALSE,
cl,
chunk_size,
num_chunks,
rem_chunks,
split = NULL,
constraint_values = list(),
p_expansions = NULL
)
X_spline, X_flat |
Lists of per-partition submatrices. |
z_list |
List of |
W_list |
List of |
K |
Integer. |
Lambda_spline, Lambda_flat |
Penalty submatrices. |
L_part_spline |
Partition-specific spline penalty list. |
unique_penalty_per_partition |
Logical. |
A_spline |
Spline-only constraint matrix. |
constraint_values_spline |
Constraint RHS list. |
nc_spline, nc_flat |
Integers. |
beta_spline_init, beta_flat_init |
Initial coefficient values. |
tol |
Convergence tolerance. |
max_backfit_iter |
Maximum iterations. |
parallel_eigen, cl, chunk_size, num_chunks, rem_chunks |
Parallel arguments forwarded to |
split |
Output of |
constraint_values |
Full constraint RHS list. |
p_expansions |
Integer; columns per partition. |
A named list with beta_spline and
beta_flat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.