Computing The Test Statistic