diff_diff.SimulationMDEResults#
- class diff_diff.SimulationMDEResults[source]#
Bases:
objectResults from simulation-based minimum detectable effect search.
- effective_n_units#
Effective sample size when it differs from the requested
n_units(e.g., due to DDD grid rounding).Nonewhen no rounding occurred.- Type:
int or None
Methods
__init__(mde, power_at_mde, target_power, ...)summary()Generate a formatted summary.
to_dataframe()Convert results to a single-row DataFrame.
to_dict()Convert results to a dictionary.
Attributes
survey_config- __init__(mde, power_at_mde, target_power, alpha, n_units, n_simulations_per_step, n_steps, search_path, estimator_name, effective_n_units=None, survey_config=None)#
- classmethod __new__(*args, **kwargs)#