Statistical analysis in geology