Title: Mathematical Foundations for Social Analysis