Principles of Algebra, Geometry and Statistics