statistical test for data drawn from t distribution
显示 更早的评论
I have a question about t distribution. I have a set of data and I want to know if they are drawn from a t distribution or not! Can anybody help me how I can do this in Matlab? Thanks
5 个评论
dpb
2014-8-6
First, how many samples? If n>= ~ 30, the t distribution approaches normal so testing for normality would be essentially the same. There's at least one test for such packaged in Matlab Statistics Toolbox.
MINA
2014-8-6
MINA
2014-8-6
dpb
2014-8-6
BTW, you can use kstest on the data with a cdf from tcdf; see
doc kstest
for the details. There's lillietest that's more powerful specifically for normality.
But, as noted, for N of 30 or greater the likelihood of there being sufficient difference between T and N is minimal at best to be able for statistical hypothesis test to tell the difference.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!