How to find cross-correlation (delay) for NARX model

4 views (last 30 days)
Hi,
I would like to find the cross-correlation between inputs (4 elements) and output (1 element).
I'm using corrt = nncorr(inputs, output) and the result consists of 4 row vectors.
How do i determine the signficant lags for such cross correlation?

Accepted Answer

Greg Heath
Greg Heath on 6 Jan 2015
There are many examples. Search the NEWSGROUP and ANSWERS using
greg nncorr
Search backward starting with the most recent post.
Hope this helps.
Thank you for formally accepting my answer
Greg
  2 Comments
Xiang Jie
Xiang Jie on 7 Jan 2015
Hi Greg,
Thanks for your inputs. I have found some related examples.
However, i have a question regarding about correlation between inputs and outputs. My inputs consists of 4 elements - Which means that i have 4 series of lags.
How do i determine the best significant lags between them?
Greg Heath
Greg Heath on 10 Jan 2015
Each input will have it's own subset of SIGNIFICANT lags. However, the net must use the same lags for all inputsI would use all lags smallerthan aspecificmaximum value which has to be chosen using common sense and if necessary, trial and error.
Greg

Sign in to comment.

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!