How can I calculate serial correlations?

5 visualizaciones (últimos 30 días)
Giorgi
Giorgi el 3 de Sept. de 2014
Comentada: Giorgi el 8 de Sept. de 2014
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?

Respuestas (1)

Roger Wohlwend
Roger Wohlwend el 4 de Sept. de 2014
Editada: Roger Wohlwend el 4 de Sept. de 2014
I recommend the function autocorr , but you need the Econometrics toolbox for that. The alternative is the function corr .
  3 comentarios
Roger Wohlwend
Roger Wohlwend el 5 de Sept. de 2014
Editada: Roger Wohlwend el 5 de Sept. de 2014
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 el 8 de Sept. de 2014
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

Iniciar sesión para comentar.

Categorías

Más información sobre Financial Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by