Description Usage Arguments Details Value Author(s) References Examples
This function creates an ensemble of perturbed ages of a given reference chronology that is based on layer counting ("banded age model").
1 |
t |
numeric vector providing the original layer-counted chronology. |
ns |
integer number of age perturbation realisations for each core. |
nc |
integer number of cores for which an ensemble of age perturbations shall be realised. |
model |
name string of the random process to use for perturbing the age model; must be either "poisson" (the default) or "bernoulli"; see Comboul et al. (2014) for details on the two models. |
rate |
numeric vector of probability rate(s) that an age band is perturbed; you can specify a vector of two rates where the first entry is the probability for a missing band and the second entry the probability for a double-counting of a band. If only a single value is specified (per default 0.05), symmetric perturbations are assumed. |
resize |
the resizing option in case of shorter/longer than original time axes: 0 = do not resize, -1 = resize to shortest realisation, 1 = resize to longest realisation (default). |
Ensemble of age perturbations can be realised assuming a single proxy record,
or a set of similarly layer-counted proxy data (i.e. a certain number of
"cores"). The random age perturbations can either follow a Poisson process
or a Bernoulli process; they are realised by randomly removing or doubling
time points of the original age model which can result in realisations that
are longer (shorter) than the original chronology; in such a case, the
output data can be cropped (extended) to match the original length depending
on the option specified via resize. Note that the perturbed ages are
automatically flipped to range from most recent to oldest measurements when
the input ages are given in increasing order. The code is a modified version
of the MATLAB function BAM_simul_perturb.m provided with the
publication Comboul et al. (2014); please see there for a detailed
description of the method.
A list of two elements:
the old chronology cropped/extended depending on the resizing option (thus tp = t for resize = 0).
an array of dimension length(t) * nc * ns with
the ns realisations of perturbed ages for each core nc.
Maud Comboul; translated and adopted from the original MATLAB code by Thomas Münch
Comboul, M., Emile-Geay, J., Evans, M. N., Mirnateghi, N., Cobb, K. M. and Thompson, D. M.: A probabilistic model of chronological errors in layer-counted climate proxies: applications to annually banded coral archives, Clim. Past, 10(2), 825-841, doi: 10.5194/cp-10-825-2014, 2014.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.