Text this: The doctrine of chances, or, A method of calculating the probabilities of events in play