Rayleigh distribution to the scatter plot
6 views (last 30 days)
Fatemeh Shomal Zadeh on 10 Nov 2020
I did plot the scatter plot and want to fit the rayleigh distribution to it. Should I use the fitdist function? If yes , could you please let me know how as it has the x and y values.
Thanks so much
Raunak Gupta on 14 Nov 2020
I assume the scatter plot is close to Rayleigh distribution and the x axis represent a free variable according to which the corresponding y value represent an output following Rayleigh probability distribution function. In that case the task looks like Curve fitting rather than distribution fitting (for which fitdist is used). You can see the difference as explained in this documentation. In this documentation Weibull distribution is explained and Rayleigh is a special case of Weibull distribution as explained here. So, you can change the equations accordingly for fitting the Rayleigh distribution curve to the data.