Skip to content
Submodule
causalis.dgp.panel_data_scm.functional

functional

Submodule causalis.dgp.panel_data_scm.functional with no child pages and 6 documented members.

Functions

Jump directly into the documented functions for this page.

5 items

Data

Jump directly into the documented data for this page.

1 items
data
causalis.dgp.panel_data_scm.functional.PanelOutput

PanelOutput

Value: None

None

Canonical target

causalis.dgp.panel_data_scm.functional.PanelOutput

Link to this symbol
function
causalis.dgp.panel_data_scm.functional.generate_scm_data

generate_scm_data

Medium-level wrapper for Gaussian SCM panel generation.

Notes

The Gaussian treated counterfactual path is exact SCM only when both treated_noise_std=0.0 and prefit_mismatch_std=0.0. With either term non-zero, the generator intentionally produces an approximate-SCM fit path.

Examples

Canonical target

causalis.dgp.panel_data_scm.functional.generate_scm_data

Sections

NotesExamples
Link to this symbol
function
causalis.dgp.panel_data_scm.functional.generate_scm_gamma_data

generate_scm_gamma_data

Medium-level wrapper for realistic Gamma SCM panel generation.

Preferred usage is explicit n_pre_periods and n_post_periods. If both are omitted, they are inferred from n. The post-treatment effect path uses a ramp-in: at the first post period, the effective relative lift is treatment_effect_rate * (1 - exp(-1 / 2.5)) (about 0.33x of the parameter when slope is zero).

Examples

Canonical target

causalis.dgp.panel_data_scm.functional.generate_scm_gamma_data

Sections

Examples
Link to this symbol
function
causalis.dgp.panel_data_scm.functional.generate_scm_poisson_data

generate_scm_poisson_data

Medium-level wrapper for realistic Poisson SCM panel generation.

Preferred usage is explicit n_pre_periods and n_post_periods. If both are omitted, they are inferred from n. The post-treatment effect path uses a ramp-in: at the first post period, the effective relative lift is treatment_effect_rate * (1 - exp(-1 / 2.5)) (about 0.33x of the parameter when slope is zero).

Examples

Canonical target

causalis.dgp.panel_data_scm.functional.generate_scm_poisson_data

Sections

Examples
Link to this symbol
function
causalis.dgp.panel_data_scm.functional.generate_scm_gamma_26_data

generate_scm_gamma_26_data

Canonical target

causalis.dgp.panel_data_scm.functional.generate_scm_gamma_26_data

Link to this symbol
function
causalis.dgp.panel_data_scm.functional.generate_scm_poisson_26_data

generate_scm_poisson_26_data

Canonical target

causalis.dgp.panel_data_scm.functional.generate_scm_poisson_26_data

Link to this symbol