Hello, I'm about to join a team working on auditory speech perception using iEEG. It is planned that I will use Temporal Response Function (TRF) to determine correlations between stimulus characteristics (variations in the acoustic signal envelope, for example) and characteristics of recorded neuronal activity.
I would therefore like to fully understand the different stages of data processing carried out, as well as the reasoning and hypotheses behind them.
I took a look at the article presenting the method
Article The Multivariate Temporal Response Function (mTRF) Toolbox: ...
and I studied the matrix calculationsBut several questions remain.
In particular, regarding this formula:
w = (ST S)-1 ST r
where S is a matrix of dimension (T*tau) presenting the characteristics of the stimulus over time (T) as a function of different temporal windows/shifts (tau) as :
S =
[ s(tmin-taumin) ... s(t) ... s(tmin-taumax) ]
[ ... ... ]
[ ... ... ]
[ s(tmax-taumin) ... s(t) ... s(tmax-taumax) ]
and where r is a matrix of dimension (T*N) presenting the recorded activity of each channel in time.
Hypothesis: STS represents the "covariance" of each time window with the others (high covariance in the diagonal (because product of equal columns), high covariance for adjacent columns (because product of close time windows) and low covariance for distant columns whose time windows are very far apart (and therefore presenting little mutual information)). Maybe that (STS)-1ST (of dimension T*tau) makes it possible to obtain a representation of the stimulus according to time windows and time, but with the abrogation of any correlations that may exist between windows? However, the representation of the stimulus in this product remains very unclear to me... And finally, w may represents the weights (or correlations) of each N channel for the different time windows of the signal. My incomprehension mainly concerns the representation of the stimulus by (STS)-1ST and I would like to better understand the reasoning behind these operations and the benefits they bring to the decoding of neural activity. I'd like to thank anyone familiar with TRFs for any help he/she can give me. My reasoning may be wrong or incomplete, any contribution would be appreciated.