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
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.
n>30. The thing is I'm modeling my data with ARIMA and there I have to choose whether the innovations have Gaussian distribution or t distribution. when I use AIC/BIC criteria to select which model is better, I get a model with innovations drawn from t distribution. Now When I compute the residuals I want to see if they are coming from t-distribution or not. I know that they are not normally distributed- by using kstest.
dpb
dpb 2014년 8월 6일
편집: dpb 2014년 8월 6일
Then w/ n>30 they won't be t, either, because the two distributions are asymptotically identical. The higher N, the closer and the lesser chances of showing anything different.
@dbp ok I understood. Thanks.
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개)

질문:

2014년 8월 6일

댓글:

dpb
2014년 8월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by