# Moments for a bivariate beta distribution

A common choice for a probability distribution of a probability is the beta distribution. It has the required support between 0 and 1, and with its two parameters we can obtain a pretty wide qualitative range for the probability density function. What should we do if we want to create correlated probabilities? We might look for some kind of multivariate generalisation of the beta distribution, … Continue reading Moments for a bivariate beta distribution

# Comic about PI

SMBC has a funny comic that’s also about the Principle of Indifference. Continue reading Comic about PI

# Understanding the neigbour-modulated inclusive fitness approach

The goal is to understand Equation 4.2 of Rodrigues and Kokko (2016). To understand the technique, I read through Taylor et al. (2007), and Taylor and Frank (1996), specifically examples 4, 4a and 4b. Very briefly, we begin with a matrix whose elements represent the genetic contribution of class to class . Then for some mutant genic value , the fitness derivative is where is … Continue reading Understanding the neigbour-modulated inclusive fitness approach

# Evolution of parochialism

Previously I was reading about identity in Singapore, and I found that the government project of creating a national identity is focused upon creating a cosmopolitan mindset (i.e. one of openness and tolerance of difference), and that this interacts in different ways with the two main groups of foreigners, the ‘foreign talent’ and the ‘foreign worker’. The literature review that I did there was focused … Continue reading Evolution of parochialism

# Identity in Singapore, the Internet, and connections to game theory

The following is a literature summary that I undertook as part of my broader interest in modelling social systems, using identity in Singapore as a case study. I should preface all of this by saying that the ideas below are not ‘my own’ as such, but rather my attempt to synthesise the literature and opinions of experts in Singapore. Identity in Singapore Since independence, the … Continue reading Identity in Singapore, the Internet, and connections to game theory

# Termite eusociality

Termites are eusocial by possessing two subfertile or sterile castes, the worker and the soldier. The consensus is that eusociality in termites is the result of a suite of factors (Thorne, 1997), though the relative importance accorded to each in the literature has shifted over time (Howard and Thorne, 2011). For the purpose of a quick review, I have not looked into mechanisms that appear … Continue reading Termite eusociality

# Bad for birds, good for squirrels

Here’s a nice video I stumbled upon about Lisa Aubry’s group’s work at Utah State Uni. Climate change is having a positive effect on uinta ground squirrels, allowing them to fatten-up and attain weights higher than those recorded historically. This population is survival limited, and survival probability is higher the fatter the squirrels are, so abundance responds positively to this climate change. I can’t handle … Continue reading Bad for birds, good for squirrels

# Import self-made Sage modules and functions into Sage script?

Let’s say that I have created a bunch of Sage code — Sage functions etc. — that I wish to reuse by importing into various Sage scripts. In straight Python, one would put these functions into their own separate file and import them using the usual from foo import funcname as localfuncname type procedure. It is unclear to me what the proper procedure for doing … Continue reading Import self-made Sage modules and functions into Sage script?

# “ValueError: expected a DNF expression” when trying espresso_exprs example from pyeda docs

I’ve recently been working on a qualitative modelling project where I am trying to uncover “truths” about the response of species in an ecosystem to control of invasive species. Long story short, I’ve been looking into various boolean minimisation techniques. I’ve been playing with Python EDA, a Python library that I think provides a front-end to the Robert Brayton and Richard Rudell espresso heuristic logic … Continue reading “ValueError: expected a DNF expression” when trying espresso_exprs example from pyeda docs

# Lightning talk on migratory bird phenology

A lightning talk for our latest paper: Kristensen, Nadiah P., Jacob Johansson, Jörgen Ripa, and Niclas Jonzén. 2015. “Phenology of two interdependent traits in migratory birds in response to climate change.” Proceedings of the Royal Society B Continue reading Lightning talk on migratory bird phenology