level of significance using xcorr
14 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Alex Backer
2020-5-7
编辑:Alex Backer
2020-5-7
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!