count the number of tentative in trials


Author
Message
Kevin_Bague
Kevin_Bague
Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)
Group: Forum Members
Posts: 15, Visits: 35
Dave - 2/26/2020
Kevin_Bague - 2/26/2020
Hello I have a new question today. 

Is it possible to count the number of tentative in trials ?

In my task participants must stop a sound in pushing on a knob. But I would like record the number of tentative for each trial, that is the number of time that they have push on other knob.

Could I include 8 knobs in valid response and only one in correct response ? But how code bad response as 0 and correct as 1 ? 

Thanks 


You can use /isvalidresponse and/or /scorrectresponse logic to count the valid (but incorrect) response attempts.

<defaults >
/ screencolor = black
</defaults>

*************************************
SOUND

<item sound>
/ 1="3000Hz (5s).wav"
</item>

<sound son>
/ items = item.sound
</sound>

*************************************
FEEDBACK

<item success>
/ 1="Success!"
</item>

<item fail>
/ 1="Fail !"
</item>

<text sucess>
/ items = success
/ txcolor =black
/ txbgcolor =darkgreen
/txcolor = (255,255,255)
/ size = (90%, 90%)
/ fontstyle = ("Times new roman", 50pt, true, false, false, false, 5, 0)
/ position = (50, 50)
</text>

<text fail>
/ items = fail
/ txcolor =black
/ txbgcolor =crimson
/txcolor = (255,255,255)
/ size = (90%, 90%)
/ fontstyle = ("Times new roman", 50pt, true, false, false, false, 5, 0)
/ position = (50, 50)
</text>
*************************************

<trial uncontrolable >
/ beginresponseframe = -1
/ beginresponsetime = -1
/ correctmessage = true(text.success, 5000)
/ errormessage = true(text.fail, 5000)
/ stimulusframes = [5000=sound]
/ timeout = 5000
/ posttrialpause = 10000
/ responseinterrupt = trial
/ isvalidresponse = ["1";"2"
]
/ ontrialend = [if (trial.uncontrolable.timeout > timeout)
    
]
</trial>


Kevin_Bague
Kevin_Bague
Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)
Group: Forum Members
Posts: 15, Visits: 35
Dave - 2/26/2020
Kevin_Bague - 2/26/2020
Hello I have a new question today. 

Is it possible to count the number of tentative in trials ?

In my task participants must stop a sound in pushing on a knob. But I would like record the number of tentative for each trial, that is the number of time that they have push on other knob.

Could I include 8 knobs in valid response and only one in correct response ? But how code bad response as 0 and correct as 1 ? 

Thanks 


You can use /isvalidresponse and/or /scorrectresponse logic to count the valid (but incorrect) response attempts.

Yes but with "/isvalidresponse" when participant press on knob the trial is stopped, but I would like that trial continue even the response is false. 
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: 109K
Kevin_Bague - 2/26/2020
Hello I have a new question today. 

Is it possible to count the number of tentative in trials ?

In my task participants must stop a sound in pushing on a knob. But I would like record the number of tentative for each trial, that is the number of time that they have push on other knob.

Could I include 8 knobs in valid response and only one in correct response ? But how code bad response as 0 and correct as 1 ? 

Thanks 


You can use /isvalidresponse and/or /scorrectresponse logic to count the valid (but incorrect) response attempts.

Kevin_Bague
Kevin_Bague
Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)Associate Member (178 reputation)
Group: Forum Members
Posts: 15, Visits: 35
Hello I have a new question today. 

Is it possible to count the number of tentative in trials ?

In my task participants must stop a sound in pushing on a knob. But I would like record the number of tentative for each trial, that is the number of time that they have push on other knob.

Could I include 8 knobs in valid response and only one in correct response ? But how code bad response as 0 and correct as 1 ? 

Thanks 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search