[color=#000000]Hi Sarah,[/color]
[color=#000000]In the [i]Setup.Covariates.2ndlevel [/i]tab, simply select the menu '[i]covariate tools. import new covariate(s) data from file[/i]'. CONN accepts a variety of formats (.txt, .csv, .mat, .tsv or .json files). Many of these formats will simply contain the data organized as a subjects-by-variables table (with one column per variable) and an optional header-line containing the variable names, e.g. [/color]
----MYFILE.CSV EXAMPLE:----
AGE,GENDER
20,female
20,female
19,male
22,female
23,female[color=#000000] [/color]
[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]
[i]Originally posted by sat2020:[/i][quote]Hello,
I am working with a very large dataset and will need to add second level covariates (age, IQ, MRI site, etc). What is the most efficient way to do this rather than enter them one by one in the GUI? I know in other software you can reference a csv or text file with this information. Is that possible with Conn, and how? I've tried looking into it, but haven't found any info. Thanks!
Sarah[/quote]
[color=#000000]In the [i]Setup.Covariates.2ndlevel [/i]tab, simply select the menu '[i]covariate tools. import new covariate(s) data from file[/i]'. CONN accepts a variety of formats (.txt, .csv, .mat, .tsv or .json files). Many of these formats will simply contain the data organized as a subjects-by-variables table (with one column per variable) and an optional header-line containing the variable names, e.g. [/color]
----MYFILE.CSV EXAMPLE:----
AGE,GENDER
20,female
20,female
19,male
22,female
23,female[color=#000000] [/color]
[color=#000000]Hope this helps[/color]
[color=#000000]Alfonso[/color]
[i]Originally posted by sat2020:[/i][quote]Hello,
I am working with a very large dataset and will need to add second level covariates (age, IQ, MRI site, etc). What is the most efficient way to do this rather than enter them one by one in the GUI? I know in other software you can reference a csv or text file with this information. Is that possible with Conn, and how? I've tried looking into it, but haven't found any info. Thanks!
Sarah[/quote]