diff_diff.TWFEWeightsResult#

class diff_diff.TWFEWeightsResult[source]#

Bases: object

Lightweight container for the standalone twowayfeweights helper.

Returned by twowayfeweights(). Mirrors the per-cell decomposition information that the dCDH estimator stores on its results object when twfe_diagnostic=True, but available as a standalone function for users who only want the diagnostic without fitting the full estimator.

Methods

__init__(weights, fraction_negative, ...)

Attributes

weights

fraction_negative

sigma_fe

beta_fe

__init__(weights, fraction_negative, sigma_fe, beta_fe)[source]#
Parameters:
Return type:

None

classmethod __new__(*args, **kwargs)#