Selected publications and projects
by Agner Fog


 

Evolutionary anthropology

Warlike and Peaceful Societies: The Interaction of Genes and Culture
Book. Fog, Agner. Warlike and Peaceful Societies: The Interaction of Genes and Culture. Open Book Publishers, 2017.
Regality theory website
A collection of resources about regality theory, or the theory of warlike and peaceful societies, including a discussion forum.
Cultural Selection
Book. Fog, Agner. Cultural Selection. Kluwer, 1999.
Psychological and cultural effects of different kinds of danger.
Article. Fog, Agner. “Psychological and cultural effects of different kinds of danger. An exploration based on survey data from 79 countries.” Culture and Evolution 20(8–9), 2023.
Two-Dimensional Models of Cultural Differences: Statistical and Theoretical Analysis
Article. Fog, Agner. “Two-Dimensional Models of Cultural Differences: Statistical and Theoretical Analysis.” Cross-Cultural Research, November 2022.
A Test of the Reproducibility of the Clustering of Cultural Variables
Article. Fog, Agner. “A Test of the Reproducibility of the Clustering of Cultural Variables.” Cross-Cultural Research 55, September 2020.
Evolutionary psychology of radicalization and violent conflict
Preprint. Fog, Agner. “Evolutionary psychology of radicalization and violent conflict.” 2025.
Evolutionary theories of violent conflict, bellicosity and radicalization
Preprint. Fog, Agner. “Evolutionary theories of violent conflict, bellicosity and radicalization.” 2024.
Evolution of war and leadership: Simulation of the regality model
Preprint. Fog, Agner. “Evolution of war and leadership: Simulation of the regality model.” 2025.
Collective Action Problems in Offensive and Defensive Warfare
Article commentary. Fog, Agner. 2019. “Collective Action Problems in Offensive and Defensive Warfare.” Behavioral and Brain Sciences 42.
An Evolutionary Theory of Cultural Differentiation
Conference. Fog, Agner. “An Evolutionary Theory of Cultural Differentiation.” In Proceedings of the XV World Conference of the Internation Union of Prehistoric and Protohistoric Scientists, 2006:31–34. Lisbon.
The gap between cultural selection theory and sociology
Conference paper. Fog, Agner. 2019. “The gap between cultural selection theory and sociology.” 11'th meeting of the International Society for the History, Philosophy and Social Studies of Biology, Vienna, 2003.
Interview: Warlike and Peaceful Societies
Interview. A talk about regality theory, 2020. Transcript.
Interview: Cultural evolution
Interview. A talk about cultural evolution and cultural selection, 2021. Transcript.


 

Computer science

Optimization manuals:
Optimizing software in C++: An optimization guide for Windows, Linux and Mac platforms
Optimizing subroutines in assembly language: An optimization guide for x86 platforms
The microarchitecture of Intel, AMD and VIA CPUs: An optimization guide for assembly programmers and compiler makers
Instruction tables: Lists of instruction latencies, throughputs and micro-operation breakdowns for Intel, AMD and VIA CPUs
Calling conventions for different C++ compilers and operating systems.
C++ vector class library
This is a collection of C++ classes, functions and operators that makes it easier to use the the vector instructions (Single Instruction Multiple Data instructions) of Intel and AMD CPUs.
Description and instructions.
Message board.
Latest release.
Nice little instruction video by WhatsaCreel.
ForwardCom
An open standard instruction set for high performance microprocessors
Introduction
Manual
Message board
Source on github
R package BiasedUrn
Statistical models of biased sampling in the form of univariate and multivariate noncentral hypergeometric distributions, including Wallenius' noncentral hypergeometric distribution and Fisher's noncentral hypergeometric distribution.
Pseudo-Random Number Generators for Vector Processors and Multicore Processors
Article. Fog, Agner. “Pseudo-Random Number Generators for Vector Processors and Multicore Processors.” Journal of Modern Applied Statistical Methods, 14 (1): 308–34, 2015.
Calculation Methods for Wallenius’ Noncentral Hypergeometric Distribution
Article. Fog, Agner. “Calculation Methods for Wallenius’ Noncentral Hypergeometric Distribution.” Communications in Statistics - Simulation and Computation, 37 (2): 258–273, 2008.
Sampling Methods for Wallenius’ and Fisher’s Noncentral Hypergeometric Distributions
Article. Fog, Agner. “Sampling Methods for Wallenius’ and Fisher’s Noncentral Hypergeometric Distributions.” Communications in Statistics - Simulation and Computation, 37 (2): 241–257, 2008.
Statistical models of different selection mechanisms
Preprint. Fog, Agner. “Statistical models of different selection mechanisms.” 2023.
Computer simulation of group selection models
Preprint. Fog, Agner. “Computer simulation of group selection models.” 2024.
Electronic Semiconducting Oxides as PH Sensors
Article. Fog, Agner; and Richard P. Buck. “Electronic Semiconducting Oxides as PH Sensors.” Sensors and Actuators 5 (2): 137–146, 1984.
More computer science publications.
Publications on optimization at my website.


  More publications by Agner Fog listed at Researchgate.

85424