Using scipy to fit a bimodal distribution
spiff007 <[email protected]>
| Newsgroups | gmane.comp.python.scientific.user |
|---|---|
| Message-ID | <CADqYtOvYnz=a9B12L0MCRFre4rd6diKTp8xjotka57WEQob_hg@mail.gmail.com> |
Hi Folks, I have some data, which is bimodally distributed. The initial part of the data(in red, in the figure below), seems to be exponentially distributed and the latter part(in blue, in the figure below), seems to be a gamma distribution. See image below (& attached) : What scipy function, i could use to fit this data, knowing that, the first mode is exponential, and the latter, seems to be gamma. If its not possible to do it using scipy, is there another library/module i could use to do this ? Any suggestions/pointers/advice/hacks ? Thanks a ton, ashish -- “The best minds of my generation are thinking about how to make people click ads. That sucks.” - Jeff Hammerbacher (early fb engineer) _______________________________________________ SciPy-User mailing list [email protected] https://mail.python.org/mailman/listinfo/scipy-user
Screenshot from 2018-03-16 12-38-02.png
(image/png, 79.2 KB) - not displayed
bimodal_curve_fitting_png.png
(image/png, 79.2 KB) - not displayed