qage | R Documentation |
Quantile function that computes the age corresponding to a particular probability for the upper bound of a distribution of ages (Strauss & Sadler 1989, Gingerich & Uhen 1998, Solow 2003). The method of Strauss & Sadler (1989) assumes that the distribution of fossil ages is uniform and their formula depends on the fossil ages range and the number of fossil ages. The method of Solow (2003) is a general method for non-uniform distributions and depends on the temporal gap between the oldest and the second oldest fossil ages. Both methods assume that fossil ages are independent samples from the same distribution (only relevant for the two oldest ages for Solow's method), therefore, fossils should be as independent as possible (ideally from different geological formations and different regions).
In the particular case where there are only two fossil ages, Strauss & Sadler's and Solow's methods converge to the same result; the quantile functions are simply Xn/(1-P), and the likelihood function is 1/X.
qage(p = 0.5, ages, method = "StraussSadler", k = 5)
p |
The desired probability level (0 < p < 1). A vector of probabilities can be provided. Default p = 0.5 |
ages |
Either a vector of fossil ages or a matrix with two columns: the first with the minimum age bounds (upper stratigraphic bounds) and the second with the maximum age bounds (lower stratigraphic bounds) of each fossil (in rows). A minimum of 2 are required |
method |
The method for modelling age uncertainty. A number of options is available:
|
k |
The number of fossil ages to use in when
|
A numeric value (or vector of numeric values, if multiple p values are provided) representing the age estimate of the clade origin given the method a p value provided
Gingerich1998chronos
\insertRefNorris2015chronos
\insertRefSolow2003chronos
\insertRefStrauss1989chronos
\insertRefWang2007chronos
\insertRefWang2009chronos
\insertRefWang2010chronos
## Not run: # The following demonstrates how inferences depend on p and method qage(p=c(0.1, 0.5, 0.9), ages=c(54, 30, 25, 14, 5)) qage(p=c(0.1, 0.5, 0.9), ages=c(54, 30, 25, 14, 5), method="Beta") qage(p=c(0.1, 0.5, 0.9), ages=c(54, 30, 25, 14, 5), method="Solow") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.