Builds the table of finite-lag divergences consumed by the causal influence range estimators. A lag table uses the complete online Theorem 3 smoother as its reference. That reference costs O(N) time-point work; table construction then costs work proportional to the retained lag cells, with O(N^2) cells for a full table in the worst case.
Arguments
- model
A
cgns_modelobject.- obs
An observed trajectory, or anything
as_obs()accepts.- mode
Either
"forward"or"full", selecting which cells are retained.- tol
Positive tolerance below which a row is frozen by the adaptive storage rule.
- window
Number of consecutive steps a row must stay below
tolbefore it is frozen.- max_lag
Maximum positive lag retained, or
Inffor no cap.- filter
Optional precomputed filter path.
- smoother
Optional precomputed smoother path.
- conditional
Optional
aci_conditional_spec; seeaci_conditional().- init
Optional list with the initial hidden
meanandcov.- stepper
Either
"explicit"or"implicit".- nsub
Positive whole number of sub-steps taken per observation.
- regularize
Covariance policy for this call; see
aci_filter(). One record covers the filter, the Theorem 3 reference smoother and every relative-entropy denominator the table forms, and is returned inmeta$regularization.- ...
Must be empty; unused arguments are an error.
References
Andreou, M. and Chen, N. (2026). Bridging prediction and attribution: identifying forward and backward causal influence ranges using assimilative causal inference. arXiv:2510.21889v2, 4 August 2026. doi:10.48550/arXiv.2510.21889
Andreou, M., Chen, N. and Li, Y. (2026). An adaptive online smoother with closed-form solutions and information-theoretic lag selection for conditional Gaussian nonlinear systems. Journal of Nonlinear Science 36(4), 71. doi:10.1007/s00332-026-10271-x
Examples
m <- aci_dyad_model()
sim <- simulate(m, seed = 1, t_end = 2, dt = 0.01)
ob <- as_obs(sim)
lag_table(m, ob, mode = "forward")
#> Warning: No init$cov supplied; using a diffuse prior. Discard an initial burn-in window when interpreting results.
#> <lag_table> mode = forward, N+1 = 201, tol = 1e-08
#> mean retained lag: 100.0 steps; max heuristic tail estimate: 0.00e+00