@@ -43,6 +43,7 @@ def test_did():
43
43
assert isinstance (result , cp .pymc_experiments .DifferenceInDifferences )
44
44
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
45
45
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
46
+ result .summary ()
46
47
47
48
48
49
# TODO: set up fixture for the banks dataset
@@ -98,6 +99,7 @@ def test_did_banks_simple():
98
99
assert isinstance (result , cp .pymc_experiments .DifferenceInDifferences )
99
100
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
100
101
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
102
+ result .summary ()
101
103
102
104
103
105
@pytest .mark .integration
@@ -149,6 +151,7 @@ def test_did_banks_multi():
149
151
assert isinstance (result , cp .pymc_experiments .DifferenceInDifferences )
150
152
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
151
153
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
154
+ result .summary ()
152
155
153
156
154
157
@pytest .mark .integration
@@ -174,6 +177,7 @@ def test_rd():
174
177
assert isinstance (result , cp .pymc_experiments .RegressionDiscontinuity )
175
178
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
176
179
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
180
+ result .summary ()
177
181
178
182
179
183
@pytest .mark .integration
@@ -200,6 +204,7 @@ def test_rd_bandwidth():
200
204
assert isinstance (result , cp .pymc_experiments .RegressionDiscontinuity )
201
205
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
202
206
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
207
+ result .summary ()
203
208
204
209
205
210
@pytest .mark .integration
@@ -229,6 +234,7 @@ def test_rd_drinking():
229
234
assert isinstance (result , cp .pymc_experiments .RegressionDiscontinuity )
230
235
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
231
236
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
237
+ result .summary ()
232
238
233
239
234
240
def setup_regression_kink_data (kink ):
@@ -281,6 +287,7 @@ def test_rkink():
281
287
assert isinstance (result , cp .pymc_experiments .RegressionKink )
282
288
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
283
289
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
290
+ result .summary ()
284
291
285
292
286
293
@pytest .mark .integration
@@ -307,6 +314,7 @@ def test_rkink_bandwidth():
307
314
assert isinstance (result , cp .pymc_experiments .RegressionKink )
308
315
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
309
316
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
317
+ result .summary ()
310
318
311
319
312
320
@pytest .mark .integration
@@ -336,6 +344,7 @@ def test_its():
336
344
assert isinstance (result , cp .pymc_experiments .SyntheticControl )
337
345
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
338
346
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
347
+ result .summary ()
339
348
340
349
341
350
@pytest .mark .integration
@@ -366,6 +375,7 @@ def test_its_covid():
366
375
assert isinstance (result , cp .pymc_experiments .InterruptedTimeSeries )
367
376
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
368
377
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
378
+ result .summary ()
369
379
370
380
371
381
@pytest .mark .integration
@@ -392,6 +402,7 @@ def test_sc():
392
402
assert isinstance (result , cp .pymc_experiments .SyntheticControl )
393
403
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
394
404
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
405
+ result .summary ()
395
406
396
407
397
408
@pytest .mark .integration
@@ -430,6 +441,7 @@ def test_sc_brexit():
430
441
assert isinstance (result , cp .pymc_experiments .SyntheticControl )
431
442
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
432
443
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
444
+ result .summary ()
433
445
434
446
435
447
@pytest .mark .integration
@@ -455,6 +467,7 @@ def test_ancova():
455
467
assert isinstance (result , cp .pymc_experiments .PrePostNEGD )
456
468
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
457
469
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
470
+ result .summary ()
458
471
459
472
460
473
@pytest .mark .integration
@@ -485,6 +498,7 @@ def test_geolift1():
485
498
assert isinstance (result , cp .pymc_experiments .SyntheticControl )
486
499
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
487
500
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
501
+ result .summary ()
488
502
489
503
490
504
@pytest .mark .integration
0 commit comments