Skip to content

Commit db33f0d

Browse files
committed
use the chisquared dist
1 parent 143d7ec commit db33f0d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/logprob/test_transform_value.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
from pytensor.graph import FunctionGraph
2727
from pytensor.graph.basic import equal_computations
2828

29+
import pymc as pm
30+
2931
from pymc.distributions.transforms import _default_transform, log, logodds
3032
from pymc.logprob import conditional_logp
3133
from pymc.logprob.abstract import MeasurableVariable, _logprob
@@ -153,6 +155,12 @@ def test_original_values_output_dict():
153155
lambda alpha, beta: sp.stats.invgamma(alpha, scale=beta),
154156
(),
155157
),
158+
(
159+
pm.ChiSquared.dist,
160+
(1.5,),
161+
lambda df: sp.stats.chi2(df),
162+
(),
163+
),
156164
pytest.param(
157165
pt.random.weibull,
158166
(1.5,),

0 commit comments

Comments
 (0)