Beta distribution fitting in Scipy

According to Wikipedia the beta probability distribution has two shape parameters: α and β.

When I call in Python, where x is a bunch of numbers in the range [0,1], 4 values are returned. This strikes me as odd.

After googling I found one of the return values must be ‘location’, since the third variable is 0 if I call, floc=0).

Does anyone know what the fourth variable is, and if the first two are α and β?


Despite an apparent lack of documentation on the output of, it does output in the following order:

α, β, loc (lower limit), scale (upper limit – lower limit)

Source : Link , Question Author : Peter Smit , Answer Author : jdj081

Leave a Comment