There are a number of statistical methods that can be used to fit a probability distribution to data. One common method is called maximum likelihood estimation. This method finds the distribution that maximizes the likelihood of the data.