Help with Not Attribute on Visual Search Task


Help with Not Attribute on Visual Search Task

Author
Message
nspswalk
nspswalk
Associate Member
Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)

Group: Forum Members
Posts: 4, Visits: 30
Hello,
My PhD student and I are editing the script of Motter's Visual Search task - instead of different letter types she is using different categories of word - Anxiety, Neutral, Positive.
While in Motter's task, distractor stimuli were always drawn from a different list to the target in our version on some trials we want the target and distractors to come from the same list - eg finding threat words in a threat matrices.
I have tried to implement a not attribute so that distractors cannot be the same as a target but without success. The target is usually repeated several times
Note there are 8 stimuli on a list and 24 locations so it is acceptable for a given distractor to appear more than once - it just can't be the same as the target on a given trial
This is the line I added,  it can be seen in context below
/ not=[list.Threat_practice_targetStimItemNumber.currentvalue]
N.B. I also edited replace to = true 
Any advice gratefully received
Thank you
Susannah

Note: the following lists control the selection of the target (-> items.stims)
for the selected target category
<list Threat_practice_targetStimItemNumber>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ poolsize = 8
/ replace = false
/ resetinterval = 0
</list>

Note: the following lists control the selection of the distractor items
given the current target
(item lists contain the relevant itemnumbers -> item.stims)
<list Threat_practice>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ not=[list.Threat_practice_targetStimItemNumber.currentvalue]
/ replace = true
/ selectionrate = always
/ resetinterval = 0
</list>


Dave
Dave
Supreme Being
Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)

Group: Administrators
Posts: 9.6K, Visits: 44K
nspswalk - Sunday, January 27, 2019
Hello,
My PhD student and I are editing the script of Motter's Visual Search task - instead of different letter types she is using different categories of word - Anxiety, Neutral, Positive.
While in Motter's task, distractor stimuli were always drawn from a different list to the target in our version on some trials we want the target and distractors to come from the same list - eg finding threat words in a threat matrices.
I have tried to implement a not attribute so that distractors cannot be the same as a target but without success. The target is usually repeated several times
Note there are 8 stimuli on a list and 24 locations so it is acceptable for a given distractor to appear more than once - it just can't be the same as the target on a given trial
This is the line I added,  it can be seen in context below
/ not=[list.Threat_practice_targetStimItemNumber.currentvalue]
N.B. I also edited replace to = true 
Any advice gratefully received
Thank you
Susannah

Note: the following lists control the selection of the target (-> items.stims)
for the selected target category
<list Threat_practice_targetStimItemNumber>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ poolsize = 8
/ replace = false
/ resetinterval = 0
</list>

Note: the following lists control the selection of the distractor items
given the current target
(item lists contain the relevant itemnumbers -> item.stims)
<list Threat_practice>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ not=[list.Threat_practice_targetStimItemNumber.currentvalue]
/ replace = true
/ selectionrate = always
/ resetinterval = 0
</list>


That code is too incomplete to say where the problem is. Please post a runnable, self-contained example, and please include all files the respective script needs to run. You can attach scripts and other files to a post via +Insert -> Add FIle.

nspswalk
nspswalk
Associate Member
Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)

Group: Forum Members
Posts: 4, Visits: 30
Dave - Monday, January 28, 2019
nspswalk - Sunday, January 27, 2019
Hello,
My PhD student and I are editing the script of Motter's Visual Search task - instead of different letter types she is using different categories of word - Anxiety, Neutral, Positive.
While in Motter's task, distractor stimuli were always drawn from a different list to the target in our version on some trials we want the target and distractors to come from the same list - eg finding threat words in a threat matrices.
I have tried to implement a not attribute so that distractors cannot be the same as a target but without success. The target is usually repeated several times
Note there are 8 stimuli on a list and 24 locations so it is acceptable for a given distractor to appear more than once - it just can't be the same as the target on a given trial
This is the line I added,  it can be seen in context below
/ not=[list.Threat_practice_targetStimItemNumber.currentvalue]
N.B. I also edited replace to = true 
Any advice gratefully received
Thank you
Susannah

Note: the following lists control the selection of the target (-> items.stims)
for the selected target category
<list Threat_practice_targetStimItemNumber>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ poolsize = 8
/ replace = false
/ resetinterval = 0
</list>

Note: the following lists control the selection of the distractor items
given the current target
(item lists contain the relevant itemnumbers -> item.stims)
<list Threat_practice>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ not=[list.Threat_practice_targetStimItemNumber.currentvalue]
/ replace = true
/ selectionrate = always
/ resetinterval = 0
</list>


That code is too incomplete to say where the problem is. Please post a runnable, self-contained example, and please include all files the respective script needs to run. You can attach scripts and other files to a post via +Insert -> Add FIle.

Great thank-you (file attached)
Note it is the Practice trials in the attached example that are relevant to this query - the Test trials haven't been edited.
So in the Threat-word practice trails  we want it to select a word at random from words 1-8 then build the rest of the matrice (23 words) by sampling just the remaining words 7 words on that list
The same for the neutral (words 9 - 6) and Positive words (17-24)
Susannah


Attachments
Inquisit Query.zip (23 views, 191.00 KB)
Dave
Dave
Supreme Being
Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)

Group: Administrators
Posts: 9.6K, Visits: 44K
nspswalk - Tuesday, January 29, 2019

Great thank-you (file attached)
Note it is the Practice trials in the attached example that are relevant to this query - the Test trials haven't been edited.
So in the Threat-word practice trails  we want it to select a word at random from words 1-8 then build the rest of the matrice (23 words) by sampling just the remaining words 7 words on that list
The same for the neutral (words 9 - 6) and Positive words (17-24)
Susannah


Thanks for the code. All you should need to define is

<list Threat>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Neutral>
/items = (9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Positive>
/items = (17, 18, 19, 20, 21, 22, 23, 24)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

and then the target stimulus should not be selected for any of the distractors.

nspswalk
nspswalk
Associate Member
Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)

Group: Forum Members
Posts: 4, Visits: 30
Dave - Tuesday, January 29, 2019
nspswalk - Tuesday, January 29, 2019

Great thank-you (file attached)
Note it is the Practice trials in the attached example that are relevant to this query - the Test trials haven't been edited.
So in the Threat-word practice trails  we want it to select a word at random from words 1-8 then build the rest of the matrice (23 words) by sampling just the remaining words 7 words on that list
The same for the neutral (words 9 - 6) and Positive words (17-24)
Susannah


Thanks for the code. All you should need to define is

<list Threat>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Neutral>
/items = (9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Positive>
/items = (17, 18, 19, 20, 21, 22, 23, 24)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not =(values.currentTarget)
</list>

and then the target stimulus should not be selected for any of the distractors.

Hi Thanks, unfortunately that hasn't solved it, the target word is still appearing on the grid multiple times in the practice trials:
<list Threat_practice>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Neutral_practice>
/items = (9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Positive_practice>
/items = (17, 18, 19, 20, 21, 22, 23, 24)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>


Dave
Dave
Supreme Being
Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)Supreme Being (648K reputation)

Group: Administrators
Posts: 9.6K, Visits: 44K
nspswalk - Wednesday, January 30, 2019
Dave - Tuesday, January 29, 2019
nspswalk - Tuesday, January 29, 2019

Great thank-you (file attached)
Note it is the Practice trials in the attached example that are relevant to this query - the Test trials haven't been edited.
So in the Threat-word practice trails  we want it to select a word at random from words 1-8 then build the rest of the matrice (23 words) by sampling just the remaining words 7 words on that list
The same for the neutral (words 9 - 6) and Positive words (17-24)
Susannah


Thanks for the code. All you should need to define is

<list Threat>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Neutral>
/items = (9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Positive>
/items = (17, 18, 19, 20, 21, 22, 23, 24)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not =(values.currentTarget)
</list>

and then the target stimulus should not be selected for any of the distractors.

Hi Thanks, unfortunately that hasn't solved it, the target word is still appearing on the grid multiple times in the practice trials:
<list Threat_practice>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Neutral_practice>
/items = (9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Positive_practice>
/items = (17, 18, 19, 20, 21, 22, 23, 24)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>


It isn't for me. Can you please do the following:
- Ensure you have the latest Inquisit 5 version installed.
- If you do not, update to the latest release. Check if the issue persists.
- If the issue persists, please provide a data file and/or screenshots illustrating multiple occurences of the target during the respective trials.

nspswalk
nspswalk
Associate Member
Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)Associate Member (56 reputation)

Group: Forum Members
Posts: 4, Visits: 30
Dave - Wednesday, January 30, 2019
nspswalk - Wednesday, January 30, 2019
Dave - Tuesday, January 29, 2019
nspswalk - Tuesday, January 29, 2019

Great thank-you (file attached)
Note it is the Practice trials in the attached example that are relevant to this query - the Test trials haven't been edited.
So in the Threat-word practice trails  we want it to select a word at random from words 1-8 then build the rest of the matrice (23 words) by sampling just the remaining words 7 words on that list
The same for the neutral (words 9 - 6) and Positive words (17-24)
Susannah


Thanks for the code. All you should need to define is

<list Threat>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Neutral>
/items = (9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Positive>
/items = (17, 18, 19, 20, 21, 22, 23, 24)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not =(values.currentTarget)
</list>

and then the target stimulus should not be selected for any of the distractors.

Hi Thanks, unfortunately that hasn't solved it, the target word is still appearing on the grid multiple times in the practice trials:
<list Threat_practice>
/items = (1, 2, 3, 4, 5, 6, 7, 8)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Neutral_practice>
/items = (9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>

<list Positive_practice>
/items = (17, 18, 19, 20, 21, 22, 23, 24)
/ replace = false
/ selectionrate = always
/ resetinterval = 0
/ not = (values.currentTarget)
</list>


It isn't for me. Can you please do the following:
- Ensure you have the latest Inquisit 5 version installed.
- If you do not, update to the latest release. Check if the issue persists.
- If the issue persists, please provide a data file and/or screenshots illustrating multiple occurences of the target during the respective trials.

Yes - it works here in the office on a machine running Inquisit 5 - 
Not sure why it wasn't running on my own machine, will check it definitely is running Inquisit 5.
Thank you for your help.
Susannah
GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search