@@ -97,10 +97,10 @@ The base class of all the methods in our API has the following signature:
9797 Parameters:
9898 Y: (n × d_y) matrix of outcomes for each sample
9999 T: (n × d_t) matrix of treatments for each sample
100- X: optional (n × d_x) matrix of features for each sample
101- W: optional (n × d_w) matrix of controls for each sample
102- Z: optional (n × d_z) matrix of instruments for each sample
103- inference: optional string, `Inference` instance, or None
100+ X: (n × d_x) matrix of features for each sample, optional
101+ W: (n × d_w) matrix of controls for each sample, optional
102+ Z: (n × d_z) matrix of instruments for each sample, optional
103+ inference: str or `Inference` instance, optional
104104 Method for performing inference. All estimators support 'bootstrap'
105105 (or an instance of `BootstrapInference`), some support other methods as well.
106106 '''
@@ -112,7 +112,7 @@ The base class of all the methods in our API has the following signature:
112112 Parameters:
113113 T0: (m × d_t) matrix of base treatments for each sample
114114 T1: (m × d_t) matrix of target treatments for each sample
115- X: optional (m × d_x) matrix of features for each sample
115+ X: (m × d_x) matrix of features for each sample, optional
116116
117117 Returns:
118118 tau: (m × d_y) matrix of heterogeneous treatment effects on each outcome
@@ -125,7 +125,7 @@ The base class of all the methods in our API has the following signature:
125125
126126 Parameters:
127127 T: (m × d_t) matrix of base treatments for each sample
128- X: optional (m × d_x) matrix of features for each sample
128+ X: (m × d_x) matrix of features for each sample, optional
129129
130130 Returns:
131131 grad_tau: (m × d_y × d_t) matrix of heterogeneous marginal effects on each outcome
@@ -137,10 +137,10 @@ The base class of all the methods in our API has the following signature:
137137 Available only when inference is not None, when calling the fit method.
138138
139139 Parameters:
140- X: optional (m, d_x) matrix of features for each sample
141- T0: optional (m, d_t) matrix of base treatments for each sample
142- T1: optional (m, d_t) matrix of target treatments for each sample
143- alpha: optional float in [0, 1] of the (1-alpha) level of confidence
140+ X: (m, d_x) matrix of features for each sample, optional
141+ T0: (m, d_t) matrix of base treatments for each sample, optional
142+ T1: (m, d_t) matrix of target treatments for each sample, optional
143+ alpha: float in [0, 1] of the (1-alpha) level of confidence, optional
144144
145145 Returns:
146146 lower, upper : tuple of the lower and the upper bounds of the confidence interval
@@ -153,8 +153,8 @@ The base class of all the methods in our API has the following signature:
153153
154154 Parameters:
155155 T: (m, d_t) matrix of base treatments for each sample
156- X: optional (m, d_x) matrix of features for each sample
157- alpha: optional float in [0, 1] of the (1-alpha) level of confidence
156+ X: (m, d_x) matrix of features for each sample, optional
157+ alpha: float in [0, 1] of the (1-alpha) level of confidence, optional
158158
159159 Returns:
160160 lower, upper : tuple of the lower and the upper bounds of the confidence interval
@@ -236,7 +236,7 @@ and constant marginal CATE interval at any target feature vector :math:`\vec{x}`
236236 features on a set of m test samples {X_i}
237237
238238 Parameters:
239- X: optional (m × d_x) matrix of features for each sample
239+ X: (m × d_x) matrix of features for each sample, optional
240240
241241 Returns:
242242 theta: (m × d_y × d_f_t) matrix of constant marginal CATE of each treatment on each outcome
@@ -249,8 +249,8 @@ and constant marginal CATE interval at any target feature vector :math:`\vec{x}`
249249 Available only when inference is not None, when calling the fit method.
250250
251251 Parameters:
252- X: optional (m, d_x) matrix of features for each sample
253- alpha: optional float in [0, 1] of the (1-alpha) level of confidence
252+ X: (m, d_x) matrix of features for each sample, optional
253+ alpha: float in [0, 1] of the (1-alpha) level of confidence, optional
254254
255255 Returns:
256256 lower, upper : tuple of the lower and the upper bounds of the confidence interval
0 commit comments