adopted Columbia Card Task


Author
Message
minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
This is above mentioned attachment.

Attachments
BARTY.iqx (664 views, 34.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
> then subtract the trial's latency from it at the end of <trial choice> (/ timeout = values.choicetimeout-trial.choice.latency)

This is wrong.

You'll want

/timeout = values.choicetimeout
and
/ontrialend = [values.choicetimeout-=trial.choice.latency]

Also, you do *not* set values.choicetimeout to 15000 *in <trial init>* as I said you ought to do. You need to fix that.

Finally, I don't see how that /branch makes sense:

/ branch = [if ( trial.choice.response == "7" && trial.choice.sumlatency==trial.choice.timeout) trial.collect]

Attachments
BARTY.iqx (621 views, 34.00 KB)
minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
I add two conditions:
1. / branch = [if ( values.pumpcount == values.explosionpoint && trial.choice.response == "7" ) values.choicetimeout-=trial.choice.latency]  ==> It is intended to set remaining wait after pop resulted from pressing too many times, and next trial will begin after 15s duration reaching.
 
2. / branch = [if ( trial.choice.response == "8" ) values.choicetimeout-=trial.choice.latency] ==> It is intended to set wait for voluntarily stop pumping.

However, both of them seem didn't work.



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Both don't make sense. You don't need new branches and you definitely don't need them in <trial choice>. If a balloon pops, the relevant <trial> is <trial pop>. That's where your <trial> choice branches to anyway. The /timeout in <trial pop> needs to be the remainder.

Same thing for a voluntary collect. <trial choice> branches to <trial collect> anyway. You need to modify <trial collect> to wait for the remaining time.

minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
Fistly, in your last attachment, the trials didn't terminate at 15s but at more than 20s. Second, I don't understand your instructions about my last two qestions, could you give me more elaborative examples? Thank you.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
If you want to have either <trial pop> or <trial collect> last for whatever remains of the allotted 15000 ms, you simply do:

<trial pop>
...
/ trialduration = values.choicetimeout
</trial>

<trial collect>
...
/trialduration = values.choicetimeout
</trial>
minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
Thnaks for your illustration. However, your second script works while the first one doesn't. Moreover, trials also didn't terminate within 15s after several presses.
trials didn't terminate at 15s but at more than 20s - See more at: http://www.millisecond.com/forums/Topic16800.aspx?PageIndex=6&Update=1#sthash.SpTRdhDM.dpuf

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Both work just fine. As for the timing: See attached.

Note: Giving participants a total of 15 seconds to make responses and having an entire *round* last approx. 15 seconds are *two different things*. Your wording and previous code snippets suggest you want the former, while you actually seem to want the latter. Such differences matter, please communicate them clearly.

Attachments
BARTY.iqx (623 views, 35.00 KB)
Edited 9 Years Ago by Dave
minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
Thanks for your help. It looks great.

minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
It may be the last two questions (i hope so). First one, revised BARTY.iqx works well, however, it seems exceeding 2s than expect. Specifically, I expected the totoal time is 3mins 16s (1s fixation+10s instruction+15s*12 balloon+5s feedback).

The second question is about cued go no go task (see attachment). I want that each trial was exact 4s (from <trial cue> to <trial target> to <trial iti>), so i add "/ posttrialpause = 3300-trial.target.elapsedtime-trial.cue.trialduration" in <trial.target>. However, it resulted in 8s more than expect, and the colored rectangle didn't disapear immediately after my response (in fact, I want it disapeared immediately after my response then wait for a while until next fixation appeared, just as default setting). Could you help me figure out how to resolve it? Thank you so much.

Attachments
CuedGoNoGo.iqx (651 views, 30.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search