How can I calculate serial correlations?

Hello Matlab gurus! well I have input data that is a matrix 140 3, and I want to calculate 1st Order Serial Correlation, 2st Order Serial Correlation, 3st Order Serial Correlation and 4st Order Serial Correlation, but I do not know with which function I am able to do it. Any ideas?

답변 (1개)

Roger Wohlwend
Roger Wohlwend 2014년 9월 4일
편집: Roger Wohlwend 2014년 9월 4일

0 개 추천

I recommend the function autocorr , but you need the Econometrics toolbox for that. The alternative is the function corr .

댓글 수: 3

Giorgi
Giorgi 2014년 9월 4일
First of all thanks for your activity, Well I tried both of them but that does not work, answers are incorrect. any idea?
Roger Wohlwend
Roger Wohlwend 2014년 9월 5일
편집: Roger Wohlwend 2014년 9월 5일
Are you sure that the functions give incorrect answers? In general the error lies with the person who thinks that the functions don't work, and not with the functions. What makes you believe the functions give incorrect answers? What are the results? And what does the input data look like?
Giorgi
Giorgi 2014년 9월 8일
well I did it in excel at university and it was correct after that i wanted to do it in matlab and tried all the functions but the answers were incorrect

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Descriptive Statistics and Insights에 대해 자세히 알아보기

질문:

2014년 9월 3일

댓글:

2014년 9월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by