Statistical methods to study rainfall distribution dry spells and its effects on crop production by using data mining techniques