Skip to content

Commit d73b22e

Browse files
committed
remove duplicate references.
1 parent 588063f commit d73b22e

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

knitr/planetary_motion/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
Data for the plots in this case study are stored in RDS files in
2-
`saved_fit` because it takes a long time to generate it. To
3-
recreate the data, uncomment the appropriate code in `planetary_motion.rmd`.
1+
2+
# Bayesian Model of Planetary Motion
3+
4+
5+
In this case study, we go through multiple attempts at fitting a model.
6+
Some of these attempts take a long time to run.
7+
To make the compilation of the bookdown faster, we generate and save Stan fit objects ahead of time under `saved_fit`.
8+
To recreate the fit objects, you can uncomment the appropriate code in `planetary_motion.rmd`.

knitr/planetary_motion/planetary_motion.rmd

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ author: Charles C. Margossian^[Department of Statistics, Columbia University; co
55
output: bookdown::gitbook
66
# output: bookdown::pdf_book
77
keep_tex: true
8-
# toc: true
8+
toc: true
9+
toc_float: true
910
documentclass: article
1011
bibliography: ref.bib
1112
urlcolor: blue
12-
link-citations: true
13+
# link-citations: true
1314
abstract: "The Bayesian model of planetary motion is a simple but powerful example that illustrates important concepts, as well as gaps, in prescribed modeling workflows. Our focus is on Bayesian inference using Markov chains Monte Carlo for a model based on an ordinary differential equations (ODE). Our example presents unexpected multimodality, causing our inference to be unreliable and what is more, dramatically slowing down our ODE integrators. What do we do when our chains do not mix and do not forget their starting points? Reasoning about the computational statistics at hand and the physics of the modeled phenomenon, we diagnose how the modes arise and how to improve our inference. Our process for fitting the model is iterative, starting with a simplification and building the model back up, and makes extensive use of visualization."
1415
---
1516

1617
## Introduction {-#inst}
1718

18-
As developers of statistical softwares^[The authors are notably members of the Stan development team, see [mc-stan.org](https://mc-stan.org/).], we realize that we cannot fully automate modeling.
19+
As developers of statistical software^[One of the software we work on is Stan, see [mc-stan.org](https://mc-stan.org/).], we realize that we cannot fully automate modeling.
1920
Practitioners need to take bespoke steps to fit, evaluate, and improve their models.
2021
At the same time, the more modeling we do, the better prepared we usually are for the next project we undertake.
2122
It's not uncommon to apply hard-learned lessons from a past project to a new problem.
@@ -209,8 +210,9 @@ ppc_plot2D(r_fit1, data_pred = data_pred)
209210

210211
Clearly, only the chains that landed close to $k = 1$ (chains 2, 5, and 7) are able to fit the data.
211212
This is consistent with the much higher log posterior density these chains produce.
212-
So degeneracy alone does not explain the lack of convergence.
213-
Nevertheless, the chains may still be getting stuck at smaller modes, in the tail of $k$'s distribution.
213+
Degeneracy therefore doesn't drive the lack of convergence because otherwise the different chains would produce roughly the same predictions.
214+
<!-- So degeneracy alone does not explain the lack of convergence. -->
215+
<!-- Nevertheless, the chains may still be getting stuck at smaller modes, in the tail of $k$'s distribution. -->
214216

215217
At this point, we have taken "standard" steps to diagnose issues with our inference.
216218
To fully grasp what prevents the chains from mixing, we require a more bespoke analysis.

0 commit comments

Comments
 (0)