| boot_pval_cpp | Bootstrap p-value for Pearson risk = 1 test (fully in C++) |
| cgam | Causal generalized additive model |
| cglm | Causal generalized linear model |
| eval_submodels_cpp | Evaluate multiple submodels in C++ (for exhaustive search) |
| fast_fit_and_stat | Fit GLM and compute Pearson risk, BIC, and optionally bootstrap p-value |
| fast_glm_bic | Compute BIC for a GLM fit |
| fast_glm_fit | Fast GLM fit via IRLS |
| glm_loglik_cpp | Compute log-likelihood for Poisson or Binomial GLM |
| pearson_stat_cpp | Compute Pearson chi-square statistic from y and mu |