Binomial Distribution: Key Concept in Probability Statistics

Binomial Distribution: Key Concept in Probability Statistics
Loading the math board and drawing, please wait…
2020-11-23 06:20
The binomial distribution models the number of successes in n independent Bernoulli trials with success probability p. Key concepts include p, n, and k. Construction involves GeoGebra commands like Min, PolyLine, and Segment to create probability bar charts and distribution curves. Suitable for high school students or college students learning probability and data analysis.

GeoGebra Commands & Parameters

  1. Min((borderH * paddingPercent / 100), (borderW * paddingPercent / 100)) → padding
  2. PolyLine(O, O + (frameW, 0), O + (frameW, frameH), O + (0, frameH), O) → frame
  3. Segment(O + (0, padding), O + (frameW, padding)) → lineX
  4. Sequence(O + (((k + 1) * dx), padding), k, 0, n) → pointsX
  5. Sequence(Text[k - 1, Element[pointsX, k] + XLabelOffset], k, 1, n + 1) → labelsX
  6. Sequence(((nCr[n, k] * p^(k)) * q^(n - k)), k, 0, n) → prob
  7. Max(prob) → probMax
  8. Sequence((probH * Element[prob, k + 1] / probMax), k, 0, n) → probY
  9. Sequence(Segment[Element[pointsX, k + 1], Element[pointsX, k + 1] + (0, Element[probY, k + 1])], k, 0, n) → probBars
  10. Textfield(n) → inputN
  11. Textfield(p) → inputP
  12. Sequence(Polygon[Element[pointsX, k + 1] - (barWidthRatio * (dx, 0)), Element[pointsX, k + 1] + (barWidthRatio * (dx, 0)), Element[pointsX, k + 1] + ((barWidthRatio * dx), Element[probY, k + 1]), Element[pointsX, k + 1] + (((-barWidthRatio) * dx), Element[probY, k + 1])], k, 0, n) → bars
  13. Segment(P_{-σ} + (0, padding / 2), P_{-σ} + (0, padding / 2 + probH)) → seg_{-σ}
  14. Segment(P_{σ} + (0, padding / 2), P_{σ} + (0, padding / 2 + probH)) → seg_{σ}
  15. Vector(PinText_{σ}, PinText_{σ} + (dx * (σ / 2, 0))) → u
  16. Vector(PinText_{σ}, PinText_{σ} + (dx * (((-σ)) / 2, 0))) → v
  17. Segment(P_μ + (0, padding / 2), P_μ + (0, padding / 2 + probH)) → seg_{μ}

AI Drawing Prompt Reference

Draw a binomial distribution graph, including a probability bar chart and a distribution curve. The graph should contain the success probability p, the number of trials n, and the number of successes k. The height of the probability bars should represent the probability of each success count k, and the width of the bars should be uniformly distributed. The distribution curve should be the probability density function of the binomial distribution. Please include input fields for the success probability p, the number of trials n, and the number of successes k in the graph.
The prompt above was compiled from the original drawing commands and is for reference only.