I have a angular distribution, and I want to fit a mixture of von Mises distribution to that
How can I do that?
I find an implementation in R, Fit a mixture of von Mises distributions in R
I also find it is possible to fit a single von Mises distributio in Python, http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.vonmises.html
I think maybe I can try to how to fit a mixture distribution, given I have the function already defined in scipy
?
Finally, I solved this problem using rpy2
. Specifcally, I cleaned data using Python, and traind the VMM using the R packages (so instll R and related packges is required).