Skip to main content
All tasks and the columns of every file
Codebook

Allais paradox: two lottery choices: the columns of the class CSV

Task version 1.0. In the file, the column task reads allais_choices.

Each description belongs to a task version. A new version of a task can change what a column means, so compare the task_version column of your file with the version named on the task's page.

Columns of every file, for this task

The overview explains the columns of every file. For this task:

  • With the default settings, each student is assigned at random to one level of each factor. The file has one column per factor:
    • assigned_order: P1P2, P2P1
    • assigned_pair1Side: AB, BA
    • assigned_pair2Side: CD, DC
  • The first reveal of the results closes the data collection, so the file has the column after_reveal.
  • For this task, material_language takes one of these values: de, en.

Summary columns

The task's own values, in this order, between material_language and the quality_ columns. They are computed on the student's device when the run ends.

32 of 32 summary columns described

  • ordertext

    The order of the two decisions: "P1P2" (the decision between A and B first, then C or D) or "P2P1" (C or D first). Assigned by the server; drawn on the device only when the run had no valid assignment. Empty only when the run's closing record is missing.

  • pair1Sidetext

    The order of the two offer cards in the decision between A and B: "AB" (A on the first card) or "BA" (B on the first card). The first card stands on the left on a wide screen and on top on a phone. Assigned like order; empty only when the closing record is missing.

  • pair2Sidetext

    The same for the decision between C and D: "CD" (C on the first card) or "DC" (D on the first card).

  • comprehensiontext

    Outcome of the comprehension question before the decisions (the chance of winning for an offer that pays in 20 of 100 cases; the correct answer is 20%): "passed" (answered correctly at the first attempt or at the one retry after the correction), "failed" (wrong at both attempts) or "skipped" (skipped at either attempt). After "failed" or "skipped" the run ends without decisions. Empty without a recorded question.

  • comprehensionAttemptsnumber · count

    Number of answers given to the comprehension question: 1, or 2 when the first answer was wrong and the question was asked once more. A skip counts as an answer. Empty without a recorded question.

  • comprehensionFirsttext

    The first answer to the comprehension question: "20", "50" or "80" (the percentage chosen; "20" is correct) or "skipped". Empty without a recorded question.

  • comprehensionSecondtext

    The answer at the retry, with the same values. Empty when there was no retry (the first answer was correct or skipped) or without a recorded question.

  • comprehensionMsnumber · milliseconds

    Time from the first appearance of the comprehension question to the last answer given, whole milliseconds. Empty without a recorded question.

  • pair1Choicetext

    The answer in the decision between A and B, by content, wherever the card stood: "A" (1 million euros for sure), "B" (1 million euros in 89 of 100 cases, 5 million in 10, nothing in 1), "equal" ("Both equally attractive") or "skipped" ("Skip this decision"). The first saved answer counts. Empty when the comprehension question was not passed (no decisions) or the decision is missing.

  • pair2Choicetext

    The same for the decision between C and D: "C" (1 million euros in 11 of 100 cases, else nothing), "D" (5 million euros in 10 of 100 cases, else nothing), "equal" or "skipped".

  • pair1Cardtext

    Where the offer chosen in the decision between A and B stood: "first" (the first card: left on a wide screen, on top on a phone) or "second". Empty when "Both equally attractive" or a skip was chosen, or without the decision.

  • pair2Cardtext

    The same for the decision between C and D.

  • pair1Msnumber · milliseconds

    Time on the page of the decision between A and B, from its appearance to "Save decision", whole milliseconds; also for the answers "equal" and "skipped". Empty without the decision (the comprehension question not passed).

  • pair2Msnumber · milliseconds

    The same for the decision between C and D.

  • completetrue/false

    true when both decisions were answered with an offer or with "Both equally attractive"; false when one was skipped or the decisions were not reached.

  • stricttrue/false

    true when both decisions were answered with an offer (A or B, and C or D), else false.

  • anyIndifferencetrue/false

    true when at least one decision was answered with "Both equally attractive", also when the other one was skipped; else false.

  • skippedDecisionsnumber · count

    Number of decisions answered with "Skip this decision": 0, 1 or 2; 0 also when the decisions were not reached.

  • celltext

    The combination of both answers when complete is true: the answer between A and B followed by the answer between C and D, without a separator, with "E" for "Both equally attractive" (for example "AD", "AE", "EC", "EE"). Empty when complete is false.

  • patterntext

    The pattern of two strict choices: "AC", "AD" (the classic Allais pattern), "BC" (the reverse switch) or "BD". Empty when strict is false.

  • patternACPctnumber · percent

    100 when pattern is "AC", 0 when it is another of the four patterns; empty when strict is false. The mean of the column over the rows with a value is the share of this pattern.

  • patternADPctnumber · percent

    The same for the pattern "AD".

  • patternBCPctnumber · percent

    The same for the pattern "BC".

  • patternBDPctnumber · percent

    The same for the pattern "BD".

  • languagetext

    The language of the material shown: "de" (German) or "en" (English); a session in any other material language gets the English material and "en". Empty only when the closing record is missing.

  • materialVersiontext

    The version of the material: "allais-de-1" or "allais-en-1". The amounts and chances are the same in both. Empty only when the closing record is missing.

  • repeattrue/false

    true when the device had already reached the first decision page, or the end after the comprehension question, in the same session run (a reload, the back button, a second attempt); such a run is exported as an extra row and stays out of the class results. Else false.

  • qualityExcludetrue/false

    The same as repeat: true for a repeated run, else false.

  • suspectCountnumber · count

    Always 0: this task does not check for too fast responses.

  • timeoutRatenumber · percent

    Always 0: this task has no time limit, so no answer can come too late.

  • timeoutWarningtrue/false

    Always false: this task has no time limit.

  • suspectWarningtrue/false

    Always false: this task does not check for too fast responses.

Settings columns

This task has no settings, so the file has no setting_ columns.