Skip to content

Commit 03ee596

Browse files
committed
Made data type corrections in normal distribution docstrings
1 parent 9521841 commit 03ee596

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pymc/distributions/continuous.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -525,12 +525,14 @@ class Normal(Continuous):
525525
526526
Parameters
527527
----------
528-
mu : float
529-
Mean. Defaults to 0.
530-
sigma : float
528+
mu : float or array_like or TensorVariable, default 0
529+
Mean.
530+
sigma : float or array_like or TensorVariable, optional
531531
Standard deviation (sigma > 0) (only required if tau is not specified).
532-
tau : float
532+
Defaults to 1 if neither sigma nor tau is specified.
533+
tau : float or array_like or TensorVariable, optional
533534
Precision (tau > 0) (only required if sigma is not specified).
535+
Defaults to 1 if neither sigma nor tau is specified.
534536
535537
Examples
536538
--------
@@ -574,12 +576,12 @@ def logcdf(value, mu, sigma):
574576
575577
Parameters
576578
----------
577-
value : numeric or ndarray or TensorVariable
579+
value : float or ndarray or TensorVariable
578580
Value(s) for which log CDF is calculated. If the log CDF for multiple
579581
values are desired the values must be provided in a numpy array or `TensorVariable`.
580-
mu : float
582+
mu : float or array_like or TensorVariable
581583
Mean. Defaults to 0.
582-
sigma : float
584+
sigma : float or array_like or TensorVariable
583585
Standard deviation (sigma > 0).
584586
585587
Returns

0 commit comments

Comments
 (0)