Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 6
»
Question about the "latency" column in the Cyberball (3-player) data...
Question about the "latency" column in the Cyberball (3-player) data record.
Post Reply
Like
3
Question about the "latency" column in the Cyberball (3-player) data...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Olivia Ying
Olivia Ying
posted Last Year
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 10,
Visits: 20
Dear Dave,
I hope you're doing well these days.
I was examining the data returned by Cyberball (3-player) and found something that confused me.
As you can see, player1 and 3 are coded as virtual players whose hesitation time before pitching is determined by the following code:
/ cyberdecisiontime: selects with replacement (replace) one of the 4 decision times for players1 and 3
<expressions>
/ cyberdecisiontime = replace(500, 1000, 1500, 200)
As well as this is an example of applying 'cyberdecisiontime' in trial:
Note: trial.1to2 => video shows player 1 throwing the ball to player 2 after expressions.cyberdecisiontime.
Player 3 (= values.player) then has to decide where to throw the ball next (= values.recipient)
<trial 1to2>
/ ontrialbegin = [
values.player = 2;
if (values.count_ignore2 > values.max_ignore2)
values.max_ignore2 = values.count_ignore2;
if (values.ignore2_streak1 == 0)
values.ignore2_streak1 = values.max_ignore2;
trial.1to2.insertstimulustime(video.1to2, expressions.cyberdecisiontime);
]
/ stimulustimes = [1= 1to2_static]
/ validresponse = (player1, player3, player1label, player3label)
/ ontrialend = [
trial.1to2.resetstimulusframes();
values.sumrt_player2 += trial.1to2.latency;
if (trial.1to2.response == "player1" || trial.1to2.response == "player1label") {
values.recipient = 1;
values.count_player2throws += 1;
values.count_21 += 1;
values.sumrt_21 += trial.1to2.latency;
values.count_121 += 1;
values.sumrt_121 += trial.1to2.latency;
} else if (trial.1to2.response == "player3" || trial.1to2.response == "player3label") {
values.recipient = 3;
values.count_player2throws += 1;
values.count_23 += 1;
values.sumrt_23 += trial.1to2.latency;
values.count_123 += 1;
values.sumrt_123 += trial.1to2.latency;
};
]
/ branch = [
if (values.recipient == 1) {
return trial.2to1;
} else if (values.recipient == 3) {
return trial.2to3;
};
]
</trial>
However, in the returned data (see screenshot), there are a large number of '0's, which I think may be because player1 and player3 are not recorded as hesitation times for virtual players. However, again, it's not all '0's, it looks like '500' and '1000' are possible numbers as they are one of the randomized times, but why again '800'? I've checked the code but still can't explain this and wondered if you had any good insights?
Thank you very much for the time you put into this!
Best,
Yingying
Reply
Like
3
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Question about the "latency" column in the Cyberball (3-player) data...
Olivia Ying
-
Last Year
The value returned by the cyberdecisiontime expression determines at...
Dave
-
Last Year
Hi Dave, Thank you very much for your prompt response! But my...
Olivia Ying
-
Last Year
> But my intention is to set some random pre-pitch hesitation times...
Dave
-
Last Year
Thank you so much! I'll try asap.
Olivia Ying
-
Last Year
Something like this, basically:
Dave
-
Last Year
Hi Dave, That's so nice of you to show such detailed code! But I'm...
Olivia Ying
-
Last Year
Just added a what?
Dave
-
Last Year
Hi Dave Sorry, I hit the "post reply" button by mistake. What I meant...
Olivia Ying
-
Last Year
(1) <values> cyberdesiciontime=replaece(500,1000,1500,2000) ......
Dave
-
Last Year
Post Reply
Like
3
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search