API Documentation

Start Here

Overview

This page is the reference hub for public APIs. Canonical mathematical and workflow discussions remain in the domain pages; this page links to curated reference surfaces for direct function/class lookup.

Longitudinal Estimator APIs

API Group

When To Use

Required Inputs

Key Outputs

RKHS (RKHSIV*, RKHS2IV*)

Kernel-based sequential/joint NPIV with regularization and CV.

A, B, C, C’, Y

Fitted bridge/structural predictors

Neural Network (AGMM*, AGMM2L2)

Adversarial minimax estimation with flexible representation learning.

A, B, C, C’, Y tensors/arrays

Learned predictors and training diagnostics

Ensemble / Random Forest (Ensemble*)

Oracle-style ensemble approximations for minimax objectives.

A, B, C, C’, Y

Ensemble estimators for g/h

Sparse/Regularized Linear + TSLS

Interpretable baselines and constrained optimization settings.

Matrix covariates + outcomes

Coefficients and predictions

Diagnostics APIs

Canonical diagnostics reference: Universal Diagnostics API

Semiparametric APIs

API

Target

Core Inputs

Main Return

DML_npiv

NPIV functional inference

Y, D, Z, W (+ options)

theta, var, ci

DML_mediated

Mediation estimands

mediated DGP blocks

effect estimates + CI

DML_longterm

Long-term treatment effects

long-term/surrogacy blocks

effect estimates + CI