Probability of getting a hit in baseball