Skip to content

Commit ba70149

Browse files
authored
Parameterization docs fix for Normal distribution.
1 parent 0a40f36 commit ba70149

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pymc3/distributions/continuous.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,17 @@ class Normal(Continuous):
268268
mu : float
269269
Mean.
270270
sd : float
271-
Standard deviation (sd > 0).
271+
Standard deviation (sd > 0) (only required if tau is not specified).
272272
tau : float
273-
Precision (tau > 0).
273+
Precision (tau > 0) (only required if tau is not specified).
274+
275+
Examples
276+
--------
277+
with pm.Model():
278+
x = pm.Normal('x', mu=0, sd=10)
279+
280+
with pm.Model():
281+
x = pm.Normal('x', mu=0, tau=1/23)
274282
"""
275283

276284
def __init__(self, mu=0, sd=None, tau=None, **kwargs):

0 commit comments

Comments
 (0)