Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

ArchaeoPhases (version 1.8)

undated_sample: Predictive distribution of date

Description

Predictive distribution of date

Usage

undated_sample(data1, data2, level = 0.95)

Arguments

data1

Numeric vector containing the output of the MCMC algorithm for the begining of interval

data2

Numeric vector containing the output of the MCMC algorithm for the end of interval

level

Probability corresponding to the desired level of confidence. @return A list with the following components:

Details

Simulate the sample from the predictive distribution of an undated sample in stratigraphic constraint between two dates. The input is an MCMC sample simulated from the joint posterior distribution of these dates.

Examples

Run this code
# NOT RUN {
  data(Phases);
  attach(Phases)
  sample = undated_sample(Phase.1.alpha,Phase.1.beta)
  # credible interval for the new date.
  sample$credible
  #time range interval
  sample$timerange
 # graphics = densities / IC / time range ggplot
   sample$gr
# }

Run the code above in your browser using DataLab