Package: lepidoptera 0.1.2

Danilo Sarti
lepidoptera: Domain-Agnostic Causal Simulation Engine with Mixed Variable Types
A domain-agnostic simulation engine for structural causal models with heterogeneous variable types. Users define systems of continuous, categorical, and ordinal features, declare a directed acyclic graph (DAG) over them, attach typed generative mechanisms to each node, and simulate synthetic populations. A pre-built mechanism library covers all nine parent-type/child-type combinations. Vine copula mechanisms estimate full joint dependence from observed data via pair-copula constructions (Bedford and Cooke, 2002) <doi:10.1214/aos/1031689014>. Individual-level counterfactual queries are supported through partial propagation, which freezes unaffected random draws and resamples only the downstream subgraph, enabling individual treatment effect (ITE) estimation alongside population-level average treatment effects (ATE). Any pre-fitted predictive model can serve as a generative mechanism through three wrapper functions. Systems serialise to JSON for cross-language portability with the companion Python package.
Authors:
lepidoptera_0.1.2.tar.gz
lepidoptera_0.1.2.zip(r-4.7-any)lepidoptera_0.1.2.zip(r-4.6-any)
lepidoptera_0.1.2.tar.gz(r-4.7-any)lepidoptera_0.1.2.tar.gz(r-4.6-any)
lepidoptera_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lepidoptera/json (API)
| # Install 'lepidoptera' in R: |
| install.packages('lepidoptera', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/danilosarti/lepidoptera/issues
Last updated from:52088561ae. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 145 | ||
| source / vignettes | OK | 168 | ||
| linux-release | OK | 117 | ||
| windows-devel | OK | 96 | ||
| windows-release | OK | 92 | ||
| wasm-release | OK | 96 |
Exports:add_dependencyadd_featurecomparecopula_mechanismdo_distributiondo_fixexport_systemfeature_specfeature_typesfinalize_systemimport_systemlearned_mechanismlist_copula_familiesllm_mechanismmechanism_library_getmechanism_overridemodel_mechanismnew_systemplot_graphpropagateregister_mechanismshiftsimulate
Dependencies:
