Inquisit Ultimatum Game Summary File


Author
Message
alyssa.norris
alyssa.norris
Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)
Group: Forum Members
Posts: 3, Visits: 5
Hi All!

I'm running into a few issues setting up my Ultimatum Game in Inquisit 4.  For reference, I have set it up so there are 2 blocks of 8 trials with 16 individual "proposers" (i.e., each proposer will be proposing one deal).

1) I want to save each "proposer" to the summary file so that I can later check for gender effects and otherwise control for any response bias for proposer demographic variables.  However, I've entered "picture.playerpic" and "item.partnerpictures" into the data file area, but neither column populates with data after the game.  Is there a different variable command I should be entering here?
2) This seems like it should be a silly, quick fix, but I'm not sure how to solve it!  Right now the game has a button that allows the person to exit, which then takes them to the summary file. I don't want them to be able to see the data, so is there any way I can keep this from popping up automatically and/or lock the exit (e.g., password protect the exit window) so that only the experimenter can "log out" when the participant informs us they are done?

Thank you so much in advance!!
Alyssa

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: 109K
> I've entered "picture.playerpic" and "item.partnerpictures" into the data file area, but neither column populates with data after the game.

Neither picture.playerpic nor item.partnerpictures are properties -- they will not and are not supposed to return anything. I'm not sure which property or properties you would like to log, so I would advise consulting the language reference section in the documentation for the <picture> and <item> elements' available properties.

> Right now the game has a button that allows the person to exit

I'm not sure I understand what you are referring to here. I cannot find any button in the script that would allow anyone to exit. Could you please clarify?

alyssa.norris
alyssa.norris
Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)
Group: Forum Members
Posts: 3, Visits: 5
Hi Dave:

Thanks for the reply!  I'm running this "Ultimatum Game" Script:   (See full game script attached if that is helpful)

Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software LLC
Date: 10-30-2012                 last updated: 11-02-2012

The Ultimatum Game presents a monetary split of money to participants, who can serve as "proposers" or "receivers" of these offers (in my case they serve as the receivers of these offers, and I have a set of 16 individuals who act as "proposers," each with their own picture loaded into the game script).  Their pictures and proposer order, however, are random, such that I want to be able to record the order they are proposing their offers.  I can record the value for the proposal presentation time, but not the actual proposer IDs or names, which is what I will need in my file.  It looks like I'll have to create a new value for this then? 

2: When participants finish the script currently, the instructions appear telling them they are done, but there is also a "button" (it is a gray rectangle in the lower right hand corner) on the page that instructs them to press [Enter] to exit the page.  I can't locate the script/code for this so am uncertain how to edit it.


Attachments
FullScript.docx (445 views, 24.00 KB)
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: 109K
Re. #1: As already indicated you need to log an applicable *property* to the data file. Specifically, you'll want to do

<data>
/file = "UltimatumGame_rawdata.iqdat"
/separatefiles = false
/columns = [..., picture.playerpic.currentitem, ...]
</data>

Re. #2: You are referring to the final instruction <page> element, specifically

<page thankyou>
Thank you!

^^^Your total is:<%values.participanttotal%>
</page>

as run via

<expt >
/preinstructions = (intro)
/blocks = [1 = GameType]
/postinstructions = (thankyou)
</expt>

You cannot remove the navigation button(s) from instruction pages. You would have to remove the /postinstructions attribute and end the script differently, e.g. by running an additional <block> with an additional <trial> which accepts a response unknown to participants.


<expt >
/preinstructions = (intro)
/blocks = [1 = GameType; 2=EndBlock]
</expt>

<block EndBlock>
/ trials = [1=EndTrial]
</block>

<trial EndTrial>
/ stimulusframes = [1=EndText]
/ validresponse = ("E")
</trial>

<text EndText>
/ items = ("The end. Please wait for the experimenter.")
</text>

P.S.: Thanks for attaching the file. In the future, please provide the actual script file (*.iqx), not code pasted into a different document format (e.g. *.docx). The latter can cause problems.

alyssa.norris
alyssa.norris
Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)Associate Member (268 reputation)
Group: Forum Members
Posts: 3, Visits: 5
Thank you so much for all of your help, Dave. This was immensely helpful. Ok I'll make sure to add the actual script file next time I run into an issue. 

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search