How can I fit a Gaussian and a Uniform distribution to the same data?
5 views (last 30 days)
Show older comments
I need to fit a mixed Gaussian and uniform distribution to the same data. I know how to fit the Gaussian distribution and the uniform distribution seperately but not together.
0 Comments
Answers (1)
the cyclist
on 6 May 2015
You should be able to do this using the nlinfit command of the Statistics Toolbox. You'll need to specify your own functional form, the combination of gaussian and uniform.
There are examples in the documentation. You can find a couple simple examples I have posted here if you do a keyword search on nlinfit and cyclist .
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!