Discrete and Continuous Distributions
Loading the math board and drawing, please wait…
This example explores the relationship between probability mass function (pmf) or density and cumulative distribution function (cdf) to help students understand discrete and continuous distributions. Key mathematical concepts include types of distributions in probability statistics, pmf, and cdf. Using GeoGebra commands such as Point, Sequence, Integral, etc., students can dynamically explore the relationship between these functions. Suitable for high school probability and statistics education.
GeoGebra Commands & Parameters
Point(xAxis) → UniformPDFbottomleftLine(DragLinePoint1, DragLinePoint2) → DragSliderSequence(((nCr[n, i] * binomialp^(i)) * (1 - binomialp)^(n - i)), i, 0, n) → BinomialMasses, {0.03125, 0.15625, 0.3125, 0.3125, 0.15625, 0.03125}Point({0, y2position}) → Origin2Integral(exppdf, 0, x(DragPoint)) → ExpintegralPoint({ProbBarxPosition, Max[0, Min[(1 / 6 * floor(x(DragPoint))), 1]] + y2position}) → Die1ProbPointOrthogonalLine(Die1ProbPoint, yAxis) → Die1ProbLineSequence(Segment[(i, 0), (i, Element[BinomialMasses, i + 1])], i, 0, Min[floor(x(DragPoint)), n]) → BinomialPMF, {0.03125}Line(DragLinePoint1_1, DragLinePoint2_1) → DragSlider_1Point(DragSlider_1) → DragPoint_1Sequence(Segment[(i, 0), (i, Element[BinomialMasses, i + 1])], i, Max[0, floor(x(DragPoint)) + 1], n) → BinomialPMF_1, {0.15625, 0.3125, 0.3125, 0.15625, 0.03125}Sequence(Sum[BinomialMasses, i], i, 1, n + 1) → BinomialCDFvalues, {0.03125, 0.1875, 0.5, 0.8125, 0.96875, 1}Line((0, y2position), xAxis) → xAxis2Sequence(Point[{i, (1 / 6 * i) + y2position}], i, 1, 6) → Die1CDFcut, {(1, -1.2333333333333332), (2, -1.0666666666666667), (3, -0.8999999999999999), (4, -0.7333333333333333), (5, -0.5666666666666667), (6, -0.3999999999999999)}Sequence(Point[{i, (1 / 6 * (i - 1)) + y2position}], i, 1, 6) → Die1CDFcut_1, {(1, -1.4), (2, -1.2333333333333332), (3, -1.0666666666666667), (4, -0.8999999999999999), (5, -0.7333333333333333), (6, -0.5666666666666667)}Line((0, expcdf(x(DragPoint))), xAxis) → ExpProbLineSegment((n, 1 + y2position), (20, 1 + y2position)) → BinomialCDF1lineSequence(Segment[(i - 1, Element[BinomialCDFvalues, i] + y2position), (i, Element[BinomialCDFvalues, i] + y2position)], i, 1, n) → BinomialCDFlines, {1, 1, 1, 1, 1}Point({n, 1 + y2position}) → BinomialCDFcut1Sequence(Point[{i - 1, Element[BinomialCDFvalues, i] + y2position}], i, 1, n) → BinomialCDFcut, {(0, -1.36875), (1, -1.2125), (2, -0.8999999999999999), (3, -0.5874999999999999), (4, -0.4312499999999999)}Sequence(Point[{i - 1, Element[BinomialCDFvalues, i - 1] + y2position}], i, 2, n + 1) → BinomialCDFcut_1, {(1, -1.36875), (2, -1.2125), (3, -0.8999999999999999), (4, -0.5874999999999999), (5, -0.4312499999999999)}Point({0, y2position}) → BinomialCDFcut0Textfield(n) → inputBox1Segment((0, y2position), (-20, y2position)) → BinomialCDF0lineSegment((0, y2position), (0, Element[BinomialCDFvalues, 1] + y2position)) → BinomialCDFjump0OrthogonalLine((x(DragPoint), Element[BinomialCDFvalues, ceil(x(DragPoint))] + y2position), yAxis) → BinomialProbLineLine((0, 1 + y2position), xAxis) → BinomialProbLine1Line((0, y2position), xAxis) → BinomialProbLine0Sequence(Segment[(i, 0), (i, 1 / 6)], i, Max[ceil(x(DragPoint)), 1], 6) → Die1PMF, {0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666, 0.16666666666666666}Sequence(Segment[(i, 0), (i, 1 / 6)], i, 1, Min[floor(x(DragPoint)), 6]) → Die1PMF_1, {}Sequence((lambda^(k) * exp((-lambda)) / k!), k, 0, 20) → PoissonMasses, {0.1353352832366127, 0.2706705664732254, 0.2706705664732254, 0.1804470443154836, 0.0902235221577418, 0.03608940886309672, 0.012029802954365574, 0.0034370865583901638, 0.0008592716395975409, 0.00019094925324389798, 0.000038189850648779595, 0.000006943609208869018, 0.0000011572682014781697, 1.7804126176587226E-7, 2.5434465966553178E-8, 3.391262128873757E-9, 4.2390776610921964E-10, 4.987150189520231E-11, 5.541277988355812E-12, 5.832924198269276E-13, 5.832924198269276E-14}Sequence(Segment[(k, 0), (k, Element[PoissonMasses, k + 1])], k, 0, floor(x(DragPoint))) → PoissonPMF_1, {0.1353352832366127}Polygon({(15 / 20 * Corner[3]) + (5 / 20 * Corner[2]), Corner[3], (17 / 24 * Corner[3]) + (7 / 24 * Corner[4]), (x((17 / 24 * Corner[3]) + (7 / 24 * Corner[4])), y((15 / 20 * Corner[3]) + (5 / 20 * Corner[2])))}) → fillerSequence(Segment[(k, 0), (k, Element[PoissonMasses, k + 1])], k, ceil(x(DragPoint)), 20) → PoissonPMF, {0.2706705664732254, 0.2706705664732254, 0.1804470443154836, 0.0902235221577418, 0.03608940886309672, 0.012029802954365574, 0.0034370865583901638, 0.0008592716395975409, 0.00019094925324389798, 0.000038189850648779595, 0.000006943609208869018, 0.0000011572682014781697, 1.7804126176587226E-7, 2.5434465966553178E-8, 0, 0, 0, 0, 0, 0}Sequence(Sum[PoissonMasses, i], i, 1, 21) → PoissonCDFvalues, {0.1353352832366127, 0.4060058497098381, 0.6766764161830635, 0.8571234604985472, 0.9473469826562889, 0.9834363915193857, 0.9954661944737513, 0.9989032810321414, 0.999762552671739, 0.9999535019249829, 0.9999916917756316, 0.9999986353848405, 0.999999792653042, 0.9999999706943037, 0.9999999961287697, 0.9999999995200318, 0.9999999999439396, 0.9999999999938112, 0.9999999999993524, 0.9999999999999357, 0.999999999999994}Sequence(Segment[(i - 1, Element[PoissonCDFvalues, i] + y2position), (i, Element[PoissonCDFvalues, i] + y2position)], i, 1, 20) → PoissonCDFlines, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}Sequence(Point[{i - 1, Element[PoissonCDFvalues, i] + y2position}], i, 1, 20) → PoissonCDFcut, {(0, -1.264664716763387), (1, -0.9939941502901618), (2, -0.7233235838169364), (3, -0.5428765395014528), (4, -0.452653017343711), (5, -0.41656360848061424), (6, -0.4045338055262486), (7, -0.4010967189678585), (8, -0.40023744732826094), (9, -0.400046498075017), (10, -0.4000083082243683), (11, -0.40000136461515945), (12, -0.40000020734695796), (13, -0.4000000293056962), (14, -0.40000000387123025), (15, -0.4000000004799681), (16, -0.4000000000560603), (17, -0.40000000000618874), (18, -0.4000000000006475), (19, -0.4000000000000642)}Sequence(Point[{i - 1, Element[PoissonCDFvalues, i - 1] + y2position}], i, 2, 20) → PoissonCDFcut_1, {(1, -1.264664716763387), (2, -0.9939941502901618), (3, -0.7233235838169364), (4, -0.5428765395014528), (5, -0.452653017343711), (6, -0.41656360848061424), (7, -0.4045338055262486), (8, -0.4010967189678585), (9, -0.40023744732826094), (10, -0.400046498075017), (11, -0.4000083082243683), (12, -0.40000136461515945), (13, -0.40000020734695796), (14, -0.4000000293056962), (15, -0.40000000387123025), (16, -0.4000000004799681), (17, -0.4000000000560603), (18, -0.40000000000618874), (19, -0.4000000000006475)}Point({0, 0 + y2position}) → PoissonCDFcut0OrthogonalLine((x(DragPoint), Element[PoissonCDFvalues, ceil(x(DragPoint))] + y2position), yAxis) → PoissonProbLineLine((0, y2position), xAxis) → PoissonProbLine0Sequence((geometricp * (1 - geometricp)^(i)), i, 0, 20) → GeometricMasses, {0.25, 0.1875, 0.140625, 0.10546875, 0.0791015625, 0.059326171875, 0.04449462890625, 0.0333709716796875, 0.025028228759765625, 0.01877117156982422, 0.014078378677368164, 0.010558784008026123, 0.007919088006019592, 0.005939316004514694, 0.004454487003386021, 0.0033408652525395155, 0.0025056489394046366, 0.0018792367045534775, 0.001409427528415108, 0.001057070646311331, 0.0007928029847334983}Sequence(Sum[GeometricMasses, i], i, 1, 21) → GeometricCDFvalues, {0.25, 0.4375, 0.578125, 0.68359375, 0.7626953125, 0.822021484375, 0.86651611328125, 0.8998870849609375, 0.9249153137207031, 0.9436864852905273, 0.9577648639678955, 0.9683236479759216, 0.9762427359819412, 0.9821820519864559, 0.9866365389898419, 0.9899774042423815, 0.9924830531817861, 0.9943622898863396, 0.9957717174147547, 0.996828788061066, 0.9976215910457995}Sequence(Segment[(k, 0), (k, Element[GeometricMasses, k + 1])], k, ceil(x(DragPoint)), 20) → GeometricPMF_1, {0.1875, 0.140625, 0.10546875, 0.0791015625, 0.059326171875, 0.04449462890625, 0.0333709716796875, 0.025028228759765625, 0.01877117156982422, 0.014078378677368164, 0.010558784008026123, 0.007919088006019592, 0.005939316004514694, 0.004454487003386021, 0.0033408652525395155, 0.0025056489394046366, 0.0018792367045534775, 0.001409427528415108, 0.001057070646311331, 0.0007928029847334983}Sequence(Segment[(k, 0), (k, Element[GeometricMasses, k + 1])], k, 0, floor(x(DragPoint))) → GeometricPMF, {0.25}Sequence(Segment[(i - 1, Element[GeometricCDFvalues, i] + y2position), (i, Element[GeometricCDFvalues, i] + y2position)], i, 1, 20) → GeometricCDFlines, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}Sequence(Point[{i - 1, Element[GeometricCDFvalues, i] + y2position}], i, 1, 20) → GeometricCDFcut, {(0, -1.15), (1, -0.9624999999999999), (2, -0.8218749999999999), (3, -0.7164062499999999), (4, -0.6373046874999999), (5, -0.5779785156249999), (6, -0.5334838867187499), (7, -0.5001129150390624), (8, -0.4750846862792968), (9, -0.45631351470947257), (10, -0.4422351360321044), (11, -0.4316763520240783), (12, -0.4237572640180587), (13, -0.417817948013544), (14, -0.413363461010158), (15, -0.41002259575761846), (16, -0.4075169468182138), (17, -0.40563771011366034), (18, -0.40422828258524524), (19, -0.4031712119389339)}Sequence(Point[{i - 1, Element[GeometricCDFvalues, i - 1] + y2position}], i, 2, 20) → GeometricCDFcut_1, {(1, -1.15), (2, -0.9624999999999999), (3, -0.8218749999999999), (4, -0.7164062499999999), (5, -0.6373046874999999), (6, -0.5779785156249999), (7, -0.5334838867187499), (8, -0.5001129150390624), (9, -0.4750846862792968), (10, -0.45631351470947257), (11, -0.4422351360321044), (12, -0.4316763520240783), (13, -0.4237572640180587), (14, -0.417817948013544), (15, -0.413363461010158), (16, -0.41002259575761846), (17, -0.4075169468182138), (18, -0.40563771011366034), (19, -0.40422828258524524)}Point({0, y2position}) → GeometricCDFcut0OrthogonalLine((x(DragPoint), Element[GeometricCDFvalues, ceil(x(DragPoint))] + y2position), yAxis) → GeometricProbLineLine((0, UniformCDF(x(DragPoint))), xAxis) → UniformProbLinePoint({a, 1 / (b - a)}) → UniformPDFtopleftPoint({b, 1 / (b - a)}) → UniformPDFtoprightIf(x(DragPoint) > a, Integral[UniformPDF, a, Min[x(DragPoint), b]]) → UniformIntegralIf(x(DragPoint) > 0, Integral[GammaPDF, 0, x(DragPoint)]) → GammaIntegralLine((0, GammaCDF(x(DragPoint))), xAxis) → GammaProbLineTextfield(r) → inputBox4Sequence((6 - abs(i - 7)) / 36, i, 2, 12) → Die2Masses, {0.027777777777777776, 0.05555555555555555, 0.08333333333333333, 0.1111111111111111, 0.1388888888888889, 0.16666666666666666, 0.1388888888888889, 0.1111111111111111, 0.08333333333333333, 0.05555555555555555, 0.027777777777777776}Sequence(Segment[(i, 0), (i, Element[Die2Masses, i - 1])], i, 2, Min[floor(x(DragPoint)), 12]) → Die2PMF, {}Sequence(Segment[(i, 0), (i, Element[Die2Masses, i - 1])], i, Max[2, floor(x(DragPoint)) + 1], 12) → Die2PMF_1, {0.027777777777777776, 0.05555555555555555, 0.08333333333333333, 0.1111111111111111, 0.1388888888888889, 0.16666666666666666, 0.1388888888888889, 0.1111111111111111, 0.08333333333333333, 0.05555555555555555, 0.027777777777777776}Sequence(Sum[Die2Masses, i], i, 1, 11) → Die2CDFvalues, {0.027777777777777776, 0.08333333333333333, 0.16666666666666666, 0.2777777777777778, 0.4166666666666667, 0.5833333333333334, 0.7222222222222223, 0.8333333333333335, 0.9166666666666669, 0.9722222222222224, 1.0000000000000002}Sequence(Segment[(i, Element[Die2CDFvalues, i - 1] + y2position), (i + 1, Element[Die2CDFvalues, i - 1] + y2position)], i, 2, 11) → Die2CDFlines, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}Segment((2, y2position), (2, Element[Die2CDFvalues, 1] + y2position)) → Die2CDFjumps0Sequence(Point[{i, Element[Die2CDFvalues, i - 1] + y2position}], i, 2, 12) → Die2CDFcut, {(2, -1.3722222222222222), (3, -1.3166666666666667), (4, -1.2333333333333332), (5, -1.1222222222222222), (6, -0.9833333333333332), (7, -0.8166666666666665), (8, -0.6777777777777776), (9, -0.5666666666666664), (10, -0.48333333333333306), (11, -0.4277777777777775), (12, -0.3999999999999997)}Sequence(Point[{i, Element[Die2CDFvalues, i - 2] + y2position}], i, 3, 12) → Die2CDFcut_1, {(3, -1.3722222222222222), (4, -1.3166666666666667), (5, -1.2333333333333332), (6, -1.1222222222222222), (7, -0.9833333333333332), (8, -0.8166666666666665), (9, -0.6777777777777776), (10, -0.5666666666666664), (11, -0.48333333333333306), (12, -0.4277777777777775)}Point({2, y2position}) → Die2CDFcut0Sequence(Sum[MinDiceMasses, i], i, 1, 6) → MinDiceCDFvalues, {0.3055555555555556, 0.5555555555555556, 0.75, 0.8888888888888888, 0.9722222222222222, 1}Sequence(Segment[(i, 0), (i, Element[MinDiceMasses, i])], i, Max[ceil(x(DragPoint)), 1], 6) → MinDicePMF, {0.3055555555555556, 0.25, 0.19444444444444445, 0.1388888888888889, 0.08333333333333333, 0.027777777777777776}Sequence(Segment[(i, 0), (i, Element[MinDiceMasses, i])], i, 1, Min[floor(x(DragPoint)), 6]) → MinDicePMF_1, {}Sequence(Segment[(i, Element[MinDiceCDFvalues, i] + y2position), (i + 1, Element[MinDiceCDFvalues, i] + y2position)], i, 1, 5) → MinDiceCDFlines, {1, 1, 1, 1, 1}Segment((1, y2position), (1, Element[MinDiceCDFvalues, 1] + y2position)) → MinDiceCDFjump0Sequence(Point[{i, Element[MinDiceCDFvalues, i] + y2position}], i, 1, 6) → MinDiceCDFcut, {(1, -1.0944444444444443), (2, -0.8444444444444443), (3, -0.6499999999999999), (4, -0.5111111111111111), (5, -0.4277777777777777), (6, -0.3999999999999999)}Sequence(Point[{i, Element[MinDiceCDFvalues, i - 1] + y2position}], i, 2, 6) → MinDiceCDFcut_1, {(2, -1.0944444444444443), (3, -0.8444444444444443), (4, -0.6499999999999999), (5, -0.5111111111111111), (6, -0.4277777777777777)}Point({1, y2position}) → MinDiceCDFcut0Line((x(DragPoint), Element[MinDiceCDFvalues, floor(x(DragPoint))] + y2position), xAxis) → MinDiceProbLineLine((0, 1 + y2position), xAxis) → MinDiceProbLine1Line((0, y2position), xAxis) → MinDiceProbLine0Line((x(DragPoint), Element[Die2CDFvalues, floor(x(DragPoint)) - 1] + y2position), xAxis) → Die2ProbLineLine((0, 1 + y2position), xAxis) → Die2ProbLine1Sequence(Segment[(i, (1 / 6 * (i - 1)) + y2position), (i, (1 / 6 * i) + y2position)], i, 1, Min[floor(x(DragPoint)), 6]) → Die1CDFjumps, {}Sequence(Segment[(i, (1 / 6 * (i - 1)) + y2position), (i, (1 / 6 * i) + y2position)], i, Max[1, ceil(x(DragPoint))], 6) → Die1CDFjumps_1, {0.16666666666666674, 0.16666666666666652, 0.16666666666666674, 0.16666666666666663, 0.16666666666666663, 0.16666666666666674}Sequence(Segment[(i, Element[Die2CDFvalues, i - 2] + y2position), (i, Element[Die2CDFvalues, i - 1] + y2position)], i, 3, Min[12, floor(x(DragPoint))]) → Die2jumps, {}Sequence(Segment[(i, Element[Die2CDFvalues, i - 2] + y2position), (i, Element[Die2CDFvalues, i - 1] + y2position)], i, Max[3, ceil(x(DragPoint))], 12) → Die2jumps_1, {0.05555555555555558, 0.08333333333333348, 0.11111111111111094, 0.13888888888888906, 0.16666666666666663, 0.13888888888888895, 0.11111111111111116, 0.08333333333333337, 0.05555555555555558, 0.02777777777777779}Segment((2, y2position), (2, Element[Die2CDFvalues, 1] + y2position)) → Die2CDFjumps0_1Sequence(Segment[(i, Element[MinDiceCDFvalues, i - 1] + y2position), (i, Element[MinDiceCDFvalues, i] + y2position)], i, Max[2, ceil(x(DragPoint))], 6) → MinDicejumps, {0.25, 0.19444444444444442, 0.13888888888888884, 0.08333333333333337, 0.02777777777777779}Sequence(Segment[(i, Element[MinDiceCDFvalues, i - 1] + y2position), (i, Element[MinDiceCDFvalues, i] + y2position)], i, 2, Min[6, floor(x(DragPoint))]) → MinDicejumps_1, {}Segment((1, y2position), (1, Element[MinDiceCDFvalues, 1] + y2position)) → MinDiceCDFjump0_1Sequence(Segment[(i, Element[BinomialCDFvalues, i] + y2position), (i, Element[BinomialCDFvalues, i + 1] + y2position)], i, 1, Min[floor(x(DragPoint)), n]) → BinomialCDFjumps, {}Sequence(Segment[(i, Element[BinomialCDFvalues, i] + y2position), (i, Element[BinomialCDFvalues, i + 1] + y2position)], i, Max[1, ceil(x(DragPoint))], n) → BinomialCDFjumps_1, {0.15625, 0.3125, 0.3125, 0.15625, 0.03125}Segment((0, y2position), (0, Element[BinomialCDFvalues, 1] + y2position)) → BinomialCDFjump0_1Sequence(Segment[(i, Element[GeometricCDFvalues, i] + y2position), (i, Element[GeometricCDFvalues, i + 1] + y2position)], i, 1, Min[19, floor(x(DragPoint))]) → GeometricCDFjumps, {}Sequence(Segment[(i, Element[GeometricCDFvalues, i] + y2position), (i, Element[GeometricCDFvalues, i + 1] + y2position)], i, Max[1, ceil(x(DragPoint))], 19) → GeometricCDFjumps_1, {0.1875, 0.140625, 0.10546875, 0.0791015625, 0.059326171875, 0.04449462890625, 0.0333709716796875, 0.025028228759765625, 0.01877117156982422, 0.014078378677368164, 0.010558784008026123, 0.007919088006019592, 0.005939316004514694, 0.004454487003386021, 0.0033408652525395155, 0.0025056489394046366, 0.0018792367045534775, 0.001409427528415108, 0.001057070646311331}Segment((0, y2position), (0, Element[GeometricCDFvalues, 1] + y2position)) → GeometricCDFjumps0Segment((0, y2position), (0, Element[GeometricCDFvalues, 1] + y2position)) → GeometricCDFjumps0_1Sequence(Segment[(i, Element[PoissonCDFvalues, i] + y2position), (i, Element[PoissonCDFvalues, i + 1] + y2position)], i, Max[1, ceil(x(DragPoint))], 19) → PoissonCDFjumps, {0.2706705664732253, 0.2706705664732254, 0.18044704431548364, 0.09022352215774176, 0.03608940886309675, 0.01202980295436562, 0.0034370865583901455, 0.0008592716395975364, 0.00019094925324392165, 0.00003818985064873992, 0.000006943609208831525, 0.0000011572682014904245, 1.780412617335969E-7, 2.5434465977802745E-8, 0, 0, 0, 0, 0}Sequence(Segment[(i, Element[PoissonCDFvalues, i] + y2position), (i, Element[PoissonCDFvalues, i + 1] + y2position)], i, 1, Min[19, floor(x(DragPoint))]) → PoissonCDFjumps_1, {}Segment((0, y2position), (0, y2position + Element[PoissonCDFvalues, 1])) → PoissonCDFjumps0Segment((0, y2position), (0, y2position + Element[PoissonCDFvalues, 1])) → PoissonCDFjumps0_1Polygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, Max[0, Min[(1 / 6 * floor(x(DragPoint))), 1]] + y2position), (ProbBarxPosition, Max[0, Min[(1 / 6 * floor(x(DragPoint))), 1]] + y2position)}) → Die1ProbBarMax(0, Min[(1 / 6 * floor(x(DragPoint))), 1]) → Die1Prob_1Element(Die2CDFvalues, ceil(x(DragPoint)) - 2) → Die2ProbPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, Die2Prob + y2position), (ProbBarxPosition, Die2Prob + y2position)}) → Die2ProbBarPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, 1 + y2position), (ProbBarxPosition, 1 + y2position)}) → Die2ProbBar1Point({-0.9, 0.5 + y2position}) → ProbPositionText("0", ProbPosition) → Die2ProbSeg0Element(MinDiceCDFvalues, ceil(x(DragPoint)) - 1) → MinDiceProbPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, MinDiceProb + y2position), (ProbBarxPosition, MinDiceProb + y2position)}) → MinDiceProbBarPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, 1 + y2position), (ProbBarxPosition, 1 + y2position)}) → MinDiceProbBar1Element(BinomialCDFvalues, ceil(x(DragPoint))) → BinomialProbPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, BinomialProb + y2position), (ProbBarxPosition, BinomialProb + y2position)}) → BinomialProbBarPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, 1 + y2position), (ProbBarxPosition, 1 + y2position)}) → BinomialProbBar1Element(GeometricCDFvalues, ceil(x(DragPoint))) → GeometricProbPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, GeometricProb + y2position), (ProbBarxPosition, GeometricProb + y2position)}) → GeometricProbBarText(0, ProbPosition) → Geometric0Element(PoissonCDFvalues, ceil(x(DragPoint))) → PoissonProbPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, PoissonProb + y2position), (ProbBarxPosition, PoissonProb + y2position)}) → PoissonProbBarText(0, ProbPosition) → PoissonProbSeg0Polygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, Expintegral + y2position), (ProbBarxPosition, Expintegral + y2position)}) → ExpProbBarPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, UniformProb + y2position), (ProbBarxPosition, UniformProb + y2position)}) → UniformProbBarPolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, GammaProb + y2position), (ProbBarxPosition, GammaProb + y2position)}) → GammaProbBarTextfield(gammaAlpha) → inputBox5Textfield(a) → inputBox2Textfield(binomialp) → inputBox6Textfield(b) → inputBox3Point(xAxis) → UniformPDFbottomrightLine(A, B) → DragLine2Textfield(geometricp) → inputBox7Textfield(lambda) → PoissonInputTextfield(expAlpha) → inputBox8Vector(Origin2, Origin2 + (0, 1.2)) → yAxis2Segment((0, y2position + 1), ((-4 * AxisIndentHeight), y2position + 1)) → yAxis2pointsSegment(UniformPDFbottomleft, UniformPDFtopleft) → UniformPDFleftjumpSegment(UniformPDFbottomright, UniformPDFtopright) → UniformPDFrightjumpSequence(Text[i, (i - 0.07, y2position - (2 * AxisIndentHeight) - 0.035)], i, -40, 40) → xAxis2labels, {"-40", "-39", "-38", "-37", "-36", "-35", "-34", "-33", "-32", "-31", "-30", "-29", "-28", "-27", "-26", "-25", "-24", "-23", "-22", "-21", "-20", "-19", "-18", "-17", "-16", "-15", "-14", "-13", "-12", "-11", "-10", "-9", "-8", "-7", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40"}Sequence(Segment[(i, y2position), (i, y2position - AxisIndentHeight)], i, -40, 40) → xAxis2points, {0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018, 0.020000000000000018}Normal(nmean, nstdev, x, false) → normpdfIntegral(normpdf, Min[nmean - (10 * nstdev), x(Corner[1])], x(DragPoint)) → NormIntegralLine((0, normcdf(x(DragPoint))), xAxis) → NormProbLinePolygon({(ProbBarxPosition, y2position), (ProbBarxPosition + ProbBarWidth, y2position), (ProbBarxPosition + ProbBarWidth, NormIntegral + y2position), (ProbBarxPosition, NormIntegral + y2position)}) → NormProbBarTextfield(nmean) → inputBox9Textfield(nstdev) → inputBox10
AI Drawing Prompt Reference
Draw the relationship between discrete and continuous distributions. First, plot the probability mass function (pmf) and cumulative distribution function (cdf) for binomial, Poisson, and geometric distributions. Then, draw the pmf and cdf for binomial distribution, followed by the pmf and cdf for Poisson distribution, and finally the pmf and cdf for geometric distribution.
The prompt above was compiled from the original drawing commands and is for reference only.