Skip to content
Submodule
causalis.dgp.panel_data_scm.base

base

Submodule causalis.dgp.panel_data_scm.base with no child pages and 35 documented members.

Classes

Jump directly into the documented classes for this page.

2 items
class
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig

PanelSCMGeneratorConfig

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_donors

n_donors

Value: 5

5

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_donors

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_pre_periods

n_pre_periods

Value: 20

20

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_pre_periods

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_post_periods

n_post_periods

Value: 10

10

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_post_periods

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.time_start

time_start

Value: 1

1

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.time_start

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.time_freq

time_freq

Value: 'M'

‘M’

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.time_freq

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.calendar_start

calendar_start

Value: '2000-01'

‘2000-01’

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.calendar_start

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treated_unit

treated_unit

Value: 'treated'

‘treated’

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treated_unit

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.donor_prefix

donor_prefix

Value: 'donor_'

‘donor_’

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.donor_prefix

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.random_state

random_state

Value: 42

42

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.random_state

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.return_panel_data

return_panel_data

Value: True

True

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.return_panel_data

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.dirichlet_alpha

dirichlet_alpha

Value: 1.0

1.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.dirichlet_alpha

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_common

rho_common

Value: 0.0

0.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_common

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_donor

rho_donor

Value: 0.0

0.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_donor

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_latent_factors

n_latent_factors

Value: 0

0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.n_latent_factors

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.latent_loading_std

latent_loading_std

Value: 0.35

0.35

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.latent_loading_std

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_latent

rho_latent

Value: 0.0

0.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_latent

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_prefit_mismatch

rho_prefit_mismatch

Value: 0.0

0.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.rho_prefit_mismatch

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.outcome_distribution

outcome_distribution

Value: 'gaussian'

‘gaussian’

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.outcome_distribution

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect

treatment_effect

Value: 2.0

2.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect_slope

treatment_effect_slope

Value: 0.0

0.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect_slope

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.donor_noise_std

donor_noise_std

Value: 0.2

0.2

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.donor_noise_std

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treated_noise_std

treated_noise_std

Value: 0.1

0.1

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treated_noise_std

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.common_factor_std

common_factor_std

Value: 0.15

0.15

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.common_factor_std

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.latent_factor_std

latent_factor_std

Value: 0.2

0.2

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.latent_factor_std

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.prefit_mismatch_std

prefit_mismatch_std

Value: 0.0

0.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.prefit_mismatch_std

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect_mode

treatment_effect_mode

Value: 'additive'

‘additive’

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect_mode

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect_rate

treatment_effect_rate

Value: 0.12

0.12

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.treatment_effect_rate

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.gamma_shape

gamma_shape

Value: 6.0

6.0

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.gamma_shape

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.donor_noise_std_log

donor_noise_std_log

Value: 0.15

0.15

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.donor_noise_std_log

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.common_factor_std_log

common_factor_std_log

Value: 0.1

0.1

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.common_factor_std_log

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.latent_factor_std_log

latent_factor_std_log

Value: 0.1

0.1

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.latent_factor_std_log

Link to this symbol
attribute
causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.prefit_mismatch_std_log

prefit_mismatch_std_log

Value: 0.08

0.08

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGeneratorConfig.prefit_mismatch_std_log

Link to this symbol
class
causalis.dgp.panel_data_scm.base.PanelSCMGenerator

PanelSCMGenerator

Low-level panel SCM generator supporting Gaussian, Gamma, and Poisson outcomes.

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGenerator

Link to this symbol
method
causalis.dgp.panel_data_scm.base.PanelSCMGenerator.generate

generate

Canonical target

causalis.dgp.panel_data_scm.base.PanelSCMGenerator.generate

Link to this symbol