According to Wikipedia the beta probability distribution has two shape parameters: $\alpha$ and $\beta$.
When I call scipy.stats.beta.fit(x)
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 scipy.stats.beta.fit(x, floc=0)
.
Does anyone know what the fourth variable is, and if the first two are $\alpha$ and $\beta$?
stats.beta.fit([60,61,62,72])
I get(0.7313395126217731, 0.7153715263378897, 58.999999999999993, 3.3500998441036982)
. Any idea what I can do about this? $\endgroup$