Skip to content

Instantly share code, notes, and snippets.

@effigies
Last active September 9, 2020 18:58
Show Gist options
  • Save effigies/cba033d0cc117ddbd1fc4158f84b9e49 to your computer and use it in GitHub Desktop.
Save effigies/cba033d0cc117ddbd1fc4158f84b9e49 to your computer and use it in GitHub Desktop.
NARPS model
{
"Name": "NARPS",
"Description": "Basic NARPS model",
"Input": {
"task": "MGT"
},
"Steps": [
{
"Level": "run",
"Transformations": [
{
"Name": "Threshold",
"Input": ["gain"],
"Binarize": true,
"Output": ["trial"]
},
{
"Name": "Scale",
"Input": ["gain", "loss"],
"Demean": true,
"Rescale": false,
"Output": ["gain", "loss"]
},
{
"Name": "Convolve",
"Inputs": ["trial", "gain", "loss", "demeanedRT"]
}
],
"Model": {
"X": ["trial", "gain", "loss", "demeanedRT"]
}
},
{
"Level": "subject",
"DummyContrasts": {
"Conditions": ["trial", "gain", "loss", "demeanedRT"],
"Type": "FEMA"
}
},
{
"Level": "dataset",
"DummyContrasts": {
"Conditions": ["trial", "gain", "loss", "demeanedRT"],
"Type": "t"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment