text: In baseball , an at bat ( AB ) or time at bat is used to calculate certain statistics , including batting average , on base percentage , and slugging percentage .
simplified: In baseball , an at bat ( AB ) or time at bat is used for certain statistics . These statistics include batting average , on base percentage , and slugging percentage .