Representational Similarity Analysis (RSA) is a method used to compare patterns of responses (e.g., neural activity, computational models, or time series data) by analyzing the similarity of representational structures. It involves the following steps:

Steps in RSA:

  1. Compute Representational Dissimilarity Matrices (RDMs):
  2. Compare RDMs:

Example: RSA on Synthetic Data

https://gist.github.com/viadean/772221b870788b7fdc7c9901b74bb34e

image.png

Here are the Representational Dissimilarity Matrices (RDMs) for the two synthetic sequences. The Spearman correlation between the two RDMs is displayed in the title, indicating how similar the two representations are.