Skip to content

Updated pymc.GaussianRandomWalk docstring #5492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions pymc/distributions/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,19 @@ class GaussianRandomWalk(distribution.Continuous):

Parameters
----------
mu: tensor
mu : TensorVariable, optional
innovation drift, defaults to 0.0
For vector valued mu, first dimension must match shape of the random walk, and
For vector valued `mu`, first dimension must match shape of the random walk, and
the first element will be discarded (since there is no innovation in the first timestep)
sigma: tensor
sigma > 0, innovation standard deviation (only required if tau is not specified)
For vector valued sigma, first dimension must match shape of the random walk, and
sigma : TensorVariable, optional
`sigma` > 0, innovation standard deviation (only required if `tau` is not specified)
For vector valued `sigma`, first dimension must match shape of the random walk, and
the first element will be discarded (since there is no innovation in the first timestep)
tau: tensor
tau > 0, innovation precision (only required if sigma is not specified)
For vector valued tau, first dimension must match shape of the random walk, and
tau : TensorVariable, optional
`tau` > 0, innovation precision (only required if `sigma` is not specified)
For vector valued `tau`, first dimension must match shape of the random walk, and
the first element will be discarded (since there is no innovation in the first timestep)
init: distribution
init : distribution, optional
distribution for initial value (Defaults to Flat())
"""

Expand Down Expand Up @@ -230,7 +230,7 @@ def logp(self, x):

Parameters
----------
x: numeric
x : numeric
Value for which log-probability is calculated.

Returns
Expand All @@ -250,10 +250,10 @@ def random(self, point=None, size=None):

Parameters
----------
point: dict, optional
Point : dict, optional
Dict of variable values on which random values are to be
conditioned (uses default point if not specified).
size: int, optional
size : int, optional
Desired size of random sample (returns one sample if not
specified).

Expand Down