help
help > RE: Entering data into GUI
Jun 2, 2014 02:06 AM | Alfonso Nieto-Castanon - Boston University
RE: Entering data into GUI
Hi Mike,
The values box in Setup->Covariates->Second-level reverts to the previous values (in your case all zeros) if the input is incorrectly formatted. The gui expects there a row vector with as many elements as subjects (and as many rows as number of selected covariates, if you are selecting more than one covariate in the covariates list). The gui also accepts any valid matlab syntax evaluated in your matlab workspace (so you can enter for example variable names if those variables are defined from the command syntax). Examples of some valid input formats are (all of these examples apply to a case where you have 10 subjects, and they evaluate to 1's for the first 5 subjects and 0's for the next 5 subjects):
1) 1 1 1 1 1 0 0 0 0 0
2) 1.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
3) [1,1,1,1,1,0,0,0,0,0]
4) 1:10<=5
5) [ones(1,5) zeros(1,5)]
6) kron([1 0],ones(1,5))
If after double-checking your syntax you still cannot figure out why is CONN not accepting your particular input string please copy and paste it here into your message and I will be happy to take a look at it (my guess is that this could be either incorrect number of elements, using commas as decimal marks, or some extraneous/formatting character introduced by copying and pasting from programs like excel/word/etc.)
Hope this helps
Alfonso
Originally posted by Michael Keutmann:
The values box in Setup->Covariates->Second-level reverts to the previous values (in your case all zeros) if the input is incorrectly formatted. The gui expects there a row vector with as many elements as subjects (and as many rows as number of selected covariates, if you are selecting more than one covariate in the covariates list). The gui also accepts any valid matlab syntax evaluated in your matlab workspace (so you can enter for example variable names if those variables are defined from the command syntax). Examples of some valid input formats are (all of these examples apply to a case where you have 10 subjects, and they evaluate to 1's for the first 5 subjects and 0's for the next 5 subjects):
1) 1 1 1 1 1 0 0 0 0 0
2) 1.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
3) [1,1,1,1,1,0,0,0,0,0]
4) 1:10<=5
5) [ones(1,5) zeros(1,5)]
6) kron([1 0],ones(1,5))
If after double-checking your syntax you still cannot figure out why is CONN not accepting your particular input string please copy and paste it here into your message and I will be happy to take a look at it (my guess is that this could be either incorrect number of elements, using commas as decimal marks, or some extraneous/formatting character introduced by copying and pasting from programs like excel/word/etc.)
Hope this helps
Alfonso
Originally posted by Michael Keutmann:
Greetings,
I just started using CONN again after about a year's hiatus. I'm having trouble entering data into the GUI. For example, right now I'm trying to put in second level covariates, and after I past the data (one value per participant, separated by spaces) and hit return, the field reverts to all zeroes. I tried clicking another field afterward, clicking outside the field, tab, etc. Nothing seems to work. I'm using the Linux version.
Any help you can offer would be greatly appreciated!!!
Thanks,
Mike Keutmann
I just started using CONN again after about a year's hiatus. I'm having trouble entering data into the GUI. For example, right now I'm trying to put in second level covariates, and after I past the data (one value per participant, separated by spaces) and hit return, the field reverts to all zeroes. I tried clicking another field afterward, clicking outside the field, tab, etc. Nothing seems to work. I'm using the Linux version.
Any help you can offer would be greatly appreciated!!!
Thanks,
Mike Keutmann
Threaded View
| Title | Author | Date |
|---|---|---|
| Michael Keutmann | Jun 2, 2014 | |
| Alfonso Nieto-Castanon | Jun 2, 2014 | |
| Michael Keutmann | Jun 2, 2014 | |
| Alfonso Nieto-Castanon | Jun 2, 2014 | |
