Example "Probability"

Last modified by Hendrik Zschocke on 12.01.2024

As an example, a typical task out of probability theory and statistics will be completed. It is to calculate the probability of certain colour combinations, when different coloured spheres are randomly drawn from an urn.

 

Editor - Variablen zum Beispiel Wahrscheinlichkeit_de.png

In the example, the numerical variables {BLUE}, {RED}, and {WHITE} are initialised with an integer value between 3 and 15, i. e. in the value range [3,15].

Based on these random values, both the sum of all spheres ({sum}) and the probability of pulling a red sphere ({solution}) is determined.

Editor - Aufgabentext zum Beispiel Wahrscheinlichkeit_de.png

The variables can be included in the task text by typing the variable names {BLUE}, {RED}, and {WHITE}. In the example, the variables are included in a task of the type calculation interaction.

The variables and solutions ({RED}/{sum} and {solution}) will be stored together for the respective gaps.

Testrun - Beispiel Wahrscheinlichkeit_de.png

The values within the given value ranges will be randomly selected for each participant and each test attempt. In the example, the values {BLUE} = 6, {RED} = red, and {WHITE} = 10 were randomly set.

The solutions will be automatically determined for each test run based on the defined values and the calculation rule.