Giter Site home page Giter Site logo

Comments (7)

yibeichan avatar yibeichan commented on August 21, 2024 1

sounds good! I can experiment with 5 subs first

from pydra-tutorial.

htwangtw avatar htwangtw commented on August 21, 2024

Let's use ds000001 @yibeichan
It's only 16 subjects if we want to run the full process, and we can try to run a smaller subset (i.e. 5 subjects).

from pydra-tutorial.

yibeichan avatar yibeichan commented on August 21, 2024

hello @htwangtw @effigies , this dataset has 3 runs for each subject, since our goal is a 2-level glm. We have two choices:

  1. concatenate three runs into one, run the first-level on this concatenated run, then do the second level
  2. do the first level for each run, average copes/varcopes across three runs, then do the second level.

I prefer the first solution, because the second one sounds like a three-level glm.

from pydra-tutorial.

htwangtw avatar htwangtw commented on August 21, 2024

2 is the correct way and how the data was analysed in the original paper! I don't think it's a bad thing to make it three-level. I would suggest to have a look at the original paper.

from pydra-tutorial.

yibeichan avatar yibeichan commented on August 21, 2024

Yes, the original paper used FSL, so they did three-level GLM.
I understand that 2 is correct. But why 1 is not?
GLM is averaging across trials. So as long as we concatenate events.tsv, preproc_bold.nii.gz and confounds.tsv in the same way, then GLM on the concatenated run should be the same as GLM on each run and average?
Or because of the conjunction of each two runs will cause some differences (e.g., in terms of hrf)?
Sorry, I only did GLM 2-3 times; I am probably wrong

from pydra-tutorial.

htwangtw avatar htwangtw commented on August 21, 2024

It's okay to concatenate runs but you will have to make sure the signal are normalised, so they are comparing with the same baseline. The safest way is to do each run separately, and then combine the statistical maps across run.

from pydra-tutorial.

yibeichan avatar yibeichan commented on August 21, 2024

Ah I see, I'll go for option 2 then, much safer. Thank you!

from pydra-tutorial.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.