Skip to content

SyntheticDiD docs/examples use zeta_omega/zeta_lambda, but diff-diff==2.3.0 constructor only accepts lambda_reg/zeta #146

@Toruk-Machto

Description

@Toruk-Machto

Hi,

I’m on diff-diff==2.3.0 and hit this error when following SyntheticDiD docs/tutorial examples:

TypeError: SyntheticDiD.init() got an unexpected keyword argument 'zeta_omega'

In my environment, SyntheticDiD.init uses old args (lambda_reg, zeta) instead of zeta_omega/zeta_lambda.

Could you clarify and align docs/version behavior?
Suggested options:

  1. Update docs/examples for 2.3.0 to use lambda_reg/zeta, or
  2. Add backward-compatible aliases for zeta_omega/zeta_lambda, or
  3. Add a clear version warning in docs for this API change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions