Problem with Autocorrelation function
이전 댓글 표시
Hello all, I am new to Matlab and I am trying to run some autocorrelation analysis on stock market returns for an academic project.
I have the student version of Matlab (7.14 R2012a) and I have purchased both the Econometrics Toolbox (Version 2.1 R2012a) as well as the Financial Toolbox (Version R2012a).
When I type the autocorr command for my time series, I get the following message:
Undefined function 'autocorr' for input arguments of type 'double'
Thinking that there may be an error in my code, I have tried to copy paste some sample code from the Econometrics guide for autocorrelation. Yet I still get the same message Undefined function 'autocorr' for input arguments of type 'double.
I then thought that perhaps the econometrics toolbox is not properly installed, so next I typed "ver", and found the econometrics toolbox. However, when I type " which autocorr" I get the following message:
/Applications/MATLAB_R2012a_Student.app/toolbox/econ/econ/autocorr.m % Has no license available
Why is it saying it has no license available if I have just bought it? Is this the reason why the autocorrelation function is not working/giving error message about input arguments of type double?
Any help would be much appreciated.
Thanks, Marc
댓글 수: 1
Josh
2014년 2월 26일
Did you ever get your question answered? I am having the same issue.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Equity Derivatives에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!