Skip to content

Commit ec8173f

Browse files
committed
adding some more test coverage
Signed-off-by: Nathaniel <[email protected]>
1 parent 6aea139 commit ec8173f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

causalpy/tests/test_integration_pymc_examples.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,3 +750,14 @@ def test_inverse_prop(mock_pymc_sample):
750750
spline_component=True,
751751
)
752752
assert "spline_features" in idata_spline.posterior
753+
754+
# Test student-t outcome
755+
idata_student, _ = result.model.fit_outcome_model(
756+
X_outcome=result.X_outcome,
757+
y=result.y,
758+
coords=result.coords,
759+
noncentred=False,
760+
normal_outcome=False,
761+
spline_component=False,
762+
)
763+
assert "nu" in idata_student.posterior

0 commit comments

Comments
 (0)