statistical test for data drawn from t distribution
Show older comments
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 Comments
dpb
on 6 Aug 2014
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
on 6 Aug 2014
MINA
on 6 Aug 2014
dpb
on 6 Aug 2014
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.
Answers (0)
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!