在MATLAB中测试数据分布是否遵循高斯分布 [英] Test if a data distribution follows a Gaussian distribution in MATLAB
问题描述
我有一些数据点及其均值.我需要查找那些数据点(即均值)是否遵循高斯分布. MATLAB中是否有可以进行这种测试的函数?还是我需要自己编写测试?
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 can do that kind of a test? Or do I need to write a test of my own?
我尝试查看了MATLAB提供的不同统计函数.我对MATLAB非常陌生,因此我可能忽略了正确的功能.
I tried looking at different statistical functions provided by MATLAB. I am very new to MATLAB so I might have overlooked the right function.
欢呼
推荐答案
选中此可用的假设检验上的文档页面
Check this documentation page on all available hypothesis tests.
出于这些目的,您可以使用:
From those, for your purpose you can use:
- Chi-square goodness-of-fit test
- Lilliefors test
- z-test
- t-test
- Kolmogorov-Smirnov test
...等等
您还可以使用一些视觉测试,例如:
You can also use some visual tests like:
- hist
- normplot
- cdfplot
这篇关于在MATLAB中测试数据分布是否遵循高斯分布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!