An oTree app for eliciting risk preferences through choices between two lotteries with flexible probability distributions, displayed as histograms.
- Histogram display: Lottery probability distributions shown as visual histograms
- YAML-configured lotteries: Define outcomes, probabilities, and display options via YAML config files
- Flexible probability distributions: Arbitrary discrete distributions over shared outcome spaces
- Grouped questions: Questions organized into groups with randomized selection
- Flexible bin labels: Support for main and alternative label sets with toggle buttons
- Config override: Project-level configs override local app configs
- Randomized URL: App URL is randomized to prevent task identification
Add to your oTree project and include in SESSION_CONFIGS:
SESSION_CONFIGS = [
dict(
name='hora',
app_sequence=['hora_task'],
num_demo_participants=1,
),
]Configure lottery pairs by adding YAML files to configs/task/.
Brian Albert Monroe