distBuilder

Probability elicitation made easy

Are you studying people’s perceptions of probabilities or other numerical quantities? distBuilder allows you to add distribution builders to your experiments with minimal programming knowledge.

In ‘Lay understanding of probability distributions’ Daniel Goldstein and David Rothschild (2014) have highlighted the benefits of using graphical interfaces called distribution builders to study subjective probabilities, perceptions of frequency, and confidence judgements.

However, such distribution builders are not available on common survey platforms (e.g., Qualtrics). distBuilder was created to bridge this gap, and to allow researchers to add fully functional distribution builders to their experiment with minimal effort.

In just three lines of code, you can add a distribution builder to any experiment:

var distbuilder = new DistributionBuilder();
distbuilder.render('targetdiv');
distbuilder.labelize({
    labels: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100],
    prefix: "$"
});

Here is one distBuilder in action:

See the Pen XWXxeVB by QuentinAndre (@QuentinAndre) on CodePen.


To learn more about distBuilder, visit the documentation page of the library!