By default, Bacon will perform millions of MCMC iterations for each age-model run, although only a fraction of these will be stored. In most cases the remaining MCMC iterations will be well mixed (the upper left panel of the fit of the iterations shows no strange features such as sudden systematic drops or rises). However if the iterations seem not well mixed, or if too few remain (say less than a few hundred), then you could check the Gelman and Rubin Reduction Factor1. Too high differences (high Factors) between runs indicate poor MCMC mixing. Robust MCMC mixing is indicated by a Gelman and Rubin Reduction factor below the 1.05 safety threshold.
For example, try the default core, running it five times with a very
small sample size of ssize=100
:
Did 5 Bacon runs.
Gelman and Rubin Reduction Factor 1.10078680880009 (smaller and closer to 1 is better).
Probably not a robust MCMC run! Too much difference between runs, above the 1.05 threshold. Increase sample size?
Once a robust, reliable and realistic age-depth model has been
produced, the fun starts. Greyscale plots for example can be used to
show not just one age-depth curve but the entire MCMC run output. If
pollen or other ‘proxies’ have been analysed across a range of depths of
your core, then these proxies can be plotted on the time-scale as
grey-scale ‘ghosts’ where less certain sections are plotted in lighter
grey than more certain sections. Bacon looks for a file in the core’s
folder, starting with the core’s name and ending in
_proxies.csv
, e.g.,
Bacon_runs/MSB2K/MSB2K_proxies.csv
. This file should have
columns separated by commas, with the first column being the depth,
followed by columns for the proxies. The first row should contain the
names of the columns. To produce a proxy ghost of the seventh proxy of
MSB2K:
Ghost graphs can also be produced for the accumulation rate
throughout the core (accrate.depth.ghost
) or over time
(accrate.age.ghost
):
R provides a very versatile environment to query the age-model output. To get the age estimate of any single core depth:
##
|
| | 0%
## mean (red): 4850.8 cal yr BP, median (green): 4844.5 cal yr BP
## 95% range (blue): 4777.2 to 4942.9 cal yr BP
You can also store the iterations of the age estimates of that depth in a new variable and then query it:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 4631 4828 4845 4851 4873 4986
Or calculate how much time has passed between 30 and 20 cm depth:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 225.6 388.4 433.7 433.6 480.6 661.6
Accumulation rates at specific depths or ages can also be investigated:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.05389 10.11000 19.00720 21.29843 30.12630 79.68130
## Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
## 2.646 15.654 21.986 24.936 33.413 66.010 3279
Brooks, S.P., Gelman, A., 1998. General methods for monitoring convergence of iterative simulations. Journal of Computational and Graphical Statistics 7, 434-455↩︎