|
251 | 251 | }, |
252 | 252 | { |
253 | 253 | "cell_type": "code", |
254 | | - "execution_count": 8, |
| 254 | + "execution_count": null, |
255 | 255 | "id": "78ade03b-7950-4cd5-9e50-d9f1a949ebac", |
256 | 256 | "metadata": {}, |
257 | 257 | "outputs": [ |
|
278 | 278 | ], |
279 | 279 | "source": [ |
280 | 280 | "pte, lower_bound, upper_bound = estimator.predict_pte(\n", |
281 | | - " target_treatment_arm=1, control_treatment_arm=0, width=1, locations=locations\n", |
| 281 | + " target_treatment_arm=1,\n", |
| 282 | + " control_treatment_arm=0,\n", |
| 283 | + " locations=locations\n", |
282 | 284 | ")\n", |
283 | 285 | "plot(\n", |
284 | | - " locations,\n", |
| 286 | + " locations[:-1],\n", |
285 | 287 | " pte,\n", |
286 | 288 | " lower_bound,\n", |
287 | 289 | " upper_bound,\n", |
|
515 | 517 | }, |
516 | 518 | { |
517 | 519 | "cell_type": "code", |
518 | | - "execution_count": 17, |
| 520 | + "execution_count": null, |
519 | 521 | "id": "a1325579-6fca-4f6e-97c8-7b14cab2f984", |
520 | 522 | "metadata": {}, |
521 | 523 | "outputs": [ |
|
544 | 546 | "pte, lower_bound, upper_bound = estimator.predict_pte(\n", |
545 | 547 | " target_treatment_arm=1,\n", |
546 | 548 | " control_treatment_arm=0,\n", |
547 | | - " width=1,\n", |
548 | 549 | " locations=locations,\n", |
549 | 550 | " variance_type=\"simple\",\n", |
550 | 551 | ")\n", |
551 | 552 | "plot(\n", |
552 | | - " locations,\n", |
| 553 | + " locations[:-1],\n", |
553 | 554 | " pte,\n", |
554 | 555 | " lower_bound,\n", |
555 | 556 | " upper_bound,\n", |
|
560 | 561 | }, |
561 | 562 | { |
562 | 563 | "cell_type": "code", |
563 | | - "execution_count": 18, |
| 564 | + "execution_count": null, |
564 | 565 | "id": "55a80258-43c3-4fb2-baec-6c2dce3c174a", |
565 | 566 | "metadata": {}, |
566 | 567 | "outputs": [ |
|
589 | 590 | "pte, lower_bound, upper_bound = estimator.predict_pte(\n", |
590 | 591 | " target_treatment_arm=1,\n", |
591 | 592 | " control_treatment_arm=0,\n", |
592 | | - " width=1,\n", |
593 | 593 | " locations=locations,\n", |
594 | 594 | " variance_type=\"moment\",\n", |
595 | 595 | ")\n", |
596 | 596 | "plot(\n", |
597 | | - " locations,\n", |
| 597 | + " locations[:-1],\n", |
598 | 598 | " pte,\n", |
599 | 599 | " lower_bound,\n", |
600 | 600 | " upper_bound,\n", |
|
0 commit comments