Skip to content

Commit f8c015f

Browse files
committed
Fixed incorrect calculation in zvalue
1 parent a2c3d97 commit f8c015f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/dist_math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ def zvalue(value, sd=1, mu=0):
101101
"""
102102
Calculate the z-value for a normal distribution. By default standard normal.
103103
"""
104-
return (value - mu) / tt.sqrt(2 * sd**2)
104+
return (value - mu) / sd

0 commit comments

Comments
 (0)