Statistics for Quality assurance in high schools through regression analysis