sentence: in baseball statistics , batting average against ( denoted by baa or avg ) , or opponents ' batting average ( denoted by oba ) is a statistic that measures a pitcher 's ability to prevent hits during official at bat .