PROJECT 1: Shell Midden Mortuary Inference based on the Globe-Tossing Model
TL;DR: In this mini project, I adapt a Bayesian "globe-tossing" model to estimate how often Mesolithic shell middens were used for burials by country. This model uses archaeological theory (priors) to analyze small, messy excavation samples by moving beyond raw percentages.
Project Overview
This project adapts the “globe-tossing model” from Statistical Rethinking Chapter 3 (McElreath, 2020) to an archaeological problem: estimating the prevalence of mortuary deposition within Mesolithic shell middens.
All shell midden data was aquired from the European Archaeological Project on Shell Middens (EAPSM) database (Dupont, n.d.). To ensure methodological clarity and manage uncertainty, Project 1 serves as a regional template by focusing on a single nation's dataset (e.g. France) before expanding to a pan-European analysis in Project 2 (tentative).
The goal is methodological rather than empirical in order to demonstrate how simple Bayesian models can formalize uncertainty, small sample sizes, and theoretical expectations within an archaeological context.
graph TD
A[EAPSM Database] --> B{Project 1: Template}
B --> C[Regional Subsets: France/Scotland]
C --> D[Grid Approximation & Prior Comparison]
D --> E{Project 2: Synthesis}
E --> F[Full Dataset: N=339]
F --> G[Hierarchical/Spatial Modeling]
Archaeological Motivation
Historically, shell middens have been interpreted primarily as subsistence features, however many contain human burials (Astrup et al., 2021; Brinker et al., 2020; Pickard et al., 2025). Therefore, the archaeological question is not if a Mesolithic shell midden can contain burials, but how frequently Mesolithic people used shell middens for mortuary deposition relative to other depositional practices. Due to the uneven preservation and small excavation samples, raw proportions can be misleading. This mini project reframes this problem as a probabilistic inference. What can be reasonably inferred about the prevalence of mortuary deposition given incomplete observations?
Conceptual Model
The model treats each midden layer as a binary observation:
1 = human remains present 0 = human remains absent
Each observation updates the belief about an unknown parameter:
| Globe Tossing | Shell Midden Model |
|---|---|
| Toss | Midden layer sampled |
| Water | Human remains present |
| Land | Human remains absent |
| Probability of mortuary deposition |
Note:
Statistical Framing
Likelihood
The number of layers containing human remains is modeled as a binomial process:
Where:
The goal is to calculate the posterior distribution, which is the probability of the parameter
This formulation assumes independence among shell midden layers and equal recovery probability, all of which are to be relaxed in later model extensions.
Priors Different priors reflect different archaeological expectations: Uniform Prior: no strong expectations about mortuary prevalence Skeptical Prior: mortuary use of middens is rare Theory-Informed Prior: mortuary deposition occurs but is not dominant
To make these priors reproducible, I define them using the Beta distribution,
| Prior Type | Mathematical Form | Archaeological Justification |
|---|---|---|
| Uniform |
|
Reference Model: used as a control to study the data's influence without theoretical weight |
| Skeptical |
|
Conservative Model: assumes middens are primarily for refuse; requires heavy evidence to shift |
| Theory-Informed |
|
Applied Model: Reflects the "burial within shell midden" tradition observed in the Atlantic Mesolithic but acknowledges it as a minority practice |
Data and Implementation
Below is the specific "test case" used for this project in R (as of 24 Jan 26)
#Example Implementation (R / rethinking)
#Data source: EAPSM Mesolithic
observations <- c(1, 0, 1, 1, 0, 0, 0, 1) #1 = burial present, 0 = burial absent
N <- length(observations)
W <- sum(observations)
#Grid Approximation (McElreath, Ch. 3)
p_grid <- seq(from=0, to=1, length.out=1000)
prior <- dbeta(p_grid, 2, 8)
likelihood <- dbinom(W, size=N, prob=p_grid)
posterior <- likelihood * prior
posterior <- posterior / sum(posterior) #to standardize the distribution
#Extracting 89% HPDI (Highest Posterior Density Interval)
samples <- sample(p_grid, prob=posterior, size=1e4, replace=TRUE)
#Summary Output
#Mean: mean(samples)
#Uncertainty: HPDI(samples, prob=0.89)Scope, Limitations, and Future Applications
This project uses complete pooling at the country level. It intentionally ignores more regional spatial trends to focus on studying Bayesian mechanics.
Future Applications with Project 2 and Beyond:
- utilize the full EAPSM dataset (
$N$ = 339) - introduce hierarchial modeling (partial pooling) to analyze the spatiotemporal relationships between Mesolithic middens and Neolithic megaliths
Why This Matters
This project demonstrates:
- How Bayesian inference can formalize uncertainty in archaeological interpretation
- Why raw proportions are insufficient for small-N data
- How theory enters quantitative models through priors
- Moves archaeology away from "black box" interpretations toward explicit, reproducible code
The model shows what can and cannot be inferred given limited evidence rather than providing a definitive claim about Mesolithic funerary behavior.
References
Astrup, P. M., Benjamin, J., Stankiewicz, F., Woo, K., McCarthy, J., Wiseman, C., Baggaley, P., Jerbić, K., Fowler, M., Skriver, C., & Bailey, G. (2021). A drowned Mesolithic shell midden complex at Hjarnø Vesterhoved, Denmark and its wider significance. Quaternary Science Reviews, 258, 1–20. https://doi.org/10.1016/j.quascirev.2021.106854
Brinker, U., Bērziņš, V., Ceriņa, A., Gerhards, G., Kalniņš, M., Krause-Kyora, B., Lübke, H., Meadows, J., Meinel, D., Ritchie, K., Rudzīte, M., Tõrv, M., Zagorska, I., & Schmölcke, U. (2020). Two burials in a unique freshwater shell midden: Insights into transformations of Stone Age hunter-fisher daily life in Latvia. Archaeological and Anthropological Sciences, 12. https://doi.org/10.1007/s12520-020-01049-7
Dupont, C. (n.d.). EAPSM - DB [Dataset]. Retrieved December 10, 2025, from https://atlanticshellmiddens.cnrs.fr/index.php
McElreath, R. (2020). Statistical Rethinking: A Bayesian Course with Examples in R and STAN. Chapman and Hall/CRC. https://civil.colorado.edu/~balajir/CVEN6833/bayes- resources/RM-StatRethink-Bayes.pdf
Pickard, C., Greenberg, E., Smith, E., Barlow, A., & Bonsall, C. (2025). Diet, DNA, and the Mesolithic–Neolithic Transition in Western Scotland. Humans. https://doi.org/10.3390/humans5010008