A history of inverse probability