Geomechanical characterisation of rock masses: a statistical approach