Statistics for Symmetry analysis of geometries in general relativity and mathematical models in quantitative finance