Timeout as correct response


Author
Message
iilay1998
iilay1998
Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)
Group: Forum Members
Posts: 3, Visits: 5
Hi Inquisit,

I am having a problem where when a trial times out it returns a correct response when I'd like to receive a false one.

Thanks for the help,
Ilay
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: 12K, Visits: 98K
iilay1998 - Wednesday, June 6, 2018
Hi Inquisit,

I am having a problem where when a trial times out it returns a correct response when I'd like to receive a false one.

Thanks for the help,
Ilay

Please post the code for the <trial> element in question. You've probably only defined /validresponse in the <trial>, you should define /correctresponse in addition, and /correctresponse should not contain no response among the correct responses. E.g.

<trial example>
...
/ validresponse = (18, 23)
/ correctresponse = (18)
/ timeout = 5000
</trial>

should return a non-response / timeout as incorrect.

iilay1998
iilay1998
Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)
Group: Forum Members
Posts: 3, Visits: 5

Thanks for the quick reply!
I made the mistake thinking my code was incorrect due to a mistake made in the following page: 
https://www.millisecond.com/support/docs/v5/html/language/properties/error.htm
It claims that 1's are incorrect and 0's are correct.


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: 12K, Visits: 98K
iilay1998 - Wednesday, June 6, 2018

Thanks for the quick reply!
I made the mistake thinking my code was incorrect due to a mistake made in the following page: 
https://www.millisecond.com/support/docs/v5/html/language/properties/error.htm
It claims that 1's are incorrect and 0's are correct.


That is true for the _error_ property: 1 indicates an error occurred, 0 indicates no error occurred.

It is the reverse for the _correct_ property. Here, 1 indicates the response was correct (no error), 0 indicates the response was incorrect (an error occurred).

https://www.millisecond.com/support/docs/v5/html/language/properties/correct.htm

Consider this example:

<block myblock>
/ trials = [1-10 = mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=mytext]
/ validresponse = (57, 0)
/ correctresponse = (57)
/ timeout = 3000
/ correctmessage = true(correcttxt, 500)
/ errormessage = true(errortxt, 500)
</trial>

<text mytext>
/ items = ("Press the SPACEBAR or let the trial time out.")
</text>

<text correcttxt>
/ items = ("CORRECT")
/ txcolor = green
/ position = (50%, 80%)
</text>

<text errortxt>
/ items = ("ERROR")
/ txcolor = red
/ position = (50%, 80%)
</text>

<data>
/ columns = (date time subject group trialnum trialcode latency response correct trial.mytrial.correct trial.mytrial.error)
/ separatefiles = true
</data>


iilay1998
iilay1998
Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)Associate Member (298 reputation)
Group: Forum Members
Posts: 3, Visits: 5
Dave - Wednesday, June 6, 2018
iilay1998 - Wednesday, June 6, 2018

Thanks for the quick reply!
I made the mistake thinking my code was incorrect due to a mistake made in the following page: 
https://www.millisecond.com/support/docs/v5/html/language/properties/error.htm
It claims that 1's are incorrect and 0's are correct.


That is true for the _error_ property: 1 indicates an error occurred, 0 indicates no error occurred.

It is the reverse for the _correct_ property. Here, 1 indicates the response was correct (no error), 0 indicates the response was incorrect (an error occurred).

https://www.millisecond.com/support/docs/v5/html/language/properties/correct.htm

Consider this example:

<block myblock>
/ trials = [1-10 = mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=mytext]
/ validresponse = (57, 0)
/ correctresponse = (57)
/ timeout = 3000
/ correctmessage = true(correcttxt, 500)
/ errormessage = true(errortxt, 500)
</trial>

<text mytext>
/ items = ("Press the SPACEBAR or let the trial time out.")
</text>

<text correcttxt>
/ items = ("CORRECT")
/ txcolor = green
/ position = (50%, 80%)
</text>

<text errortxt>
/ items = ("ERROR")
/ txcolor = red
/ position = (50%, 80%)
</text>

<data>
/ columns = (date time subject group trialnum trialcode latency response correct trial.mytrial.correct trial.mytrial.error)
/ separatefiles = true
</data>

Oh now I understand. Thank You!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search