Aha
You know, I want to see if participants exhibit difficulty in specific regions or not. Now that all regions of sentences are repeated in each row, can I still identify the region where participants take longer to read?
Thanks
Aha
You know, I want to see if participants exhibit difficulty in specific regions or not. Now that all regions of sentences are repeated in each row, can I still identify the region where participants take longer to read?
Thanks
inner_loop.thisN (column J) gives you the region number. You could add a column in the data file for critical region number (starting at region 0). You could also save the region with thisExp.addData('Region',region[inner_loop.thisN])
Hi. I hope you are fine.
Yes, the column J really gives me the region number. Thank you for mentioning this.
I want to do what you said, but I cannot follow you. Would you please elaborate more on this?
Everyone knew that (region 0) | Meredith (region 1)| performed/read (region 2)| every
play/week (region 3)| despite (region 4)| her busy schedule (region 5).|
region 3 will be the critical region in this experiment, but I may want to measure RT in all regions, especially region 4 because of the spillover effect.
Thank you
If you have a column called Critical in your spreadsheet then you could easily filter the data later where inner_loop.thisN == Critical and inner_loop.thisN == Critical + 1
For you this would probably best be done in SPSS.
Thanks a million
Ok, I created a new column called Critical in my spreadsheet like the following:
(one point is that some sentences may have 5 regions, while others may have 7 regions, so that is why I wrote the region number starting from 0 to 7).
Now, how can I tell the computer that it should save region 3 and 4 (because region 3 is the critical region and I may see a spillover effect in region 4)? You told me to do this:
But Idk how to enter this code. If it is possible, please elaborate more on this.
In which routine should I enter this code?
Thank you for your time and consideration
Dear @wakecarter
Hi. I hope you are fine.
I am terribly sorry for asking too many questions.
I really need your help. I would be really grateful if you could answer my last post.
Thank you
You haven’t put any numbers into the Critical column in the spreadsheet.
The code can be anywhere in the inner loop.
Try some things. See what happens. Start a new thread if you get stuck again.
Dear @wakecarter
Hi. I hope you are having a great day.
I created a new post asking about the code that you gave me.
I’d appreciate it if you could take a look at it.
Here is the link to the post:
Thank you.
Hi, sorry to restart this discussion. I tried this method and it worked. However, sometimes I receive error messages like:
regions = target_part.split(‘/’)
AttributeError: ‘NoneType’ object has no attribute ‘split’
However, no cell in my target_part column is blank. So I am not sure what’s the problem here.
Thank you!
When you re-attach your spreadsheet to your loop PsychoPy will tell you how many conditions it thinks you have. You probably have some blank rows.