Applications of Algebraic Geometry in Statistics