How can I calculate serial correlations?
5 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (1 件)
Roger Wohlwend
2014 年 9 月 4 日
編集済み: Roger Wohlwend
2014 年 9 月 4 日
I recommend the function autocorr , but you need the Econometrics toolbox for that. The alternative is the function corr .
3 件のコメント
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?
参考
カテゴリ
Help Center および File Exchange で Financial Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!