An integrated statistical model to measure quality of academic teaching