Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
RE: Recording a specific variable
Recording a specific variable
Post Reply
Like
16
Recording a specific variable
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
JessicaEMFarias
JessicaEMFarias
posted 5 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 22,
Visits: 49
Hi!
I have designed an experiment in which participants should point out in which side of a square there are more dots. There are 20 trials and they are rewarded based on the choices they make. If they choose the left side, they are rewarded nothing and if they choose the right side, they are rewarded 0.10.
I have been able to record each of the participant`s choice in the output file, but I need to record the final balance (after the 20 trials) as well. Is that possible to do that?
Attachments
Script 7.rar
(
340 views,
230.00 KB
)
Reply
Like
16
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
JessicaEMFarias - 9/12/2019
Hi!
I have designed an experiment in which participants should point out in which side of a square there are more dots. There are 20 trials and they are rewarded based on the choices they make. If they choose the left side, they are rewarded nothing and if they choose the right side, they are rewarded 0.10.
I have been able to record each of the participant`s choice in the output file, but I need to record the final balance (after the 20 trials) as well. Is that possible to do that?
Log values.account_balance to the data and summary data files. You already do this with values.selecteditem, it works the same way. Just add values.account_balance to the /columns attributes in the <data> and <summarydata> elements.
Reply
Like
18
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
16
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search