Skip to content
Submodule
causalis.dgp.panel_data_did.functional

functional

Submodule causalis.dgp.panel_data_did.functional with no child pages and 7 documented members.

Functions

Jump directly into the documented functions for this page.

5 items

Data

Jump directly into the documented data for this page.

2 items
data
causalis.dgp.panel_data_did.functional.PanelOutput

PanelOutput

Value: None

None

Canonical target

causalis.dgp.panel_data_did.functional.PanelOutput

Link to this symbol
function
causalis.dgp.panel_data_did.functional.generate_did_data

generate_did_data

Generate a realistic Gaussian DID panel with a common adoption date.

The outcome is a continuous marketplace-style metric generated from unit size, demand seasonality, macro shocks, competition, average order value, serially correlated unit noise, and a post-adoption relative lift for all treated units. Oracle columns expose the untreated counterfactual and true effect on each treated post-treatment row.

Canonical target

causalis.dgp.panel_data_did.functional.generate_did_data

Link to this symbol
function
causalis.dgp.panel_data_did.functional.generate_did_gamma_data

generate_did_gamma_data

Generate a realistic Gamma DID panel for positive continuous outcomes.

Preferred usage is explicit n_pre_periods and n_post_periods. If both are omitted, they are inferred from n.

Canonical target

causalis.dgp.panel_data_did.functional.generate_did_gamma_data

Link to this symbol
function
causalis.dgp.panel_data_did.functional.generate_did_poisson_data

generate_did_poisson_data

Generate a realistic Poisson DID panel for count outcomes.

Preferred usage is explicit n_pre_periods and n_post_periods. If both are omitted, they are inferred from n.

Canonical target

causalis.dgp.panel_data_did.functional.generate_did_poisson_data

Link to this symbol
function
causalis.dgp.panel_data_did.functional.generate_did_gamma

generate_did_gamma

Scenario-style Gamma DID wrapper with Causalis 26 naming.

Canonical target

causalis.dgp.panel_data_did.functional.generate_did_gamma

Link to this symbol
data
causalis.dgp.panel_data_did.functional.generate_did_gamma_26_data

generate_did_gamma_26_data

Value: None

None

Canonical target

causalis.dgp.panel_data_did.functional.generate_did_gamma_26_data

Link to this symbol
function
causalis.dgp.panel_data_did.functional.generate_did_poisson_26_data

generate_did_poisson_26_data

Scenario-style Poisson DID wrapper with Causalis 26 naming.

Canonical target

causalis.dgp.panel_data_did.functional.generate_did_poisson_26_data

Link to this symbol