Man pages for lgspline
Lagrangian Multiplier Smoothing Splines for Smooth Function Estimation

AGAmult_wrapperEfficient Matrix Multiplication for...
approx_gradFinite-difference Gradient Computer
armaInvMatrix Inversion using Armadillo
blockfit_solveBackfitting Solver for Blockfit Models
coef.lgsplineExtract Coefficients from a Fitted lgspline
coef.wald_lgsplineExtract Coefficients from a wald_lgspline Object
collapse_block_diagonalCollapse Matrix List into a Single Dense Block-Layout Matrix
compute_dG_dlambdaCompute Derivative of Inverse-Information Matrix G with...
compute_dGhalfCompute Eigen-Based Square-Root Factors for...
compute_dG_u_dlambda_xyDerivative of Constrained Penalized Coefficients with Respect...
compute_G_eigenCompute Eigenvalues and Related Matrices for G
compute_GhalfXy_temp_wrapperCompute Component...
compute_gram_block_diagonalCompute Gram Matrix for Block Diagonal Structure
compute_LambdaConstruct Smoothing Spline Penalty Matrix
compute_trace_HEffective degrees of freedom via trace of the hat matrix
compute_trace_UGXX_wrapperCalculate Trace of Matrix Product...
confint.lgsplineConfidence Intervals for lgspline Coefficients
confint.wald_lgsplineExtract Confidence Intervals from a wald_lgspline Object
cox_dispersion_functionCox PH Dispersion Function
cox_familyCox Proportional Hazards Family for lgspline
cox_glm_weight_functionCox PH GLM Weight Function
cox_helpersCox Proportional Hazards Helpers for lgspline
cox_qp_score_functionCox PH Score Function for Quadratic Programming and Blockfit
cox_schur_correctionCox PH Schur Correction
create_block_diagonalCreate Block Diagonal Matrix
create_onehotCreate One-Hot Encoded Matrix
damped_newton_rDamped Newton-Raphson Parameter Optimization
DetailsLagrangian Multiplier Smoothing Splines: Mathematical Details
dot-active_set_refinePartition-Wise Active-Set Refinement for Inequality...
dot-active_set_refine_fullFull-System Active-Set Refinement for Correlated Paths
dot-active_set_refine_woodburyPartition-Wise Active-Set Refinement for Woodbury GEE Paths
dot-bf_assemble_qp_infoAssemble qp_info from a solve.QP Solution
dot-bf_case_gauss_geeGaussian Identity + GEE: Closed-Form Solve (Case a)
dot-bf_case_gauss_no_corrGaussian Identity Backfitting Without Correlation (Case b)
dot-bf_case_glm_geeGLM + GEE Two-Stage Estimation (Case c)
dot-bf_case_glm_no_corrGLM Without GEE: Damped Newton-Raphson + Backfitting (Case d)
dot-bf_constrained_flat_updateConstrained Flat Update Given Current Spline Solution
dot-bf_devianceCompute Deviance for Non-GEE Models
dot-bf_gee_devianceCompute Whitened Deviance for GEE Convergence Monitoring
dot-bf_get_mu_etaNumerical Derivative of the Inverse Link Function
dot-bf_inner_weightedGLM Backfitting Inner Loop
dot-bf_lagrangian_projectLagrangian Projection for the Spline-Only Subproblem
dot-bf_make_Lambda_blockConstruct Full Block-Diagonal Penalty Matrix
dot-bf_split_componentsSplit Design and Penalty into Spline and Flat Components
dot-bf_sqp_loopDamped SQP Refinement on the Full (Optionally Whitened)...
dot-build_deriv_qpBuild Derivative QP Constraints in Full P-Dimensional Space
dot-build_lambda_blockBuild Block-Diagonal Penalty Matrix
dot-build_tuning_envBuild Tuning Environment
dot-check_kkt_fullCheck KKT Conditions for Full-System Active-Set Refinement
dot-check_kkt_partitionwiseCheck KKT Conditions for Partition-Wise Active-Set Method
dot-check_kkt_partitionwise_woodburyCheck KKT Conditions for Woodbury Partition-Wise Active-Set...
dot-compute_dhat_diagCompute the Derivative of the Tuning Hat Matrix Diagonal
dot-compute_dist_blockCompute Euclidean distance matrix for a cluster block
dot-compute_gcvuEvaluate Modified GCV_u Criterion at a Given Penalty...
dot-compute_gcvu_gradientCompute Closed-Form Gradient of GCV_u Criterion
dot-compute_hat_diagCompute the Diagonal of the Tuning Hat Matrix
dot-compute_loocvEvaluate Exact Leave-One-Out Criterion at a Given Penalty...
dot-compute_loocv_gradientCompute Closed-Form Gradient of Exact Leave-One-Out Criterion
dot-compute_meta_penaltyCompute Regularization (Meta) Penalty on Penalty Parameters
dot-compute_meta_penalty_gradientCompute Gradient of Regularization (Meta) Penalty
dot-compute_score_V_partitionedCompute Partitioned GEE Score Vector
dot-compute_tuning_deltaCompute Pseudocount Delta for Link Function Stabilization
dot-compute_tuning_predictionsCompute Predictions During Penalty Tuning
dot-compute_tuning_residualsCompute Residuals During Penalty Tuning
dot-compute_Xy_VCompute Partitioned GLS Cross-Products
dot-constraint_col_scalesCompute Stable Column Rescaling for Constraint Matrices
dot-damped_bfgsDamped BFGS Optimizer for Penalty Tuning
dot-detect_qp_globalDetect Whether Inequality Constraints Need the Global Bridge
dot-extract_G_diagonalExtract Per-Partition Diagonal Blocks from a Full Matrix
dot-fit_coefficientsFit Coefficients During Penalty Tuning: blockfit_solve or...
dot-fit_get_BCall get_B During Penalty Tuning
dot-get_B_gaussian_nocorrPath 2: Gaussian Identity Link, No Correlation
dot-get_B_gee_gaussianPath 1a: Gaussian Identity + GEE (Closed-Form Full-System...
dot-get_B_gee_glmPath 1b: Non-Gaussian GEE (Damped SQP with Full Whitened...
dot-get_B_gee_glm_woodburyPath 1b-Woodbury: Non-Gaussian GEE with Woodbury Acceleration
dot-get_B_gee_woodburyPath 1a-Woodbury: Gaussian GEE with Woodbury Acceleration
dot-get_B_glm_nocorrPath 3: Non-Gaussian GLM, No Correlation
dot-lagrangian_projectLagrangian Projection via OLS Reformulation
dot-lagrangian_project_fullFull-System Lagrangian Projection
dot-lagrangian_project_woodburyWoodbury-Corrected Lagrangian Projection
dot-qp_refineQuadratic Programming Refinement for Inequality Constraints
dot-rank_distsCompute rank-based distance matrix for AR(1) structures
dot-recompute_G_at_estimateRecompute G at Current Coefficient Estimates
dot-solver_active_setGeneric Outer Active-Set Loop Around Equality-Constrained...
dot-solver_assemble_qp_infoAssemble qp_info from a solve.QP Solution
dot-solver_build_active_qp_infoBuild qp_info for an Active-Set Solve
dot-solver_build_augmented_constraintsBuild Augmented Equality System for an Active-Set Iteration
dot-solver_build_constraint_rhsBuild Equality Right-Hand Side for Constraint Matrix
dot-solver_build_lambda_blockBuild Block-Diagonal Penalty Matrix
dot-solver_check_primal_feasibilityCheck Primal Feasibility of Inactive Inequality Constraints
dot-solver_detect_qp_globalDetect Whether Inequality Constraints Need the Global Bridge
dot-solver_recompute_G_at_estimateRecompute G, Ghalf, and GhalfInv at a Supplied Coefficient...
dot-solver_recover_active_multipliersRecover Active-Constraint Multipliers from Transformed OLS
dot-solver_resolve_active_setRe-Solve an Equality Subproblem for a Fixed Active Set
dot-solver_stabilize_working_weightsStabilize GLM Working Weights Before Linear Algebra
dot-try_woodbury_active_setAttempt Woodbury Partition-Wise Active-Set Refinement
dot-tune_grid_searchGrid Search Initialization for Penalty Tuning
dot-woodbury_decompose_VWoodbury Decomposition of Correlation Structure
dot-woodbury_halfsqrt_componentsCompute Woodbury Half-Square-Root Components
dot-woodbury_redecompose_weightedPer-Iteration Weighted Woodbury Redecomposition
dot-woodbury_transform_constraint_matrixForm the Woodbury-Corrected Constraint Design Matrix
dot-woodbury_transform_constraint_matrix_transposeForm the Transpose Woodbury-Corrected Constraint Matrix
efficient_bfgsBFGS Implementation for REML Parameter Estimation
efficient_matrix_multEfficient Matrix Multiplication
equationPrint Closed-Form Fitted Equation from lgspline Model
expgridGenerate Grid Indices Without expand.grid()
find_extremumFind the Extremum of a Fitted lgspline
find_neighborsFind Neighboring Cluster Partitions Using Midpoint Distance...
GAmult_wrapperEfficient Matrix Multiplication of G and A Matrices
generate_posteriorGenerate Posterior Samples from a Fitted lgspline
generate_posterior_correlationGenerate Posterior Samples Propagating Correlation Parameter...
get_2ndDerivPenaltyCompute Integrated Squared Second Derivative Penalty Matrix
get_2ndDerivPenalty_wrapperWrapper for Integrated Second-Derivative Penalty Computation
get_BCompute Constrained GLM Coefficient Estimates via Lagrangian...
get_B_verification_examplesVerification Examples for get_B
get_centersGet Centers for Partitioning
get_interaction_patternsGenerate Interaction Variable Patterns
get_polynomial_expansionsGenerate Design Matrix with Polynomial and Interaction Terms
get_UEfficiently Construct U Matrix
gramMatrixCompute Gram Matrix
grapes-times-times-grapesEfficient Matrix Multiplication Operator
info_coxCompute Cox Observed Information Matrix
info_negbinCompute Negative Binomial Observed Information Matrix
integrateGeneric for Numerical Integration
integrate.lgsplineDefinite Integral of a Fitted lgspline
invertMatrix Inversion with Fallback Methods
is_binaryTest if Vector is Binary
knot_expand_listExpand Matrix into Partition Lists Based on Knot Boundaries
leave_one_outCompute Leave-One-Out Cross-Validated Predictions for...
lgsplineFit Lagrangian Multiplier Smoothing Splines
lgspline_coxFit Cox Proportional Hazards Model via lgspline
lgspline.fitLow-Level Fitting for Lagrangian Smoothing Splines
lgspline-methodslgspline: S3 Methods
lgspline_negbinFit Negative Binomial Model via lgspline
lgspline-packageLagrangian Multiplier Smoothing Splines
lgspline_weibullFit Weibull Accelerated Failure Time Model via lgspline
loglik_coxCompute Cox Partial Log-Likelihood
logLik.lgsplineExtract Log-Likelihood from a Fitted lgspline
loglik_negbinCompute Negative Binomial Log-Likelihood
loglik_weibullCompute Log-Likelihood for Weibull Accelerated Failure Time...
make_constraint_matrixCreate Smoothing Spline Constraint Matrix
make_derivative_matrixCompute First and Second Derivative Matrices
make_partitionsCreate Data Partitions Using Clustering
matinvsqrtCalculate Matrix Inverse Square Root for Symmetric Matrices
matmult_block_diagonalMultiply Block Diagonal Matrices in Parallel
matmult_ULeft-Multiply a List of Block-Diagonal Matrices by U
matsqrtCalculate Matrix Square Root for Symmetric Matrices
negbin_dispersion_functionNB Dispersion Function
negbin_familyNegative Binomial Family for lgspline
negbin_glm_weight_functionNB GLM Weight Function
negbin_helpersNegative Binomial Regression Helpers for lgspline
negbin_qp_score_functionNB Score Function for Quadratic Programming and Blockfit
negbin_schur_correctionNB Schur Correction
negbin_thetaEstimate Negative Binomial Shape Parameter
nr_iterateCompute Newton-Raphson Parameter Update with Numerical...
plot.lgsplinePlot Method for lgspline Objects
plot.wald_lgsplinePlot Method for wald_lgspline Objects
predict.lgsplinePredict Method for lgspline Objects
print.lgsplinePrint Method for lgspline Objects
print.summary.lgsplinePrint Method for lgspline Summaries
print.wald_lgsplinePrint Method for wald_lgspline Objects
prior_loglikLog-Prior Distribution Evaluation for lgspline Models
process_inputProcess Input Arguments for lgspline
process_qpPrepare Quadratic Programming Constraints for lgspline
reml_grad_from_dVEvaluate the REML gradient with respect to a single...
safe_replace_varSafely Replace Variable Names in Printed Terms
score_coxCompute Cox Partial Log-Likelihood Score Vector
score_negbinCompute Negative Binomial Score Vector
softplusCompute softplus transform
stdStandardize Vector to Z-Scores
summary.lgsplineSummary Method for lgspline Objects
summary.wald_lgsplineSummary Method for wald_lgspline Objects
take_derivativeCalculate Derivatives of Polynomial Terms
take_interaction_2ndderivativeCalculate Second Derivatives of Interaction Terms
tune_LambdaTune Smoothing and Ridge Penalties via Leave-One-Out or...
unconstrained_fit_coxUnconstrained Cox PH Estimation for lgspline
unconstrained_fit_defaultUnconstrained Generalized Linear Model Estimation
unconstrained_fit_negbinUnconstrained NB Estimation for lgspline
unconstrained_fit_weibullUnconstrained Weibull Accelerated Failure Time Model...
vectorproduct_block_diagonalVector-Matrix Multiplication for Block Diagonal Matrices
wald_univariateUnivariate Wald Tests and Confidence Intervals for lgspline...
weibull_dispersion_functionEstimate Weibull Dispersion for Accelerated Failure Time...
weibull_familyWeibull Family for Survival Model Specification
weibull_glm_weight_functionWeibull GLM Weight Function for Constructing Information...
weibull_qp_score_functionCompute Gradient of Log-Likelihood of Weibull Accelerated...
weibull_scaleEstimate Scale for Weibull Accelerated Failure Time Model
weibull_schur_correctionCorrection for the Variance-Covariance Matrix for Uncertainty...
lgspline documentation built on May 8, 2026, 5:07 p.m.