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
Hello, 
    I am totally new to Inquisit. I downloaded the CCT and made couple of modifications, such as reduced cards to 6. My questions are as following:
1. how to randomly choose cards from one of six cards by pressing "take card" button until subjects want to stop (by pressing the same button).
2.I can't control the trial duration (10 seconds) by setting /response=timeout(10000), /timeout or /trialduration in <trial pickcard>.

anyone can help me modify the syntax in the attachment, thanks. 


https://www.millisecond.com/forums/uploads/images/ca479b36-5d75-47a0-b7fc-24ed.jpg
Attachments
Block1_CCT_Hot_withinstruction-2.iqx (697 views, 32.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
Re.#1: See attached.

Re. #2: You can of course set a 10000ms timeout. The question is what you want to happen if no response is given. Assuming you want to stop the round and turn over all cards, see attached.

Since you are new to Inquisit, I also strongly recommend you work through the tutorials in the documentation (if you haven't already done so).

Attachments
Block1_CCT_Hot_withinstruction-2.iqx (652 views, 32.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
Hello, Dave
      I am greatly appreciate for your immediate reply. Thank you so much.
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
Hello, dear Dave,
    I read "Inquist 4 Help". However, I did my best but can't figure out solution to my question. Before I my question presents, I concisely delineate my design. There are two tasks in my study: CCT_hot and CCT_cold. Within each task, there are two kinds of combination of stimulus (high risk, high return: 3 losscards and 20 points gain; low risk, low return:1 losscard and 12 points gain)  present 4 times each. As a result, it comes to a total of 8 trials (4 high risk conbined with high return and 4 low risk conbined with low return) within each task. I have already design both tasks respectively (see attachments with all files needed). How can I integrate both type of task with a total of 16 trials (each task with 8 trials) within one file, and let them present in random order? I will be appreciate for your suggestions. Thank you so much.   

Attachments
CCT_Cold.iqx (655 views, 29.00 KB)
CCT_Hot.iqx (655 views, 32.00 KB)
button.jpg (646 views, 4.00 KB)
button_on.jpg (736 views, 6.00 KB)
button_on1.jpg (704 views, 6.00 KB)
button1.jpg (727 views, 4.00 KB)
covercard.jpg (631 views, 20.00 KB)
gaincard.jpg (732 views, 25.00 KB)
losscard.jpg (656 views, 24.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
If you merely want to present the two *tasks* (hot and cold; 8 trials each) in random order, set up two <batch> elements in a separate script to run them:

<batch order1>
/ file = "CCT_Hot.iqx"
/ file = "CCT_Cold.iqx"
/ subjects = (1 of 2)
/ groupassignment = groupnumber
</batch>

<batch order2>
/ file = "CCT_Cold.iqx"
/ file = "CCT_Hot.iqx"
/ subjects = (2 of 2)
/ groupassignment = groupnumber
</batch>

Provide an odd group number to run the 1st order, provide an even groupnumber to run the 2nd.

If you want to randomly intersperse "hot" and "cold" trials, you need to merge everything into a single procedure. For that, you'll have to make sure that the respective elements for the "hot" and "cold" trials carry unique names. Work through the "How to Combine Multiple Scripts" topic in the documentation first to get the gist. Then apply that to your scripts, with which you should be sufficiently familiar at this point.

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
Hello, Dave,
      I tried your suggestion, and it works but weird (see attachment:CCT_Cold and CCT_Hot are original files while the other two are modified and included in include element file) and it doesn't what i intended. First, I would like trials within both tasks can randomly intersperse by each single trial rather than blocked trails. In other words, trials in each of tasks are single events with random selected values (e.g. loss cards, gain amount) which resulted in a event related design (e.g. hot_trial1 - >cold_tial1->cold_trial2-> hot_trial2->.........................hot_trial8).  
Attachments
include element.iqx (678 views, 4.00 KB)
CCT_Cold.iqx (630 views, 29.00 KB)
CCT_Hot.iqx (604 views, 32.00 KB)
CCT_Hot-2.iqx (762 views, 27.00 KB)
CCT_Cold-2.iqx (673 views, 25.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
What your <include> element does is simply copy-paste the two scripts into a single file. Both scripts contain <expt> elements and Inquisit will just run those two <expt> in succession.

You need to do more than that.

(1) You need a single <expt> element in your "main" script (the one that contains the <include> element. Eliminate all other <expt> elements from the scripts.
(2) That <expt> element needs to run in essence a single <block> that runs *both* hot *and* cold trials. You need to implement the logic for that.

Essentially, your "main" script ought to contain something like this:

<expt>
/ onexptbegin = [if(script.subjectid=="debug")text.debuginfo.textcolor=white]
/ blocks = [1=CCT_Hot_And_Cold]
/onexptend = [values.completed = 1]
</expt>

<block CCT_Hot_And_Cold>
/ trials = [1-16=noreplace(getcondition, getcondition1)]
</block>

For this to work you'll also have to adjust the /branch logic in <trial turnover> and <trial confirm>. / branch = [trial.getcondition] and / branch = [trial.getcondition1] ought to be removed.
Second, it is not a good idea to have both "hot" and "cold" trials use the same <picture> elements etc. As you know, they treat cards etc. differently. So keep those separate as well, i.e., have

<picture CR1C1_hot>
/ items = ("covercard.jpg", "gaincard.jpg", "losscard.jpg")
/ select = values.CR1C1_hot
/ size = (28%, 28%)
/ position = (8%, 50%)
/ halign = center
/ valign = center
/ erase = false
</picture>

as well as

<picture CR1C1_cold>
/ items = ("covercard.jpg", "gaincard.jpg", "losscard.jpg")
/ select = values.CR1C1_cold
/ size = (28%, 28%)
/ position = (8%, 50%)
/ halign = center
/ valign = center
/ erase = false
</picture>

and so forth and use the correct stimulus elements in the respective trials.

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
Hello Dave,
    Following your suggestion, I made some modification. I want the presence of scores feedback accompanied by each hot trial and this feedback must sustain 2 seconds. I tried many ways but I failed. The other question is that, I have no idea why cold trial always the first, after that both kinds of trials randomly intersperse. 
Attachments
include element.iqx (693 views, 1.00 KB)
CCT_Cold-2.iqx (708 views, 27.00 KB)
CCT_Hot-2.iqx (600 views, 30.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
For the first question, specifically, I added one trial (<trial evaluation>) and one text <text evaluationmsg> both followed by <trial pickcard>, and added /branch = [trial.evaluation] to the end of <trial pickcards>. I want to present the performance/score of the last trail after participant finishing one hot trial. But, it directly jumped to the performance (evaluation trial) when I press "button1" (take card) once.
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
hi, Dave:
    The first problem was already solved. However, the second one (a cold trial always presented at first) was remianed unsolved.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search