Skip to content

wccarleton/recm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radiocarbon-dated Event Count (REC) Modelling

Overview

This repo contains the data and R code used for the study presented in the following paper:

Carleton "Evaluating Bayesian radiocarbon-dated event-count [REC] models for the study of long-term human and environmental processes". DOI:10.31235/osf.io/mvt3b

THE METHOD FOR ESTIMATING REC MODEL PARAMETERS HAS BEEN SUPERSEDED Please see the the pre-release R package chronup for the new approach and the related Open Science Foundation project and pre-print for up-to-date information.

Abstract

Chronological uncertainty complicates attempts to use radiocarbon dates as proxies for processes like human population growth/decline, forest fires, and marine ingression. Established approaches involve turning databases of radiocarbon-date densities into single summary proxies that cannot fully account for chronological uncertainty. Here, I use simulated data to explore an alternate Bayesian approach that instead models the data as what they are, namely radiocarbon-dated event-counts. The approach involves assessing possible event-count sequences by sampling radiocarbon date densities and then applying MCMC to estimate the parameters of an appropriate count-based regression model. The regressions based on individual sampled sequences were placed in a multilevel framework, which allowed for the estimation of hyperparameters that account for chronological uncertainty in individual event times. Two processes were used to produce simulated data. One represented a simple monotonic change in event-counts and the other was based on a real palaeoclimate proxy record. In both cases, the method produced estimates that had the correct sign and were consistently biased toward zero. These results indicate that the approach is widely applicable and could form the basis of a new class of quantitative models for use in exploring long-term human-environment interaction.

Software

The R scripts contained in this repository are intended for replication efforts and to improve the transparency of my research. They are, of course, provided without warranty or technical support. That said, questions about the code can be directed to me, Chris Carleton, at [email protected].

R

This analysis described in the associated manuscript was performed in R. Thus, you may need to download the latest version of R in order to make use of the scripts described below.

Nimble

This project made use of a Bayesian Analysis package called Nimble. See the Nimble website for documentation and a tutorial. Then, refer to the R scripts in this repo.

Replication Outline

  1. Generate simulated data
    • See ./R_scripts/Analysis/simdates_exp.R and ./R_scripts/Analysis/simdates_palaeo.R
    • For the latter, you will need to have the palaeoclimate dataset described in Kennett et al. Development and disintegration of maya political systems in response to climate change, Science 338 (2012) 788–791. doi:10.1126/science.1226299. I have included it in a .csv file in this repo at /Data/Climate/
    • These data generating scripts make use of the R package 'clam' to calibrate the dates.
  2. Estimate model parameters with scripts that correspond to the data. There are several scripts with analytical functions in them. The ones used to estimate full HiREC models are labelled "negbin_hier..." while the core Negative Binomial regression can be run with just the "negbin.R" script. In the HiREC scripts there are lines that assign data to variables used in the Nimble code. Comment out the lines that don't apply before running the script---i.e., some lines are used to draw a single element from the radiocarbon-dated event count ensemble (see main paper) and others assign the chronological-error-free data to variables.

When using these scripts, pay close attention, of course, to path names, which may differ on your system.

For a more detailed replication demonstration, see the Wiki for this repo.

About

Radiocarbon-dated Event Count Modelling

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages