Please see either the article on Probability or the article on Statistics.