Probability Mass Function of a Binomial Distribution

Probability Mass Function of a Binomial Distribution
Loading the math board and drawing, please wait…
2019-11-04 02:40
This GeoGebra example visualizes the probability mass function (PMF) of a binomial distribution, showing the probability of each possible number of successes in a fixed number of trials n with success probability p. The core mathematical concepts include binomial distribution, probability mass function, combinations, and the shape of discrete probability distributions. The construction uses the Sequence command to generate data, with parameters n, p, and lists l1, l2, l3, l4, along with coordinate range variables xMin, yMin, yMax, xMax, and a text object text1 to display probabilities. It is suitable for high school or introductory college statistics courses, helping students understand how the distribution changes with n and p, such as symmetry, peak location, and spread. The interactive sliders allow exploration of parameter effects.

GeoGebra Commands & Parameters

  1. Sequence(((nCr[n, i] * p^(i)) * (1 - p)^(n - i)), i, 0, n) → l1
  2. Sequence((i, 0), i, 0, n) → l2
  3. Sequence((i - 1, Element[l1, i]), i, 1, Length[l1]) → l3
  4. Sequence(Segment[Element[l2, i], Element[l3, i]], i, 1, Length[l2]) → l4