Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

design matrix in Representational Similarity Analysis(RSA) #402

Open
JJliao13 opened this issue Nov 28, 2021 · 1 comment
Open

design matrix in Representational Similarity Analysis(RSA) #402

JJliao13 opened this issue Nov 28, 2021 · 1 comment

Comments

@JJliao13
Copy link

Dear nltools developers,

Thanks for your work of nltools. I am using nltools to perform representational similarity analysis. There were two task runs in my design, so I defined a between-run representational similarity matrix(RSM). Due to the time auto-correlation of the BOLD signal in the same run, the similarities within runs need to be ignored. Setting the similarities within runs to 0 to ignore the effect in the RSM is correct or not?

Thanks much!

@ljchang
Copy link
Member

ljchang commented May 2, 2024

hi @JJliao13 , apologies for the delay. I'm not sure I can provide much help on this without knowing more details about your design and what you are trying to do. Are you trying to do an RSA across conditions or trials for multiple tasks? or simply across tasks? If the latter, it seems like a contrast might make more sense.

There are many ways to address the potential autocorrelation issue, one solution is to just include that in your matrix that specifies hypothesized relations between conditions. Another is to use a multiple regression approach, where you would add a covariate specifying this autocorrelation to separate it from your analysis of interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants