Skip to content

Commit c2eb48e

Browse files
committed
Put footnotes on a single line
1 parent fa274e3 commit c2eb48e

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

src/reference-manual/analysis.Rmd

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ $\theta$ and real- and discrete-valued data $y$.^[Using vectors simplifies high
8585

8686
An MCMC *sample* consists of a set of a sequence of $M$ Markov chains,
8787
each consisting of an ordered sequence of $N$ *draws* from the
88-
posterior.^[The structure is assumed to be rectangular; in the
89-
future, this needs to be generalized to ragged samples.] The sample
90-
thus consists of $M \times N$ draws from the posterior.
88+
posterior.^[The structure is assumed to be rectangular; in the future, this needs to be generalized to ragged samples.]
89+
The sample thus consists of $M \times N$ draws from the posterior.
9190

9291

9392
### Potential Scale Reduction
@@ -189,10 +188,7 @@ quantities. The short answer is "no," but this is elaborated
189188
further in this section.
190189

191190
For example, consider the value `lp__`, which is the log posterior
192-
density (up to a constant).^[The `lp__` value also represents the
193-
potential energy in the Hamiltonian system and is rate bounded by the
194-
randomly supplied kinetic energy each iteration, which follows a
195-
Chi-square distribution in the number of parameters.]
191+
density (up to a constant).^[The `lp__` value also represents the potential energy in the Hamiltonian system and is rate bounded by the randomly supplied kinetic energy each iteration, which follows a Chi-square distribution in the number of parameters.]
196192

197193
It is thus a mistake to declare convergence in any practical sense if
198194
`lp__` has not converged, because different chains are really in

src/reference-manual/statements.Rmd

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -800,11 +800,7 @@ Such reassignment is not permitted in BUGS. In BUGS, for loops are
800800
declarative, defining plates in directed graphical model notation,
801801
which can be thought of as repeated substructures in the graphical
802802
model. Therefore, it is illegal in BUGS or JAGS to have a for loop
803-
that repeatedly reassigns a value to a variable.^[A programming idiom
804-
in BUGS code simulates a local variable by replacing `theta` in the
805-
above example with `theta[n]`, effectively creating `N` different
806-
variables, `theta[1]`, ..., `theta[N]`. Of course, this is not a hack
807-
if the value of `theta[n]` is required for all `n`.]
803+
that repeatedly reassigns a value to a variable.^[A programming idiom in BUGS code simulates a local variable by replacing `theta` in the above example with `theta[n]`, effectively creating `N` different variables, `theta[1]`, ..., `theta[N]`. Of course, this is not a hack if the value of `theta[n]` is required for all `n`.]
808804

809805
In Stan, assignments are executed in the order they are encountered.
810806
As a consequence, the following Stan program has a very different

0 commit comments

Comments
 (0)