Skip to content

Commit f4e233b

Browse files
authored
Merge pull request #790 from amas0/fix-documentation-links
Fix documentation links
2 parents 0c25ec4 + 79e8765 commit f4e233b

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

docsrc/community.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Software
2424
with yearly, weekly, and daily seasonality, plus holiday effects.
2525

2626
- `ArviZ <https://github.com/arviz-devs/arviz>`__ A Python package (with a
27-
`Julia interface <https://julia.arviz.org/stable/>`_) for exploratory analysis of
27+
`Julia interface <https://julia.arviz.org/ArviZ/stable/>`_) for exploratory analysis of
2828
Bayesian models. Includes functions for posterior analysis, data storage,
2929
model checking, comparison and diagnostics.
3030

docsrc/users-guide/examples/MCMC Sampling.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"generated quantities variables, reported on the constrained scale.\n",
2222
"\n",
2323
"The [CmdStanModel sample](https://mc-stan.org/cmdstanpy/api.html#cmdstanpy.CmdStanModel.sample) method\n",
24-
"wraps the CmdStan [sample](https://mc-stan.org/docs/cmdstan-guide/mcmc-config.html) method.\n",
24+
"wraps the CmdStan [sample](https://mc-stan.org/docs/cmdstan-guide/mcmc_config.html#running-the-sampler) method.\n",
2525
"Underlyingly, the CmdStan outputs are a set of per-chain Stan CSV files.\n",
2626
"In addition to the resulting sample, reported as one row per draw,\n",
2727
"the Stan CSV files encode information about the inference engine configuration\n",

docsrc/users-guide/examples/Run Generated Quantities.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Generating new quantities of interest.\n",
7+
"# Generating new quantities of interest\n",
88
"\n",
99
"\n",
1010
"The [generated quantities block](https://mc-stan.org/docs/reference-manual/program-block-generated-quantities.html)\n",

docsrc/users-guide/examples/VI as Sampler Inits.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"\n",
99
"In this example we show how to use the parameter estimates return by Stan's variational inference algorithms\n",
1010
"[pathfinder ](https://mc-stan.org/docs/cmdstan-guide/pathfinder-config.html) and \n",
11-
"[ADVI ](https://mc-stan.org/docs/cmdstan-guide/variational-config.html) \n",
11+
"[ADVI ](https://mc-stan.org/docs/cmdstan-guide/variational_config.html) \n",
1212
"as the initial parameter values for Stan's NUTS-HMC sampler.\n",
1313
"By default, the sampler algorithm randomly initializes all model parameters in the range uniform\\[-2, 2\\]. When the true parameter value is outside of this range, starting from the estimates from Pathfinder and ADVI will speed up and improve adaptation.\n",
1414
"\n",

docsrc/users-guide/examples/Variational Inference.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"### Example: variational inference for model ``bernoulli.stan``\n",
3131
"\n",
3232
"The [CmdStanModel variational](https://mc-stan.org/cmdstanpy/api.html#cmdstanpy.CmdStanModel.variational) method\n",
33-
"wraps the CmdStan [variational](https://mc-stan.org/docs/cmdstan-guide/variational-config.html) method."
33+
"wraps the CmdStan [variational](https://mc-stan.org/docs/cmdstan-guide/variational_config.html) method."
3434
]
3535
},
3636
{
@@ -56,7 +56,7 @@
5656
"cell_type": "markdown",
5757
"metadata": {},
5858
"source": [
59-
"The class [`CmdStanVB`](https://mc-stan.org/cmdstanpy/api.html#cmdstanvb) provides the following properties to access information about the parameter names, estimated means, and the sample:\n",
59+
"The [CmdStanVB](https://mc-stan.org/cmdstanpy/api.html#cmdstanvb) object provides the following properties to access information about the parameter names, estimated means, and the sample:\n",
6060
"\n",
6161
" + `column_names` - list of column names\n",
6262
" + `columns` - number of columns\n",

docsrc/users-guide/hello_world.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Accessing the results
115115
^^^^^^^^^^^^^^^^^^^^^
116116

117117
The sampler outputs are the set of per-chain
118-
`Stan CSV files <https://mc-stan.org/docs/cmdstan-guide/stan-csv.html>`__,
118+
`Stan CSV files <https://mc-stan.org/docs/cmdstan-guide/stan_csv_apdx.html>`__,
119119
a non-standard CSV file format.
120120
Each data row of the Stan CSV file contains the per-iteration estimate of the Stan model
121121
parameters, transformed parameters, and generated quantities variables.
@@ -200,7 +200,7 @@ all model parameters and quantities of interest in a pandas.DataFrame:
200200
201201
202202
CmdStan is distributed with a second posterior analysis utility
203-
`diagnose <https://mc-stan.org/docs/cmdstan-guide/diagnose.html>`__
203+
`diagnose <https://mc-stan.org/docs/cmdstan-guide/diagnose_utility.html>`__
204204
which analyzes the per-draw sampler parameters across all chains
205205
looking for potential problems which indicate that the sample
206206
isn't a representative sample from the posterior.

docsrc/users-guide/outputs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CSV File Outputs
77
----------------
88

99
Underlyingly, the CmdStan outputs are a set of per-chain
10-
`Stan CSV files <https://mc-stan.org/docs/cmdstan-guide/stan-csv.html#mcmc-sampler-csv-output>`__.
10+
`Stan CSV files <https://mc-stan.org/docs/cmdstan-guide/stan_csv_apdx.html#mcmc-sampler-csv-output>`__.
1111
The filenames follow the template '<model_name>-<YYYYMMDDHHMMSS>-<chain_id>'
1212
plus the file suffix '.csv'.
1313
CmdStanPy also captures the per-chain console and error messages.

docsrc/users-guide/overview.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ With CmdStanPy, you can:
1010

1111
+ Do inference on the model conditioned on the data, using one of Stan inference algorithms
1212

13-
+ Exact Bayesian estimation using the `NUTS-HMC sampler <https://mc-stan.org/docs/reference-manual/hmc.html>`__.
13+
+ Exact Bayesian estimation using the `NUTS-HMC sampler <https://mc-stan.org/docs/reference-manual/mcmc.html#hamiltonian-monte-carlo>`__.
1414

1515
+ Approximate Bayesian estimation algorithms `Pathfinder <https://mc-stan.org/docs/reference-manual/pathfinder.html>`__
16-
and `ADVI <https://mc-stan.org/docs/reference-manual/vi-algorithms.html>`__.
16+
and `ADVI <https://mc-stan.org/docs/reference-manual/variational.html>`__.
1717

18-
+ MAP estimation by `optimization <https://mc-stan.org/docs/reference-manual/optimization-algorithms.html>`__.
18+
+ MAP estimation by `optimization <https://mc-stan.org/docs/reference-manual/optimization.html>`__.
1919

2020
+ Generate new quantities of interest from a model given an existing sample.
2121

docsrc/users-guide/workflow.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ For each CmdStan inference method, there is a corresponding method on the :class
129129
An example of each is provided in the `next section <examples.rst>`__.
130130

131131
* The :meth:`~CmdStanModel.sample` method runs Stan's
132-
`HMC-NUTS sampler <https://mc-stan.org/docs/reference-manual/hamiltonian-monte-carlo.html>`__.
132+
`HMC-NUTS sampler <https://mc-stan.org/docs/reference-manual/mcmc.html#hamiltonian-monte-carlo>`__.
133133

134134
It returns a :class:`CmdStanMCMC` object which contains
135135
a sample from the posterior distribution of the model conditioned on the data.
@@ -141,12 +141,12 @@ An example of each is provided in the `next section <examples.rst>`__.
141141
a sample from a Gaussian approximation the posterior distribution.
142142

143143
* The :meth:`~CmdStanModel.variational` method runs Stan's
144-
`Automatic Differentiation Variational Inference (ADVI) algorithm <https://mc-stan.org/docs/reference-manual/vi-algorithms-chapter.html>`__.
144+
`Automatic Differentiation Variational Inference (ADVI) algorithm <https://mc-stan.org/docs/reference-manual/variational.html>`__.
145145

146146
It returns a :class:`CmdStanVB` object which contains an approximation the posterior distribution.
147147

148148
* The :meth:`~CmdStanModel.optimize` runs one of Stan's
149-
`optimization algorithms <https://mc-stan.org/docs/reference-manual/optimization-algorithms-chapter.html>`__
149+
`optimization algorithms <https://mc-stan.org/docs/reference-manual/optimization.html>`__
150150
to find a mode of the density specified by the Stan program.
151151

152152
It returns a :class:`CmdStanMLE` object.
@@ -155,7 +155,7 @@ An example of each is provided in the `next section <examples.rst>`__.
155155
`generate_quantities method <https://mc-stan.org/docs/cmdstan-guide/standalone-generate-quantities.html>`__.
156156
which generates additional quantities of interest from a mode. Its take an existing fit as input and
157157
uses the parameter estimates in the fit to run the Stan program's
158-
`generated quantities block <https://mc-stan.org/docs/reference-manual/program-block-generated-quantities.html>`__.
158+
`generated quantities block <https://mc-stan.org/docs/reference-manual/blocks.html#program-block-generated-quantities>`__.
159159

160160
It returns a :class:`CmdStanGQ` object.
161161

0 commit comments

Comments
 (0)