level of significance using xcorr

Hello,
The xcorr function in Matlab returns the maximum correlation coefficient of two univariate time series data with their corresponding lag. May I know if there is a test of significance/confidence interval for this function in Matlab?
Thanks

Réponses (1)

Alex Backer
Alex Backer le 7 Mai 2020
Modifié(e) : Alex Backer le 7 Mai 2020

0 votes

I wrote some code to estimate the p-value empirically:
Alex Backer (2020). xcorrpvalue (https://www.mathworks.com/matlabcentral/fileexchange/75403-xcorrpvalue), MATLAB Central File Exchange. Retrieved May 7, 2020.
Hope it helps.

Question posée :

cgo
le 21 Fév 2017

Modifié(e) :

le 7 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by