Moralizing Gods Database Analysis

Simulation
Introduced by
Peter Turchin and the Seshat: Global History Databank team
Year
2015
Type
Cross-cultural quantitative database analysis
Family
Cultural evolution / cliodynamics

What does it do?

Moralizing gods database analysis is a cross-cultural quantitative method.

It codes the presence of moralizing or 'big' supernatural enforcers, together with measures of social complexity, across many historical polities over time, and then models their relationship. The main databank used in this line of work is Seshat: the Global History Databank, described by Peter Turchin and colleagues in 2015 as a structured collection of historical and archaeological data for testing theories of cultural evolution. A 2019 Nature paper using Seshat data argued that complex societies precede moralizing gods; that paper was retracted in 2021. The method is a databank-driven analytical pipeline whose results depend heavily on coding decisions, missing-data handling, and the modeling of temporal and historical dependence.

The intuition behind the method

Many religious traditions describe gods who care about how humans treat one another and who punish cheats and reward the virtuous. A long-standing question is whether such moralizing gods helped large, anonymous societies hold together, for example by making strangers behave as if they were always watched, or whether they appeared only after societies had already grown complex through other means. A single culture cannot answer this. The approach is to line up many societies across world history and ask systematically when moralizing enforcement appears relative to growth in scale and complexity. The method turns the historical record into a structured database in which each polity at each time point has codes for its complexity and for whether it had a moralizing god, so that temporal ordering can be tested statistically. The difficulty is that the historical record has many gaps, and how an analyst treats 'unknown' versus 'absent' can change the conclusion. That is why the credibility of the method depends on disciplined coding and explicit handling of missing information.

History

Quantitative cross-cultural work on religion predates the Seshat databank, but the database approach discussed here rests on Seshat: the Global History Databank, which Turchin and colleagues described in 2015 as a structured collection of historical and archaeological data for testing theories of cultural evolution. A 2019 Nature paper by Whitehouse and colleagues used Seshat data to argue that complex societies precede moralizing gods. That paper was retracted in 2021. The episode has made transparent coding, missing-data treatment, and robustness checks a central concern of the method.

When to use it

Use moralizing gods database analysis when the question is comparative and historical: whether features of religion such as moralizing supernatural enforcement covary with, precede, or follow social complexity across many societies and long time spans. It requires a structured databank with documented sources, explicit uncertainty codes, and reasonable time resolution, such as Seshat or comparable data. It also requires that the analysis can model spatial and phylogenetic non-independence. Check that enough polities have informative (non-NA) codes on the key variables across time to support the model, and that the data are not dominated by unknowns. The method suits macro-evolutionary hypotheses about religion and society, and re-analyses that test the robustness of earlier claims. Do not use it where the historical record is too sparse to distinguish absence from ignorance, where non-independence among societies cannot be modeled, or where the research question concerns the meaning, experience, or local practice of religion rather than coarse cross-cultural patterns. Given the retraction of the 2019 study, give explicit attention to missing-data handling and sensitivity checks.

Limitations and considerations

  • Conclusions are highly sensitive to how missing values are coded and imputed, so results need sensitivity analysis. The 2019 precedence result was retracted in 2021.
  • Coding complex religious and political features as binary or ordinal variables removes detail and embeds interpretive judgments that can be contested.
  • Historical sources are uneven and tend to reflect literate elites, and they are sparse for early or non-textual societies, which limits coverage and reliability.
  • Spatial and phylogenetic dependence is hard to model fully, and residual shared history can appear as independent statistical support.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Allows systematic testing, across many polities, of macro-historical hypotheses about religion and social complexity that a single case study cannot address.
  • Draws on a structured, source-documented databank (Seshat) with explicit uncertainty coding, so each coded value can be traced to its evidence.
  • Combines several organizational indicators into one complexity measure defined as the first principal component, which makes the covariate explicit and checkable.
  • Can include spatial and phylogenetic structure in the model, which addresses Galton's problem for related societies.

Applications

  • Testing whether moralizing or 'big' gods tend to precede, follow, or accompany increases in social scale and complexity across world history.
  • Building and curating structured historical databanks, such as Seshat, for cultural-evolution research.
  • Re-analyzing earlier cross-cultural claims under alternative missing-data and coding assumptions to assess their robustness.
  • Modeling how ritual, social complexity, and supernatural enforcement relate to one another while accounting for shared cultural ancestry.
  • Comparing rival explanations for why moralizing religions appear in large societies, including cooperation-based and byproduct accounts.

How it works

How it works

1

The pipeline begins by defining a sampling frame of polities observed at successive time points and coding each one on a common set of variables. These include measures relevant to social complexity and to the presence and character of moralizing supernatural enforcement. Seshat was built to make such coding systematic, with data tied to documented sources, so the unit of analysis is a polity-time record with traceable evidence. A time-coded, source-backed matrix of this kind is what makes cross-cultural temporal comparison possible.

Formula
X_{p,t} = (\text{complexity}_{p,t},\ \text{moralizing\_god}_{p,t},\ \dots),\quad p\in\text{polities},\ t\in\text{time}
2

The many indicators of scale and organization, such as population, territorial extent, administrative hierarchy, infrastructure, and information systems, can be combined into a single social-complexity index. The formula shown is a working definition used on this page: the index is the first principal component of those indicators, summarizing their dominant axis of variation. It is not a procedure defined in the Seshat databank description. Before the index is used as a covariate, inspect the loadings and the proportion of variance explained by the first component. If the indicators do not share one dominant axis, a single index is not justified.

Formula
\text{SC}_{p,t} = \text{PC}_1\bigl(\text{population, territory, hierarchy, infrastructure, info systems}\bigr)
3

The historical record is incomplete, so the analyst must distinguish genuine absence from unknown information. This step is where the method is most fragile. Recommended practice is to keep an explicit unknown (NA) category, never to treat missing as absent, and to test how conclusions change under alternative imputations or codings. The coding scheme shown is a recommended practice, not a rule taken from any single source. The 2019 Nature paper was retracted in 2021; the reason for the retraction is given in the retraction note (Nature 595, E9), which readers should consult directly.

Formula
\text{code}\in\{\text{present},\ \text{absent},\ \text{inferred},\ \text{unknown(NA)}\};\quad \text{NA}\neq\text{absent}
4

With variables coded, the analyst models the association between moralizing gods and complexity. A common option is a logistic specification predicting the probability of a moralizing god from the complexity index, with a polity-level random effect drawn from a spatial or phylogenetic prior. Societies are linked by descent, diffusion, and geography, so the random effect is meant to keep shared history from being counted as independent evidence. The formula shown is a generic modelling option, not the specification of any particular published study. Ignoring dependence among societies is a common way to overstate statistical support.

Formula
\operatorname{logit}\Pr(\text{MG}_{p,t}=1) = \beta_0 + \beta_1\,\text{SC}_{p,t} + u_p,\quad u_p\sim\text{spatial/phylo prior}
5

Finally the analyst tests temporal ordering: does a threshold of social complexity tend to appear before, after, or together with moralizing gods within polity trajectories? The 2019 paper reported that complexity preceded moralizing gods, but it was retracted, so that claim should not be treated as established. The statistic shown is an illustrative way to formalise the question. Report the estimated difference together with its range across coding and imputation choices, and claim precedence only if its sign is stable across those choices. A single sign from one coding does not establish precedence.

Formula
\Delta_{\text{MG}}(\tau) = t_{\text{MG}}^{*} - t_{\text{SC}\ge \theta}^{*},\quad \text{sign tested against missing-data robustness}

Common pitfalls

  • Coding 'no information' as 'absent', which can bias estimates of timing and association.
  • Presenting a precedence or causal claim as established without sensitivity analyses across coding and imputation choices.
  • Treating related polities as independent observations, which inflates significance and ignores Galton's problem.
  • Treating expert-assigned binary codes for subtle theological concepts, such as what counts as a 'moralizing' god, as if they were objective measurements.
  • Citing the 2019 result without noting its retraction, or assuming a reason for the retraction without reading the retraction note.

Frequently asked questions

Was it shown that complex societies cause moralizing gods, or the reverse?

Neither has been established by this line of work. A 2019 Nature paper reported that social complexity tended to precede moralizing gods, but the paper was retracted in 2021, so the precedence claim cannot be treated as established. The reason for the retraction is stated in the retraction note, which should be read directly. The temporal and causal relationship remains open, and this method provides a framework for testing it rather than a settled answer. Any presentation of the 2019 result should note that it was retracted.

What is the Seshat databank and why is it central to this method?

Seshat: the Global History Databank is a structured collection of historical and archaeological data, described by Turchin and colleagues in 2015, intended for testing theories of cultural evolution and historical dynamics. For each polity at each time, it records standardized variables, tied to documented sources. It is central because it makes systematic, longitudinal cross-cultural comparison possible and auditable. The quality of any moralizing-gods analysis depends on how carefully these codes, especially their uncertainty, are handled.

Why is missing-data handling such a big deal here?

The historical record has many gaps, and whether a gap is treated as 'the feature was absent' or 'we do not know' can change the answer. Coding unknown values as absences can shift the apparent first appearance of a feature and distort timing comparisons. Good practice keeps an explicit unknown category, does not equate missing with absent, uses a principled imputation approach, and reports how conclusions change under alternative assumptions. This holds regardless of the specific reason for the 2021 retraction.

Related methods

Sources

  1. Turchin, P., Brennan, R., Currie, T., et al. (2015). Seshat: The Global History Databank. Cliodynamics: The Journal of Quantitative History and Cultural Evolution, 6(1), 77-107.

    Open DOI reference
  2. Whitehouse, H., et al. (2019). Complex societies precede moralizing gods throughout world history. Nature, 568(7751), 226-229. [RETRACTED 2021].

    Open DOI reference
  3. Whitehouse, H., et al. (2021). Retraction Note: Complex societies precede moralizing gods throughout world history. Nature, 595, E9.

    Open DOI reference