Descriptive and predictive analysis for the identification of the causes of non-quality and a better prediction