{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Question {{round}}
{% endblock %} {% block content %}

The shuffled deck of {{player.specification.n_chips}} cards contains:
"A" cards: {{player.specification.a_chips}}
"B" cards: {{player.specification.b_chips}}

Bag A contains {{player.specification.red_chips_a}} red balls and {{player.specification.blue_chips_a}} blue balls.

Bag B contains {{player.specification.blue_chips_a}} red balls and {{player.specification.red_chips_a}} blue balls.

  1. The computer randomly drew one card from the deck. The bag with the corresponding letter was selected.

  2. {% if player.specification.n_sample > 1 %}

    Next, the computer randomly drew {{player.specification.n_sample}} balls from the selected bag, replacing each ball with a ball of the same color after it was drawn. There were {{player.specification.red_sample}} red balls and {{player.specification.blue_sample}} blue balls.

    {% else %}

    Next, the computer randomly drew {{player.specification.n_sample}} ball from the selected bag. {% if player.specification.red_sample > 0 %}1 red{% else %}1 blue{% endif %} ball was drawn.

    {% endif %}

Your choice:


Please pick a probability (out of 100) that expresses how confident you are that bag A or bag B have been selected in this problem:

Probability that bag A was selected
Use the slider:

Probability that bag B was selected
{% endblock %} {% block styles %} {% endblock %} {% block scripts %} {% endblock %}