Variable inter-trial interval in Alcohol Dot Probe Script


Author
Message
Leni
Leni
Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)
Group: Forum Members
Posts: 2, Visits: 15
Dave - Friday, January 20, 2017
Leni - Friday, January 20, 2017
Hello,

I´m currently adapting the Alcohol Dot Probe Script the way I want my experiment to work.

I need help on how to compute a variable inter-trial interval. I want the inter-trial trial to vary randomly between the three values 500, 1000 and 1500ms. 
In the script the inter-trial value is set to 0 ( <values> /iti=0 </values> ) and integrated in the trial via the posttrialpause attribute (/posttrialpause = values.iti)

How can I compute the variable inter-trial interval? 

What I tried so far:
Created a list that randomly selects one of the three iti-durations
</list itidurations
/ items = (500, 1000, 15000)
/replace = true
</list>

I tried a few things but cannot figure out how to integrate it into the trial element. 

Thanks a lot in advance.

Best regards, 
Leni

In the <trial> elements, do

/ ontrialbegin = [values.iti = list.itidurations.nextvalue]

i.e., sample a value from the <list> you specified and store it in the global variable values.iti

Leave

/ posttrialpause = values.iti

as is.

Thanks a million for the fast reply! You helped me a lot! 
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
Leni - Friday, January 20, 2017
Hello,

I´m currently adapting the Alcohol Dot Probe Script the way I want my experiment to work.

I need help on how to compute a variable inter-trial interval. I want the inter-trial trial to vary randomly between the three values 500, 1000 and 1500ms. 
In the script the inter-trial value is set to 0 ( <values> /iti=0 </values> ) and integrated in the trial via the posttrialpause attribute (/posttrialpause = values.iti)

How can I compute the variable inter-trial interval? 

What I tried so far:
Created a list that randomly selects one of the three iti-durations
</list itidurations
/ items = (500, 1000, 15000)
/replace = true
</list>

I tried a few things but cannot figure out how to integrate it into the trial element. 

Thanks a lot in advance.

Best regards, 
Leni

In the <trial> elements, do

/ ontrialbegin = [values.iti = list.itidurations.nextvalue]

i.e., sample a value from the <list> you specified and store it in the global variable values.iti

Leave

/ posttrialpause = values.iti

as is.

Leni
Leni
Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)Respected Member (317 reputation)
Group: Forum Members
Posts: 2, Visits: 15
Hello,

I´m currently adapting the Alcohol Dot Probe Script the way I want my experiment to work.

I need help on how to compute a variable inter-trial interval. I want the inter-trial trial to vary randomly between the three values 500, 1000 and 1500ms. 
In the script the inter-trial value is set to 0 ( <values> /iti=0 </values> ) and integrated in the trial via the posttrialpause attribute (/posttrialpause = values.iti)

How can I compute the variable inter-trial interval? 

What I tried so far:
Created a list that randomly selects one of the three iti-durations
</list itidurations
/ items = (500, 1000, 15000)
/replace = true
</list>

I tried a few things but cannot figure out how to integrate it into the trial element. 

Thanks a lot in advance.

Best regards, 
Leni
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search