File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -521,6 +521,13 @@ class TestSkewNormal(BaseTestDistribution):
521
521
]
522
522
523
523
524
+ class TestSkewNormalTau (BaseTestDistribution ):
525
+ pymc_dist = pm .SkewNormal
526
+ pymc_dist_params = {"mu" : 0.0 , "tau" : 1.0 , "alpha" : 5.0 }
527
+ expected_rv_op_params = {"mu" : 0.0 , "sigma" : 1.0 ** - 0.5 , "alpha" : 5.0 }
528
+ tests_to_run = ["check_pymc_params_match_rv_op" ]
529
+
530
+
524
531
class TestRice (BaseTestDistribution ):
525
532
pymc_dist = pm .Rice
526
533
nu = sigma = 2
@@ -535,6 +542,14 @@ class TestRice(BaseTestDistribution):
535
542
]
536
543
537
544
545
+ class TestRiceB (BaseTestDistribution ):
546
+ pymc_dist = pm .Rice
547
+ b , sigma = 1 , 2
548
+ pymc_dist_params = {"b" : b , "sigma" : sigma }
549
+ expected_rv_op_params = {"nu" : b * sigma , "sigma" : sigma }
550
+ tests_to_run = ["check_pymc_params_match_rv_op" ]
551
+
552
+
538
553
class TestStudentTLam (BaseTestDistribution ):
539
554
pymc_dist = pm .StudentT
540
555
lam , sigma = get_tau_sigma (tau = 2.0 )
You can’t perform that action at this time.
0 commit comments