INNER CODE UNIT · Python
DoubleMLClusterData
DoubleML/doubleml-for-py · doubleml/data/__init__.py:15
class DoubleMLClusterData(DoubleMLData):
"""
Backwards compatibility wrapper for DoubleMLData with cluster_cols.
This class is deprecated and will be removed in a future version.
Use DoubleMLData with cluster_cols instead.
"""
def __init__(
self,
data,
y_col,
d_cols,
cluster_cols,
x_cols=None,
z_cols=None,
t_col=None,
s_col=None,
use_other_treat_as_covariate=True,