Test if a data distribution follows a Gaussian distribution in MATLAB

后端 未结 3 737
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 10:09

I have some data points and their mean point. I need to find whether those data points (with that mean) follows a Gaussian distribution. Is there a function in MATLAB which

3条回答
  •  萌比男神i
    2020-12-14 10:42

    For testing in general, look up the Kolmogorov-Smirnov Test, also in the Stats Toolbox, as kstest and the two-sample version: kstest2 . You feed it your empirical data, (and the data from a possible function, like the gaussian, etc...) then it tests the likelihood that your sample was pulled from the normal distribution (or the one you supplied for the two-sample version)... The nicety is that it'll work for any possible distributions...

提交回复
热议问题