Discrete Random Variables and Their Distributions

Learn to describe uncertain counts with random variables. Find and use probability mass functions and cumulative distribution functions, and work with the main discrete distributions: Bernoulli, binomial, hypergeometric, geometric, negative binomial and Poisson. Find the distribution of a function of random variables, decide whether random variables are independent, see how the named distributions are connected, and choose the right model for a described situation.

IntermediateLesson 2 of 9 in Probability Theory Course

What you will learn

  1. Treat a random variable as a numerical summary of a random experiment, and describe its distribution with a probability mass function and a cumulative distribution function.
    • Define a random variable and its distribution
      Explain what a random variable is, how statements about it form events, and what it means for two random variables to have the same distribution.
    • Build and use a probability mass function
      Find the PMF of a discrete random variable from a description of the experiment, check that a PMF is valid, and use it to compute probabilities of events.
    • Use the cumulative distribution function
      Define the CDF, draw it as a step function for a discrete random variable, and move between the CDF and the PMF to find probabilities of intervals.
  2. Recognize experiments that count successes in a fixed number of trials, with or without replacement, and compute their probabilities with the matching distribution.
    • Use Bernoulli random variables and indicators
      Model a single yes-or-no trial with the Bernoulli distribution, and use indicator random variables to turn events into numbers that can be added.
    • Apply the binomial distribution
      Recognize binomial situations, derive and use the binomial PMF, and compute probabilities of the form exactly, at least and at most.
    • Apply the hypergeometric distribution
      Count successes when sampling without replacement from a finite population, and decide when the binomial distribution is a good approximation.
  3. Describe how long it takes to reach the first success, or a fixed number of successes, in independent trials, and keep the counting conventions straight.
    • Apply the geometric distribution
      Model the wait for the first success in independent trials, keep track of the two counting conventions, and use the tail formula and the memoryless property.
    • Apply the negative binomial distribution
      Model the wait for a fixed number of successes, derive the negative binomial PMF, and relate it to the geometric and binomial distributions.
  4. Use the Poisson distribution for counts of events in an interval of time or space, and use it to approximate counts of many rare events.
    • Apply the Poisson distribution
      Use the Poisson PMF for counts of events in a fixed interval, interpret its parameter as an average count, and adjust the parameter to the length of the interval.
    • Approximate counts with the Poisson distribution
      Approximate binomial counts and other counts of many rare, independent or weakly dependent events with a Poisson distribution, and judge how accurate the approximation is.
  5. Find the distribution of a function of one or more random variables, and decide and use whether random variables are independent.
    • Find the distribution of a function of a random variable
      Find the PMF of a new random variable defined as a function of a discrete random variable, including functions that merge several values into one.
    • Decide whether random variables are independent
      Define independence of random variables, test it with the joint PMF, and distinguish it from same distribution, pairwise independence and conditional independence.
    • Find distributions of sums, maximums and minimums
      Combine two or more discrete random variables, especially independent ones, by summing over pairs of values or by working with CDFs and tail probabilities.
  6. Use the relationships between the named discrete distributions, and choose and check the right model for a described situation.
    • Combine, split and condition named distributions
      Use the results that link the named distributions: sums of independent counts, Poisson splitting, conditioning on a total, and the limits that connect them.
    • Choose and check the right model for a situation
      Read a described situation, choose the matching discrete distribution with its parameters, check its assumptions, and avoid the common confusions between models.

Discrete Random Variables study guide

6 chapters

1

Describe a random count

A random experiment can have many outcomes even when the numerical feature you care about has only a few values. Mapping outcomes to numbers lets you describe a count without listing the experiment again for every question. Start with that mapping, organize its probabilities in a mass function, and then collect them in a cumulative function. The difference between a value and a cutoff will matter whenever an event includes or excludes an endpoint.

1.1 From outcomes to numerical values

A random experiment produces an outcome. A random variable assigns a number to that outcome. The assignment is a function, X:S→ℝ, from the sample space to the real numbers. The outcome is uncertain; the rule assigning the number is fixed.

An outcome and its value

Toss a fair coin three times and let X count heads. The outcome HHT gives X=2, while TTT gives X=0. Several outcomes can give the same value: HHT, HTH and THH all give 2. The sample space contains eight outcomes, but the variable takes only four values: 0, 1, 2 and 3. Capital letters name random variables; lowercase letters name numerical values they might take.

This distinction makes probability notation precise. The statement X=2 describes an event, the collection of outcomes mapped to 2. Its probability is

P(X=2)=P({HHT,HTH,THH})=3/8.

Similarly, X≤1 collects TTT, HTT, THT and TTH, so P(X≤1)=1/2. An event need not identify one outcome. It only needs to specify which outcomes count as belonging to it.

Support and distribution

A variable is discrete if its values can be listed in a finite list or a countable sequence. Its support consists of the values with positive probability. The heads count has support {0,1,2,3}. A count of unsuccessful attempts before a success can have support {0,1,2,…}: there is no fixed maximum, but each possible count still has a place in a list. Discrete values need not be consecutive integers; a variable taking the values −1, 0.5 and 4 is also discrete.

The distribution records the probabilities attached to the values. For this heads count, the probabilities are 1/8,3/8,3/8,1/8 in increasing value order. Adding the probabilities of the desired values finds any event about the count. The notation X∼Bin(3,1/2) names the same distribution through a family and its parameters.

Same distribution, different variables

Let Y=3−X count tails in those same tosses. It has the same distribution as X. For instance, both counts equal 0 with probability 1/8 and equal 2 with probability 3/8. Yet they never have the same value on a single outcome: equality would require X=1.5. A shared distribution describes matching probabilities, not matching outcomes or independence.

One experiment can support many variables: the total heads, whether the first toss is heads, or the longest run of heads. Each records a different feature. Taking a square, sum or maximum produces another numerical function of the outcome, so it produces another random variable.

Keep the three objects separate when writing a solution. X is a function, {X=2} is an event, and P(X=2) is a number between 0 and 1. Writing “the probability of X” leaves the event unspecified.

Key Takeaways

  • A random variable assigns a number to each outcome.
  • An event about a variable collects all outcomes giving the specified values.
  • A discrete support can be finite or countably infinite.
  • Equal distributions describe equal probabilities, even when the variables differ on every outcome.

1.2 Build a probability mass function

A probability mass function, or PMF, gives the probability of each individual value: pX(x)=P(X=x). It is zero outside the support. A table and a formula are two ways to describe the same function.

Two checks for validity

Every PMF has nonnegative entries and total probability 1:

pX(x)≥0,∑xpX(x)=1.

Both checks matter. Entries can add to 1 while one is negative, or all be nonnegative while the total is too large. Either defect makes the proposed PMF invalid.

To build a PMF, first identify outcomes and their probabilities. Next list the variable's possible values. For each value, collect every outcome producing it and add the probabilities. Finally check the total. Equal probabilities belong to the elementary outcomes only when the experiment supports that claim; distinct numerical values need not be equally likely.

A sum of two dice

Roll two fair six-sided dice independently and let S be their sum. There are 36 equally likely ordered outcomes. The pairs (3,4) and (4,3) are distinct because the dice have different positions in the pair.

The sum 7 comes from six pairs, giving P(S=7)=6/36=1/6. The sum 2 comes only from (1,1), giving 1/36. Counting all possible sums gives

pS(s)=6−∣s−7∣36,s=2,3,…,12.

The numerator rises from 1 to 6 and then falls from 5 to 1. Its total is 36, so the probabilities sum to 1. Treating the eleven sums as equally likely would lose the information about how many pairs produce each one.

For an event, add the masses of its values. Thus

P(S≥10)=3+2+136=16.

The same rule works for separated values, such as an even sum: include only the masses at 2, 4, 6, 8, 10 and 12.

For the even-sum event, the six included masses have numerators 1, 3, 5, 5, 3 and 1. Their total is 18, giving probability 18/36=1/2. Listing which support values satisfy the event prevents an interval shortcut from accidentally including odd sums between them.

Turn weights into probabilities

Sometimes the probabilities are given up to a constant. If p(k)=ck on {1,2,3,4}, normalization gives c(1+2+3+4)=1, so c=1/10. Then P(X≥3)=(3+4)/10=0.7. The constant scales the whole table; it does not make the entries equal.

More generally, nonnegative weights w(x) can be normalized when their total Z=∑xw(x) is finite and positive. Set p(x)=w(x)/Z. Infinite supports need a convergent sum. For example, ∑k=0∞qk=1/(1−q) for 0<q<1, so the weights qk become probabilities (1−q)qk. Weights all equal to 1 on the nonnegative integers cannot be normalized: their sum is infinite.

In a stick chart, a stick's height is its mass. Add heights to find a probability; no interval width is involved. If a constructed table misses total 1, inspect missing values and double-counted outcomes before changing individual entries.

Key Takeaways

  • A PMF gives point probabilities and is zero outside the support.
  • Nonnegative masses must sum to 1.
  • Add masses over all values in the requested event.
  • Group elementary outcomes by the value they produce.
  • Normalize weights only when their sum is finite and positive.

1.3 Read cumulative probabilities and jumps

The cumulative distribution function, or CDF, gathers probability up to a cutoff:

FX(x)=P(X≤x).

It is defined at every real number, including cutoffs outside the support. For a discrete variable, compute it by adding the PMF entries at values no larger than the cutoff.

What a CDF must do

A CDF is nondecreasing, right-continuous, and tends to 0 at the far left and 1 at the far right. Increasing a cutoff can only add outcomes, which explains why the graph cannot go down. Right-continuity means the value at a jump includes the mass at that point. These properties also characterize CDFs: any function with all three is a CDF.

For integer-valued counts the graph has horizontal segments and upward jumps. More generally, every discrete CDF accumulates point masses; the familiar separated-step picture applies to finite supports and the integer supports of the named families here. Its jump at any value equals that value's probability.

Build a CDF from a table

Let X count heads in three fair tosses. Adding the masses in increasing order gives

FX(x)={0x<0,1/80≤x<1,1/21≤x<2,7/82≤x<3,1x≥3.

For example, FX(1.5)=1/2 because a count no larger than 1.5 must be 0 or 1. At 2, the value is already 7/8, including the mass 3/8 at 2. In a sketch, use a filled dot at the left endpoint of each horizontal segment and an open dot at its right endpoint. Joining the jumps with slanted lines would assign intermediate values the count cannot take.

Translate endpoints before subtracting

The CDF includes its endpoint. Consequently,

P(a<X≤b)=FX(b)−FX(a),P(X>a)=1−FX(a).

The subtraction removes everything at or below a and retains everything through b. With the heads count, P(1<X≤3)=1−1/2=1/2.

For integer-valued variables and integer cutoffs,

P(X<b)=FX(b−1),P(X≥a)=1−FX(a−1).

Thus P(X<2)=FX(1)=1/2, while P(X≤2)=FX(2)=7/8. The difference is precisely the probability at 2. For an interval including its lower integer endpoint, P(a≤X≤b)=FX(b)−FX(a−1).

For noninteger supports, use left limits to handle excluded upper endpoints or included lower endpoints. The general formulas are P(a≤X≤b)=FX(b)−FX(a−) and P(a<X<b)=FX(b−)−FX(a) for a<b. The left limit excludes the mass exactly at its cutoff. The integer formulas are special cases because no integer-valued mass lies between consecutive integers.

Recover the individual masses

A jump is the value at the point minus the accumulated probability just before it:

pX(x)=FX(x)−FX(x−),FX(x−)=lim⁡t↑xFX(t).

At integer support values this becomes pX(k)=FX(k)−FX(k−1). The heads count gives pX(2)=7/8−1/2=3/8. PMF and CDF therefore determine each other. When using a CDF table, first write the event with its exact inequalities; the choice of endpoint then follows from whether the boundary mass belongs in the answer.

Key Takeaways

  • The CDF includes the cutoff: F(x)=P(X≤x).
  • A CDF is nondecreasing, right-continuous and has limits 0 and 1.
  • CDF differences give interval probabilities; check both endpoints.
  • A jump size recovers a PMF entry.
  • For integer counts, P(X≥a)=1−F(a−1).
2

Count successes in a fixed sample

A single success can be recorded as 1, making a count the sum of simple yes-or-no records. Repeating that idea gives different probability models depending on how the sample is collected. Fixed independent trials lead to binomial counts; sampling without replacement leads to hypergeometric counts. Work from the experiment to the formula, with attention to what the counting coefficient represents and which values are actually possible.

2.1 Yes-or-no outcomes and indicator arithmetic

A Bernoulli variable records one yes-or-no result as a number. It equals 1 for success and 0 for failure. With success probability p and q=1−p,

P(X=1)=p,P(X=0)=q.

Write X∼Bern(p). For 0<p<1 both values belong to the support. At the endpoints the variable is constant. The word “success” means the result being counted; a defective component can count as a success even though a defect is undesirable.

Give an event a numerical record

For any event A, its indicator IA equals 1 when A occurs and 0 otherwise. For a fair die roll, take A to be “a 6 appears.” Then IA∼Bern(1/6). Every Bernoulli variable is the indicator of its own success event {X=1}.

Indicators make statements about events easier to combine. Because an indicator takes values 0 and 1, IA2=IA. The complement satisfies IAc=1−IA: changing occurrence to nonoccurrence swaps the two values.

Intersections and unions

The product IAIB equals 1 exactly when both events occur. Hence

IA∩B=IAIB.

This identity holds whether or not the events are independent. It describes values on each outcome, not a rule for multiplying probabilities. The probability rule P(A∩B)=P(A)P(B) needs independence; the indicator identity does not.

For a union, start with the sum IA+IB. If neither event occurs the sum is 0, and if exactly one occurs it is 1. If both occur it is 2, so subtract the intersection indicator once:

IA∪B=IA+IB−IAIB.

On a die roll, let A be an even result and B a result greater than 3. Rolling 4 makes both indicators 1. The union indicator is still 1, not 2, and the formula gives 1+1−1=1. If the events are disjoint, the product is always 0 and the sum alone works.

Checking all four cases makes the union identity concrete:

IAIBIA+IBIA∪B
0000
1011
0111
1121

The subtraction changes just the overlap case. It leaves the other three cases intact because the product is zero there.

Counts are sums of indicators

For events A1,…,An, the count that occur is

IA1+⋯+IAn.

Each occurrence contributes one, so simultaneous occurrences should be counted separately in this sum. This is a count of events, not an indicator of their union. The distinction explains why a count may exceed 1 while an indicator cannot.

A binomial count is a particular indicator sum: its trials are independent and all success indicators have the same parameter. One trial gives Bin(1,p)=Bern(p). Several trials do not turn each individual indicator into a binomial count of all trials. For example, whether the first of eight tests fails is Bernoulli, while the total failed tests can be binomial when its trial conditions hold.

Key Takeaways

  • An indicator is 1 when its event occurs and 0 otherwise.
  • Success names the counted result, including an undesirable result.
  • Indicator products represent intersections without an independence assumption.
  • A union indicator subtracts the double-counted intersection.
  • A sum of indicators counts occurrences and can exceed 1.

2.2 Success counts in a fixed number of trials

The binomial distribution counts successes in a fixed number of independent trials with one common success probability. Write X∼Bin(n,p), where n is the number of trials and p is the success probability on each trial. The possible counts are 0,1,…,n.

Why the coefficient appears

A particular sequence with k successes and n−k failures has probability pkqn−k, where q=1−p. There are (nk) ways to choose the success positions. These sequences are disjoint, so their probabilities add:

P(X=k)=(nk)pkqn−k.

The binomial theorem gives total mass (p+q)n=1. The coefficient counts the possible orders; it is not an extra chance of success.

On a ten-question quiz with four choices per question, independent random guessing gives X∼Bin(10,0.25). Exactly three correct answers have probability

(103)(0.25)3(0.75)7≈0.2503.

Here (103)=120. Without the coefficient, the product describes one chosen order, such as the first three answers correct and the last seven wrong. The question allows all 120 orders.

Exactly, at most and at least

An exact count uses one PMF value. “At most k” includes all counts from 0 through k. “At least k” includes k through n. A complement often shortens the latter:

P(X≥k)=1−∑j=0k−1(nj)pjqn−j.

For the quiz, the probability of at least five correct answers is about 0.07813. “At least five” includes five; using X>5 would remove the mass at five. For “at least one,” the complement is especially simple: P(X≥1)=1−qn.

Shape and the most likely count

Counting failures instead gives n−X∼Bin(n,q). When p=1/2 the PMF is symmetric. It is skewed right when p<1/2 and left when p>1/2. A mode is ⌊(n+1)p⌋. If (n+1)p is an integer, that value and the preceding integer are both modes. In the quiz, (n+1)p=2.75, so the mode is 2, with probability about 0.2816. A mode is the most likely single count; it need not have probability above one half.

To see where the mode rule comes from, compare neighboring masses. For 0≤k<n,

P(X=k+1)P(X=k)=n−kk+1pq.

A ratio above 1 means the next mass is higher; a ratio below 1 means it is lower. Equality produces the adjacent tie when (n+1)p is an integer. This also explains why rounding the mean np is not the general mode rule.

Check the experiment first
FeatureBinomial requirement
Stopping ruleFix the number of trials in advance
Trial resultClassify each as success or failure
ProbabilityKeep the same success probability
DependenceTrials must be independent

Sampling without replacement from a small population fails independence. Stopping at the third success fails the fixed-trial requirement. Changing the chance of success between attempts fails the common-parameter requirement. None of these problems is repaired by inserting an average probability into the formula.

Key Takeaways

  • Use a binomial model for fixed, independent trials with the same success probability.
  • The binomial coefficient counts success positions.
  • Translate inclusive words before taking a complement.
  • Failure counts have parameter q=1−p.
  • A binomial count is a sum of independent, identically distributed indicators.
  • The mode need not be the mean or have probability above one half.

2.3 Success counts without replacement

Sampling without replacement changes what remains after each draw. The hypergeometric distribution counts successes in a uniformly selected sample from a finite population. Write X∼HGeom(w,b,n) for w success items, b failure items and n draws, with 0≤n≤w+b.

Count samples consistently

There are (w+bn) equally likely unordered samples. A sample containing k successes chooses k from the success group and n−k from the failure group. Therefore

P(X=k)=(wk)(bn−k)(w+bn).

Both parts of the numerator are needed. Selecting successes alone leaves unspecified how the rest of the sample is filled. The denominator counts unordered samples, so the numerator must do the same.

The feasible integers satisfy

max⁡(0,n−b)≤k≤min⁡(w,n).

The upper bound comes from the available successes and the sample size. The lower bound matters when too few failures exist to fill the sample. For example, drawing 7 items from 4 successes and 5 failures must include at least 2 successes.

Cards and tagged animals

A standard 52-card deck has 4 aces and 48 non-aces. The ace count in a random five-card hand is HGeom(4,48,5). Exactly two aces have probability

(42)(483)(525)=216254145≈0.03993.

Five aces are impossible, even though five cards are drawn. The support check catches that before any arithmetic.

In a population of 100 elk with 20 tagged, a new uniform sample of 10 has tagged count HGeom(20,80,10). Exactly three tagged elk have probability (203)(807)/(10010)≈0.2092. The population count is treated as known in this probability calculation.

Equal marginal probabilities do not give independence

Each draw has unconditional success probability w/(w+b) by symmetry. But after a success, the next success probability becomes (w−1)/(w+b−1). After a failure it becomes w/(w+b−1). The dependence is why a binomial formula gives different probabilities despite the equal unconditional chances.

When the sample is a small fraction of a large population, these changes are small. The approximation is Bin(n,w/(w+b)). A sample fraction near 5% is a common practical guide, not a universal accuracy guarantee. In the elk example the fraction is 10%; the binomial value for three tagged elk is about 0.2013, against the exact 0.2092.

There is also a useful symmetry: HGeom(w,b,n) and HGeom(n,w+b−n,w) have the same distribution. Both count the overlap between a fixed success group and a uniform sample; exchanging the roles of those groups leaves the overlap count unchanged.

For the ace example, the symmetry gives the equivalent distribution HGeom(5,47,4). Imagine a fixed five-position group in 52 positions and a uniform selection of four positions, representing the aces. The count in the fixed group is the same overlap counted by the original random-hand experiment. The population size stays 52 even though the success group and sample size exchange roles.

Key Takeaways

  • Hypergeometric sampling is uniform and without replacement.
  • Count success and failure choices in the numerator.
  • Use the feasible support before computing.
  • Equal single-draw probabilities can coexist with dependence.
  • A small sampling fraction supports a binomial approximation.
3

Wait for a success target

Waiting experiments leave the trial count random and fix the number of successes needed to stop. A first success gives a geometric or First Success wait; several successes give a negative binomial wait. Keep failures separate from total trials, since the conventions shift the support and the formula. Tail events often have simpler descriptions than exact stopping times, and independence explains why earlier failures leave a first-success wait unchanged.

3.1 The wait for a first success

Repeat independent trials with a constant success probability p. The first success ends the wait. Two counts describe it: X counts failures before success, while T=X+1 counts all trials through success. Write X∼Geom(p) and T∼FS(p).

Choose the count before the formula

With q=1−p, the PMFs are

P(X=k)=qkp,k=0,1,…, P(T=k)=qk−1p,k=1,2,….

A first-trial success gives zero failures and one trial. That simple case checks both the support and the exponent. Some books and calculators call the trials version “geometric”; always identify what is counted. R's geometric functions count failures.

Each PMF multiplies the probabilities of a run of failures followed by one success. For example, rolling a fair die until the first 6 gives T∼FS(1/6). The chance of stopping on roll 3 is (5/6)2(1/6)=25/216≈0.1157. There is no binomial coefficient: the final success has a fixed position, and all earlier trials must fail.

The geometric series verifies normalization: p∑k=0∞qk=p/(1−q)=1. The infinite support allows any finite run of failures; it does not say an infinite run has positive probability.

Tails are simpler than long sums

The event T>k means that the first k trials all fail. Hence

P(T>k)=qk,P(T≤k)=1−qk.

For failures the equivalent tail is P(X≥k)=qk. Notice the different inequality. Because X=T−1, writing P(X>k)=qk would shift the event by one.

For the die, P(T>4)=(5/6)4=625/1296≈0.4823. The complement is the chance of seeing at least one 6 in four rolls.

To obtain a CDF for failures at integer k≥0, use P(X≤k)=1−qk+1. The complement is at least k+1 failures, which is why the exponent exceeds the cutoff by one. Both waiting conventions have variance q/p2; adding the fixed successful trial changes the mean but not distances from the mean.

The tail can also choose a trial budget. With success probability 0.2, success within k trials has probability 1−0.8k. To reach at least 0.9, solve 0.8k≤0.1. Ten trials give about 0.8926 success probability and eleven give about 0.9141, so the smallest suitable whole-number budget is eleven.

Why the wait has no memory

For nonnegative integers m,n,

P(T>m+n∣T>m)=qm+nqm=qn=P(T>n).

After m failures, another n failures have the same probability as the initial n failures. For the failures count the identity is P(X≥m+n∣X≥m)=P(X≥n). These forms describe the same property. Memorylessness characterizes the corresponding nondegenerate waiting-time family on each support.

After four rolls without a 6, the next three also miss with probability (5/6)3=125/216≈0.5787. A success is not “due”: independence keeps the next success probability at 1/6.

The reference means are 1/p trials and q/p failures. With a die these are 6 and 5. A mean describes a long-run average, not a stopping deadline: P(T>6)=(5/6)6≈0.3349. A wait beyond its mean is entirely compatible with the model.

Key Takeaways

  • State whether the variable counts failures or total trials.
  • For failures use qkp from 0; for trials use qk−1p from 1.
  • The tail P(T>k)=qk counts a run of failures.
  • Memorylessness leaves the remaining wait unchanged after failures.
  • The mean wait is an average, not a deadline.

3.2 The wait for several successes

A negative binomial wait ends at a fixed success count. In independent trials with common success probability p, let X count failures before success number r. Then X∼NBin(r,p), where r is a positive integer. The support starts at 0, because the first r trials could all succeed.

Keep the last trial fixed

For exactly k failures, the experiment lasts k+r trials. The last trial must be the r-th success. Among the preceding k+r−1 positions, choose the positions of r−1 successes. This gives

P(X=k)=(k+r−1r−1)prqk,k=0,1,….

The power pr counts all successes, including the final one. The coefficient arranges only the earlier trials. Using (k+rr) would allow the required success count to be reached before the last trial.

A player makes each free throw independently with probability 0.7. For misses before the third made shot,

P(X=2)=(42)(0.7)3(0.3)2=6(0.343)(0.09)=0.18522.

There are six valid orders of the first four throws, followed by a make. The order “make, make, make, miss, miss” has three makes among five throws but cannot occur in this stopped experiment: it would have ended at throw 3.

Convert failures to total trials

Let Y=X+r count throws through success number r. Its support is r,r+1,… and

P(Y=m)=(m−1r−1)prqm−r.

Thus two misses before the third make and a third make on throw 5 describe the same event. Other texts may use “negative binomial” or “Pascal” for the trials count. State the count, not just the family name.

ModelFixed quantityRandom count
BinomialNumber of trialsSuccesses in those trials
Negative binomialNumber of successesFailures or trials until that target
Turn a waiting tail into a fixed-trial count

More than k failures before success r means success r has not occurred in the first r+k trials. If B∼Bin(r+k,p), then

P(X>k)=P(B<r).

For the player, more than two misses before the third make means fewer than three makes in the first five throws. The probability is P(Bin(5,0.7)≤2)≈0.1631.

For an inclusive failures tail, use a window of r+k−1 trials: P(X≥k)=P(Bin(r+k−1,p)<r) for integer k≥1. If the target is still missing after r+k−1 trials, reaching it requires another trial and at least k failures occur before stopping.

The failures between consecutive successes are independent Geom(p) variables. Their sum is the failures count before success r. This explains why NBin(1,p)=Geom(p). As reference values, the failures count has mean rq/p and variance rq/p2; the trials count has mean r/p and the same variance.

Key Takeaways

  • The negative binomial fixes successes and counts failures or trials.
  • The last trial is a success, so arrange only the earlier positions.
  • Convert to total trials by adding r.
  • For a failures count, P(X>k)=P(Bin(r+k,p)<r).
  • Independent geometric failure counts add to a negative binomial.
4

Count events and approximate rare successes

Some counts have an interval boundary instead of a fixed list of trials. The Poisson distribution models such event totals and also approximates many rare independent successes. Its parameter records the average count over the chosen window, so units and interval size come first. Learn the exact mass formula, then examine why a binomial count can approach it and what an error bound says about using the approximation.

4.1 Counts in a time or space interval

The Poisson distribution describes a nonnegative count with parameter λ>0:

P(X=k)=e−λλkk!,k=0,1,2,….

Write X∼Pois(λ). The parameter is the average count in the interval, not a probability. It can exceed 1, and it need not be an integer. The support has no fixed upper limit.

Why the masses add to one

The exponential series gives ∑k=0∞λk/k!=eλ. Multiplying by e−λ makes the total 1. Both the exponential factor and the factorial are essential. In particular, 0!=1, so the probability of zero events is e−λ.

The mean and variance both equal λ. Equality of these reference values is useful when checking a proposed model, although two distributions can share moments without having the same PMF.

An interval model

Counts from events occurring independently, one at a time, at a constant average rate are modeled with a Poisson distribution. Examples include arrivals over a time interval or defects along a length of material. Specify the interval whenever you give λ: “3 per hour” is a rate, while “an average of 3 in this hour” is an interval count parameter.

Suppose the email count in an hour is Pois(3). Then

P(X=0)=e−3≈0.04979, P(X=2)=e−3322!≈0.2240.

At least two emails means excluding counts 0 and 1:

P(X≥2)=1−e−3(1+3)≈0.8009.

The parameter 3 does not mean that exactly three emails must arrive. It is the average over many intervals under this model.

There is no requirement that the mean be a likely realized count. With λ=0.5, only integer counts occur, and the mode is 0; the mean 0.5 is not a possible value. Mean and mode answer different questions: the first averages many intervals, while the second identifies a tallest PMF stick.

Match the parameter to the window

At a constant rate, multiply the rate by the interval length in matching units. Twenty minutes is one third of an hour, so the email parameter is 3(1/3)=1. The chance of no emails in that window is e−1≈0.3679. Dividing the hourly zero-email probability by three would be wrong: interval length scales the parameter, which then enters a nonlinear formula.

The same idea works in space. A rate per meter must be multiplied by a length in meters; a rate per square meter uses area, not length.

Compare neighboring masses

For k≥1, cancellation in the PMF gives

P(X=k)P(X=k−1)=λk.

Masses increase while k<λ and decrease once k>λ. For a noninteger parameter the mode is ⌊λ⌋. For an integer parameter, λ−1 and λ tie: at λ=3, counts 2 and 3 each have probability about 0.2240.

A fixed number of trials with substantial success probability, such as heads in ten fair tosses, calls for a binomial distribution. An event count arriving in clusters also needs another model; a high average count alone does not establish a Poisson story.

Key Takeaways

  • The Poisson parameter is the average count in the specified interval.
  • Use e−λλk/k! on nonnegative integers.
  • Scale rate by interval length before finding a probability.
  • Poisson mean and variance both equal λ.
  • Neighboring masses have ratio λ/k.
  • Check independence, constant rate and clustering when choosing the model.

4.2 Rare-event approximations and their error

A large collection of rare successes often has a simpler approximate distribution. For a binomial count, use Pois(np) when individual success probabilities are small. The parameter is the combined average count, λ=np.

The binomial limit

Set p=λ/n and hold k fixed. In the binomial PMF,

(nk)(λ/n)k⟶λkk!,(1−λ/n)n−k⟶e−λ.

Their product is the Poisson mass. Thus a growing trial count and shrinking success probability, with np→λ, yield a Poisson limit. A large trial count by itself is insufficient.

For 1000 independently produced items with defect probability 0.002, the exact model is Bin(1000,0.002). The approximation uses λ=2. No defects have exact probability 0.9981000≈0.1351 and approximate probability e−2≈0.1353. One defect has approximate probability 2e−2≈0.2707. Approximate values should be identified as approximate even when their rounded digits match the exact ones.

A bound that covers every event

For independent success indicators with probabilities p1,…,pn, let X be their sum and let N∼Pois(λ) with λ=∑jpj. Le Cam's inequality gives

∣P(X∈B)−P(N∈B)∣≤∑jpj2

for every set of count values B. It bounds absolute probability error, not relative percentage error. In a binomial model the bound is np2=λp. For the defect example it is 1000(0.002)2=0.004. This is a guarantee; the actual error for a chosen event can be much smaller. Unequal success probabilities are allowed, but independence is essential for this bound.

Weak dependence needs separate judgment

The Poisson paradigm also suggests approximations for many rare events with suitably weak dependence. For example, take 23 people with independent birthdays, each uniform over 365 days. There are (232)=253 pairs, each matching with probability 1/365. The number of matching pairs is approximately Pois(253/365), giving no match with probability about 0.5000. The exact no-match probability is about 0.4927.

The matching-pair indicators are not mutually independent. Three pair matches involving the same three people are linked. The independent-trial Le Cam bound therefore cannot be applied just by summing their squared probabilities. This example illustrates a useful approximation, not an independence proof.

Count rare failures when successes are common

If X∼Bin(n,p) with p near 1, use n−X∼Bin(n,q) and approximate failures by Pois(nq). For 500 independent message deliveries with success probability 0.996, failed deliveries are approximately Pois(2). Translate the requested success event into a failure event before evaluating it. Strong clustering, common individual events and substantial dependence can defeat a Poisson approximation.

Key Takeaways

  • Approximate rare independent successes with parameter λ=np.
  • For independent unequal risks use λ=∑pj.
  • Le Cam bounds absolute event-probability error by ∑pj2.
  • The independent-trial bound cannot be used for dependent indicators.
  • When success is common, model the rare failure count.
  • Weak dependence requires judgment beyond a small individual probability.
5

Transform and combine random variables

Squaring a count, adding two counts or taking their maximum creates a new random variable. Its distribution comes from the input values that produce each requested output. For one input, this can merge masses; for several inputs, dependence decides whether joint masses factor into products. Test independence carefully before combining distributions, and use cumulative probabilities when a largest or smallest value makes the event easier to describe.

5.1 Move and merge probability masses

A function of a random variable produces a new random variable. If Y=g(X), the new value on outcome s is g(X(s)). To find its distribution, change the numerical labels and carry their probabilities with them.

Collect every input producing an output

For any possible output y,

P(Y=y)=∑x:g(x)=yP(X=x).

List the support of X, apply g to each value, and group equal outputs. Add the masses in each group. An output with no contributing input has probability zero.

Let X be uniform on {−2,−1,0,1,2} and set Y=X2. The map sends 0 to 0, both −1 and 1 to 1, and both −2 and 2 to 4. Therefore

P(Y=0)=1/5,P(Y=1)=2/5,P(Y=4)=2/5.

Squaring the input values changes the support. It does not square their probabilities. Keeping only the positive square root would lose the mass at the negative root. The new probabilities still sum to 1 because every old value belongs to exactly one output group.

One-to-one functions move masses intact

If each output has exactly one input in the support, no masses merge. The new mass at y is P(X=g−1(y)). For the heads count in three fair tosses, Y=2X+3 takes 3, 5, 7 and 9 with masses 1/8,3/8,3/8,1/8. The probabilities keep their values and move to different locations.

A shift between waiting conventions works this way too. If T∼FS(p) counts total trials, then T−1∼Geom(p) counts failures. The support shifts down by one while each individual mass stays attached to the corresponding event.

A capped count gives another many-to-one map. For the three-toss heads count, let Z=min⁡(X,2). Its masses are P(Z=0)=1/8, P(Z=1)=3/8 and P(Z=2)=P(X=2)+P(X=3)=1/2. The cap collects the whole upper tail at 2. A table with a mass of only 3/8 there would forget the inputs above the cap.

Transform a probability inequality

A CDF can be easier than a new table. With a strictly increasing function, solving g(X)≤y preserves the inequality direction. For Y=2X+3,

P(Y≤6)=P(X≤1.5)=FX(1)=1/2.

With a decreasing function the direction reverses. For the same heads count, P(3−X≤1)=P(X≥2)=1/2. Treating the transformed inequality as X≤2 would produce the wrong event.

The distribution of g(X) depends only on the distribution of X. Variables with matching distributions therefore still match after the same function is applied. This says nothing about whether the original variables are independent.

Reusing a variable is different from adding a copy

For a fair die X, the variable 2X takes only even values, each with mass 1/6. If Y is a separate independent fair die, X+Y can also be odd. In particular, P(2X=7)=0 but P(X+Y=7)=1/6. A formula that combines two independent variables cannot be applied to X+X; both terms there use the same outcome.

Key Takeaways

  • Find every input value mapping to the requested output.
  • Merge masses when several inputs give the same value.
  • Transform support values, not the probabilities.
  • Reverse an inequality for a decreasing transformation.
  • Adding a variable to itself differs from adding an independent copy.

5.2 Test independence and recognize hidden dependence

Two random variables are independent when information about one leaves the distribution of the other unchanged. For discrete variables the exact test is

P(X=x,Y=y)=P(X=x)P(Y=y)

for every pair of values. Equivalently, P(Y=y∣X=x)=P(Y=y) whenever P(X=x)>0. A definition that also works beyond discrete variables is P(X≤x,Y≤y)=FX(x)FY(y) for all real cutoffs.

Disprove with one pair; prove for all pairs

Roll two independent fair dice. Let X be the first die and S their sum. The event X=1,S=12 is impossible, so its probability is 0. But P(X=1)P(S=12)=(1/6)(1/36)=1/216. This one failed equality proves dependence.

One successful equality cannot establish independence. To prove it from a table, obtain the marginal probabilities by summing rows and columns, then check every cell against its row total times its column total. A zero joint cell with two positive marginals immediately shows dependence. A specified mechanism of independent experiments can also justify factorization without checking a table.

For example, a 2-by-2 joint table with rows (0.12,0.18) and (0.28,0.42) has row totals 0.3 and 0.7 and column totals 0.4 and 0.6. All four cells equal the corresponding products: 0.3(0.4), 0.3(0.6), 0.7(0.4) and 0.7(0.6). This checks the full table and establishes independence, unlike a check of just its first cell.

Having the same distribution is a separate issue. Heads and tails counts in three fair tosses match in distribution, but one determines the other. Conversely, independent variables can have entirely different distributions. I.i.d. means both independent and identically distributed.

Pairwise and mutual independence

A collection is mutually independent when its joint probabilities factor into the product of all individual masses. For an infinite collection, every finite subcollection must meet that requirement. Pairwise independence checks only pairs and is weaker.

Let X,Y be independent fair 0–1 variables, and let Z=1 when they differ. Each of the pairs (X,Y), (X,Z) and (Y,Z) is independent. For instance, P(X=1,Z=1)=P(X=1,Y=0)=1/4. Yet all three cannot equal 1, while their individual probabilities multiply to 1/8. The collection is not mutually independent.

Functions and conditioning

Functions of separate independent variables remain independent: g(X) and h(Y) are independent when X,Y are. The same holds for functions of disjoint groups in a mutually independent collection. It does not justify independence of X and X+Y, which share an input.

Conditional independence needs the conditioning information. Choose, with equal probabilities, a fair coin or a coin with heads probability 3/4, then toss the chosen coin twice independently given that coin. Each toss has unconditional heads probability 5/8. But

P(H1∩H2)=12(1/4)+12(9/16)=13/32,

which differs from (5/8)2=25/64. A first head makes the more biased coin more likely, connecting the tosses through the hidden coin choice. In the other direction, conditioning independent variables on their sum can make them dependent, because knowing one then restricts the other.

Key Takeaways

  • Discrete independence requires factorization for every pair of values.
  • One failed equality proves dependence.
  • Identical distribution and independence are different properties.
  • Pairwise independence can fail to extend to the whole collection.
  • Functions of separate independent inputs remain independent.
  • Conditional independence can disappear when the conditioning information is hidden.

5.3 Sums, largest values and smallest values

For a function of two discrete variables, collect every pair producing the required value. The general rule is

P(g(X,Y)=z)=∑(x,y):g(x,y)=zP(X=x,Y=y).

When the inputs are independent, replace each joint mass by pX(x)pY(y). Otherwise use the actual joint probabilities. Marginal distributions alone do not usually determine a function's distribution.

Add along a fixed total

For S=X+Y with independent inputs,

P(S=s)=∑xpX(x)pY(s−x).

This discrete convolution pairs each possible x with the only value of Y that completes the total. Terms outside either support are zero. For two independent fair dice, total 4 comes from (1,3),(2,2),(3,1), giving 3/36=1/12. Keeping just (2,2) would miss two contributing outcomes.

For finite supports, writing down the contributing pairs before multiplying often prevents omissions. You may also form a complete table of pairs and collect the cells along each total.

Find a maximum through its CDF

Let M=max⁡(X,Y). A maximum is at most k exactly when both inputs are at most k. Independence gives

FM(k)=FX(k)FY(k).

For two independent fair dice and integer 1≤k≤6, P(M≤k)=(k/6)2. Subtract consecutive CDF values:

P(M=k)=k2−(k−1)236=2k−136.

Thus P(M=6)=11/36. Both dice showing 6 has probability only 1/36; a maximum of 6 also includes either die showing 6 while the other is smaller. The maximum is not uniform.

Find a minimum through its tail

Let L=min⁡(X,Y). A minimum exceeds k exactly when both inputs exceed k, so

P(L>k)=(1−FX(k))(1−FY(k)).

Then FL(k)=1−P(L>k). For two dice, P(L=1)=1−(5/6)2=11/36. The complement counts the outcomes where both dice avoid 1.

For independent first-success trial counts T1,T2 with probabilities p1,p2 and failure probabilities q1,q2,

P(min⁡(T1,T2)>k)=(q1q2)k.

The minimum therefore has distribution FS(1−q1q2). With daily breakdown probabilities 0.1 and 0.2, independent across machines and days, the first breakdown day is FS(0.28). Either machine can end the wait, so the combined daily success probability is 1−0.9(0.8).

The same cutoff reasoning extends to any finite independent collection. For M=max⁡(X1,…,Xn), multiply all n CDFs. For L=min⁡(X1,…,Xn), multiply all n upper tails. When the variables are i.i.d. with CDF F, these become P(M≤k)=F(k)n and P(L>k)=(1−F(k))n. The power counts the inputs, not repeated use of a single random value.

Check shared inputs

If Y=X is the same fair die, then max⁡(X,Y)=X and X+Y=2X. The maximum is uniform and the sum only even. Multiplying the two marginal PMFs would instead describe two independent rolls. The event identities for maxima and minima always hold; the multiplication step is where independence is used.

Key Takeaways

  • Sum the joint masses of every pair giving the requested output.
  • Independent sums use discrete convolution.
  • For a maximum, multiply CDFs under independence.
  • For a minimum, multiply tails under independence.
  • Minimum first-success waits combine daily failure probabilities.
  • Shared inputs require their actual dependence structure.
6

Connect families and choose a model

Distribution names become easier to use when you connect them to changes in an experiment. Adding independent counts, labeling Poisson events and revealing a total lead to exact family relationships. Large-population and rare-event limits lead to approximations. Use these connections alongside a practical model decision process: identify the count, the stopping rule, replacement and independence, then give the parameters their meanings.

6.1 Add counts, split events and reveal totals

Named distributions are connected by the experiments that generate them. Some connections are exact and others are limits. Identify which operation is being performed, then check the conditions before combining parameters.

Sums preserve some families

Independent Bin(n,p) and Bin(m,p) counts add to Bin(n+m,p): combine their trial lists. The common success probability is essential. Independent geometric failure counts with the same parameter add to a negative binomial failure count.

Independent Pois(λ1) and Pois(λ2) counts add to Pois(λ1+λ2). Convolution explains the rule:

P(X+Y=s)=e−(λ1+λ2)∑k=0sλ1kλ2s−kk!(s−k)!.

Factor out 1/s!. The remaining sum is the binomial expansion of (λ1+λ2)s. Independent work emails at 3 per hour and personal emails at 1 per hour therefore give Pois(4) total emails per hour.

Conditioning on a Poisson total

For those independent Poisson inputs, revealing X+Y=s gives

X∣(X+Y=s)∼Bin(s,λ1λ1+λ2).

The total is now fixed. Each of its events belongs to the first source with probability proportional to that source's rate. Given five emails in the example, the work count is Bin(5,0.75), so exactly four work emails have probability 5(0.75)4(0.25)≈0.3955. Once the total is known, the two component counts are dependent.

Splitting a random Poisson total

The reverse construction starts with N∼Pois(λ). Classify each event independently as type 1 with probability p and type 2 otherwise. The counts are independent Pois(λp) and Pois(λq) variables. Both the labeling mechanism and the Poisson total matter.

For Pois(20) visitors, each buying independently with probability 0.3, buyers and non-buyers have independent distributions Pois(6) and Pois(14). If exactly 20 visitors were fixed instead, the two counts would sum to 20 and be dependent.

Conditioning binomial groups

Let X∼Bin(n,p) and Y∼Bin(m,p) be independent. Given X+Y=r, the first group's count is HGeom(n,m,r). All sets of r success positions among the n+m positions are equally likely, so selecting the successes is sampling positions without replacement. The common p cancels from the conditional probability.

For groups of 10 and 15 patients with the same independent recovery probability, suppose eight recover in total. Exactly three in the first group have conditional probability (103)(155)/(258)≈0.3332. The 25 trial positions now form the population, the eight success positions form the sample, and the first ten positions are the group being counted.

Finally, large populations with fixed sample size make hypergeometric counts approach binomial counts. Large numbers of rare independent trials make binomial counts approach Poisson counts. These are limiting relationships, not exact family identities for every parameter choice. Reusing one Poisson variable twice gives 2X, supported only on even counts; it cannot be replaced by an independent Poisson sum.

Key Takeaways

  • Independent binomial counts add within the family when their p values match.
  • Independent Poisson counts add their parameters.
  • Independent Poisson counts given a total have a binomial allocation.
  • Independent labels split a Poisson total into independent Poisson counts.
  • Independent binomial groups with common p become hypergeometric given their total.
  • Keep exact connections separate from limiting approximations.

6.2 Choose a model from the experiment

The model follows from what is fixed, what is counted and how outcomes depend on each other. Start by defining the variable in words. Then write the distribution and its parameters before calculating a probability.

Ask what ends the experiment
ExperimentModel
One yes-or-no resultBernoulli
Successes in fixed independent trials, common probabilityBinomial
Successes in a uniform sample without replacementHypergeometric
Failures before the first success in independent common-probability trialsGeometric
Trials through the first success under the same conditionsFirst Success
Failures before success number r under the same conditionsNegative binomial
Events in an interval at a constant independent-event ratePoisson

A fixed maximum does not distinguish binomial from hypergeometric: both have one. A random number of trials does not by itself establish a geometric wait. Check the success rule and independence too.

Compare three experiments using one box

A box holds ten fuses, three defective. Choose four uniformly without replacement. The defect count is HGeom(3,7,4), so

P(no defects)=(74)(104)=16.

If each fuse is replaced before the next independent draw, the count is Bin(4,0.3) and the probability of no defects is 0.74=0.2401.

Now test fuses in random order without replacement until the first defective one. The wait is not First Success with parameter 0.3. The chance of stopping on the second test is (7/10)(3/9)=7/30, while the constant-probability model would give 0.7(0.3)=0.21. After a nondefective fuse is removed, the defect fraction rises.

Use reference moments to interpret parameters

The mean is a long-run average; variance measures average squared distance from the mean. With q=1−p and N=w+b>1, the reference values are:

DistributionMeanVariance
Bern(p)ppq
Bin(n,p)npnpq
HGeom(w,b,n)nw/Nn(w/N)(b/N)(N−n)/(N−1)
Geom(p), failuresq/pq/p2
FS(p), trials1/pq/p2
NBin(r,p), failuresrq/prq/p2
Pois(λ)λλ

For a one-item population, a hypergeometric sample count is constant and its variance is 0. The table's finite-population fraction has denominator N−1, so use that constant count directly when N=1.

Check what the story supports

A changing success chance rules out the ordinary binomial and waiting-time models. Trials that influence one another also fail their independence requirement. Poisson counts are questionable when events arrive in clusters or the rate varies; a variance clearly above the mean is a warning sign.

Give parameters their meanings: p is per trial, n is fixed trials, r is target successes and λ is rate times interval size. When a count is approximated, name both the exact model and the approximation so the calculation's status is clear.

Key Takeaways

  • Define the counted quantity and stopping rule before choosing a model.
  • Replacement, independence and constant probability distinguish count models.
  • Waiting without replacement need not be geometric.
  • Use rate times interval size for a Poisson parameter.
  • Reference means and variances help interpret models.
  • Label approximations and check their conditions.

Discrete Random Variables examples

6 Walkthroughs

1

Turn outcomes into a PMF and a CDF

12 steps
Build a numerical description of an experiment, then use its masses and cumulative probabilities to answer count questions.
  1. 1
    IntroductionOne experiment, several descriptions

    An outcome can contain more information than the count you want to study. Two coin tosses record order, but a heads count keeps only a number. A rule that turns outcomes into numbers is a random variable.

    Follow that count from a function of outcomes to a table of masses (the PMF) and then to cumulative probabilities (the CDF). Each description answers a different kind of question: a realized value, an exact count or a cutoff event.

  2. 2
    ExplanationAssign a value to every outcome

    Toss two fair coins independently. Define X as the number of heads. Then X(HH)=2, X(HT)=X(TH)=1 and X(TT)=0.

    The rule is fixed even before the outcome is known. There are four outcomes but only three possible count values. Several outcomes can therefore contribute to one probability about X.

  3. 3
    ExampleCollect an event

    The event X=1 collects HT and TH. Each outcome has probability 1/4, so P(X=1)=1/2.

    The symbol X names the function, the statement X=1 describes an event, and 1/2 is the event's probability. The support is {0,1,2}, containing the values with positive probability, not the original letter sequences.

  4. 4
    ChallengeRead a different count

    In the same two-toss experiment, let Y count tails. Does Y have the same distribution as X, and must their values be equal?

    ---reveal---

    They have the same masses 1/4,1/2,1/4 at 0, 1 and 2. Their values need not match: HH gives X=2 and Y=0. A shared distribution matches probabilities, while the relation Y=2−X links values on each outcome.

  5. 5
    ExplanationWrite and check the masses

    The PMF is pX(x)=P(X=x). For two-toss heads, its nonzero entries are pX(0)=1/4, pX(1)=1/2 and pX(2)=1/4.

    All are nonnegative, and their sum is 1. Both checks are necessary for any proposed PMF. The masses are zero at every other real value; a count of 1.5 heads has probability zero.

  6. 6
    ExampleNormalize unequal weights

    Suppose a different count has probabilities proportional to 1, 2 and 5 at values 0, 1 and 2. The total weight is 8, so the PMF is 1/8,2/8,5/8.

    The probability of at least one is (2+5)/8=7/8. Dividing by the number of entries would not normalize this table: the entries carry unequal weights, so divide by their sum.

  7. 7
    ChallengeCheck both requirements

    A proposed table at values 0, 1 and 2 contains masses 0.4,−0.1,0.7. Is it a valid PMF?

    ---reveal---

    No. The total is 1, but the mass at 1 is negative. A probability cannot be negative. Validating only the total would miss this problem; every individual mass must also be nonnegative.

  8. 8
    ExplanationAccumulate through the cutoff

    For the two-toss heads count, FX(x)=P(X≤x). It is 0 below 0, 1/4 from 0 to just below 1, 3/4 from 1 to just below 2, and 1 from 2 upward.

    At a jump the CDF already includes the new mass. Thus FX(1)=3/4, and FX(1.8)=3/4 too. There are no support values between those cutoffs.

  9. 9
    Key InsightRecover a mass from a jump

    The CDF contains the same distribution information as the PMF. At integer value 1, subtract the accumulated probability through 0:

    P(X=1)=FX(1)−FX(0)=3/4−1/4=1/2.

    For a general support value, subtract the left limit at that point. A CDF cannot go down, and its limits at the two extremes must be 0 and 1.

  10. 10
    ChallengeKeep the boundary mass

    For the two-toss heads count, find P(X≥1). Which CDF cutoff must be removed from 1?

    ---reveal---

    Remove FX(0), giving 1−1/4=3/4. The event includes 1, so the removed part must stop below 1. Using 1−FX(1) gives only P(X>1)=1/4 and loses the mass at the included endpoint.

  11. 11
    ChallengeBuild, accumulate and subtract

    A variable has probabilities proportional to 2, 3 and 5 at values 0, 2 and 4. Find F(3) and P(0<X≤4).

    ---reveal---

    The normalized masses are 0.2, 0.3 and 0.5. Through 3, the masses at 0 and 2 contribute, so F(3)=0.5. The interval excludes 0 and includes 2 and 4, giving F(4)−F(0)=1−0.2=0.8. A non-support cutoff still has a CDF value.

  12. 12
    RecapUse the description the event needs

    A variable maps outcomes to values; its PMF gives point masses, and its CDF collects them through a cutoff.

    Build masses by collecting all contributing outcomes. Check nonnegativity and total 1. For cumulative calculations, write the inequalities before subtracting: an included boundary mass must remain in the event. A jump in the CDF recovers the mass at that value.

2

Count successes with and without replacement

15 steps
Use indicators to build counts, derive the binomial arrangement factor, and switch to hypergeometric sampling when draws remove items.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionStart with the trial mechanism
  2. 2
    ExplanationRecord occurrence as zero or one
  3. 3
    Key InsightDistinguish a union from a count
  4. 4
    ChallengeCorrect the overlap
  5. 5
    ExplanationFix trials and share one probability
  6. 6
    ExampleCount the success positions
  7. 7
    TipUse a short complement
  8. 8
    ChallengeIdentify the stopped experiment
  9. 9
    ExplanationRemove items from the population
  10. 10
    ExampleChoose both parts of the sample
  11. 11
    Key InsightCheck the support first
  12. 12
    ChallengeFind a probability of zero
  13. 13
    ConnectionUnderstand the large-population shortcut
  14. 14
    ChallengeChange the sampling rule
  15. 15
    RecapMatch the formula to the count
3

Keep failures and total trials straight

11 steps
Build first-success and negative binomial probabilities from the stopping rule, then translate waiting tails into fixed-trial events.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionLet success end the experiment
  2. 2
    ExplanationName the two first-success counts
  3. 3
    ExampleRead the sequence of results
  4. 4
    Key InsightA tail is a run of failures
  5. 5
    ChallengeCondition on the wait so far
  6. 6
    ExplanationReserve the final success
  7. 7
    ExampleCount the valid earlier orders
  8. 8
    ChallengeShift to the trials convention
  9. 9
    ConnectionReplace a waiting tail with a trial window
  10. 10
    ChallengeCombine two first-success waits
  11. 11
    RecapLet the stopping rule set the exponent
4

Use a Poisson parameter and check an approximation

13 steps
Scale an interval count correctly, compute Poisson probabilities, and interpret the independent-trial error bound for rare events.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionSeparate an interval model from a shortcut
  2. 2
    ExplanationInterpret the parameter
  3. 3
    ExampleMatch rate and window
  4. 4
    ExampleCompute a mass and a tail
  5. 5
    ChallengeShorten the interval again
  6. 6
    Key InsightCompare consecutive counts
  7. 7
    ExplanationReplace many rare trials
  8. 8
    ExamplePut a bound on event error
  9. 9
    ChallengeCombine unequal rare risks
  10. 10
    TipSwitch to rare failures
  11. 11
    ChallengeUse the approximation for a tail
  12. 12
    ConnectionKeep weak dependence separate
  13. 13
    RecapCheck the count, parameter and accuracy
5

Transform values and combine independent inputs

16 steps
Track masses through a function, test dependence, and use pair sums, CDFs and tails to combine two variables.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFollow the input values
  2. 2
    ExampleMerge opposite inputs
  3. 3
    ChallengeUse a decreasing map
  4. 4
    ExplanationTest every joint mass
  5. 5
    ExampleFind a forbidden combination
  6. 6
    ChallengeUse one failed cell
  7. 7
    Key InsightCheck the whole collection
  8. 8
    ConnectionReveal or hide a shared condition
  9. 9
    ExplanationCollect pairs for a sum
  10. 10
    ExampleMake a maximum cumulative
  11. 11
    ChallengeFind a maximum mass
  12. 12
    ExampleUse the tail for a minimum
  13. 13
    Key InsightKeep independent input groups separate
  14. 14
    ChallengeChange the dependence, change the answer
  15. 15
    ConnectionEnd a wait when either succeeds
  16. 16
    RecapChoose masses, cumulative values or tails
6

Connect models by changing the experiment

14 steps
Add counts, split Poisson events, reveal totals and choose a distribution by its trial and stopping conditions.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTrack what becomes fixed
  2. 2
    ConnectionAdd compatible independent counts
  3. 3
    ExampleCombine arrival sources
  4. 4
    ExampleReveal the total
  5. 5
    Key InsightSplit a random total
  6. 6
    ChallengeCompare random and known totals
  7. 7
    ConnectionFix successes across two trial groups
  8. 8
    ExplanationRead the stopping rule
  9. 9
    ExampleReject a wait with a changing chance
  10. 10
    ChallengeClassify a new experiment
  11. 11
    TipUse moments as reference checks
  12. 12
    ChallengeCheck an allocation model
  13. 13
    ConnectionSeparate limits from exact identities
  14. 14
    RecapGive the model its full meaning

Discrete Random Variables practice questions

50 Practice Questions in 5 sets

Set 1: Mixed review: values, counts and waits10 Practice Questions

Question 1 of 10

Events A and B have probabilities 0.55 and 0.40, with intersection probability 0.25. What is P(IA+IB=1)?
  1. 0.70
  2. 0.95
  3. 0.45
  4. 0.25
Show answerHide answer
Answer: C
The sum equals 1 exactly when one event occurs and the other does not. Its probability is 0.55+0.40−2(0.25)=0.45. Subtracting the intersection only once gives the union probability 0.70, which still includes the outcomes where both indicators equal 1.

Question 2 of 10

Independent X and Y have distributions Pois(2.4) and Pois(1.1). What is the distribution of X+Y?
  1. Pois(3.5)
  2. Pois(2.64)
  3. Pois(1.3)
  4. Pois(4.6)
Show answerHide answer
Answer: A
Independent Poisson counts add within the Poisson family, with parameter equal to the sum 2.4+1.1=3.5. Multiplying the parameters would give 2.64, but that product does not describe a count total. The given independence is needed for this addition rule.

Question 3 of 10

For integers k≥1, a variable X satisfies P(X=k)=2−k. Let Y=1/X. What are the support of Y and the probability P(Y≤1/3)?
  1. {0}∪{1/k:k=1,2,…};1/4
  2. {1/k:k=1,2,…};1/8
  3. {1/k:k=1,2,…};3/4
  4. {1/k:k=1,2,…};1/4
Show answerHide answer
Answer: D
The support consists of the reciprocals of positive integers; 0 is approached but never assigned positive mass. The event is X≥3, whose geometric-series sum is 2−3/(1−1/2)=1/4. Keeping only 1/8 counts just X=3 and misses the larger inputs.

Question 4 of 10

For X∼NBin(4,0.2) counting failures, how can P(X>3) be written using a binomial count B?
  1. P(B≤3),B∼Bin(7,0.2)
  2. P(B≤4),B∼Bin(7,0.2)
  3. P(B≤3),B∼Bin(6,0.2)
  4. P(B≥4),B∼Bin(7,0.2)
Show answerHide answer
Answer: A
More than three failures before success four means success four has not happened after seven trials. The seven-trial success count must therefore be at most three. Allowing four successes would include paths that already reached the target within seven trials and have at most three failures before stopping.

Question 5 of 10

A Poisson count has parameter 1.6. What is its variance?
  1. 2.56
  2. 1.6
  3. 0.625
  4. 1.6
Show answerHide answer
Answer: B
A Poisson variable has variance equal to its parameter, so the variance is 1.6. The square root of 1.6 is its standard deviation, which measures spread in the count’s original units. Squaring the parameter does not give a Poisson variance.

Question 6 of 10

A tray contains 6 cracked and 9 intact tiles. Four tiles are sampled uniformly without replacement. What is the probability of exactly one cracked tile?
  1. (61)(94)(154)
  2. (41)(0.4)(0.6)3
  3. (63)(91)(154)
  4. (61)(93)(154)
Show answerHide answer
Answer: D
The favorable samples choose one of the six cracked tiles and three of the nine intact tiles, giving the hypergeometric ratio. The binomial expression treats draws as independent at a fixed probability. Here each tile is removed, so the composition of the remaining tray changes.

Question 7 of 10

A packet passes a test with probability 0.8, independently for each of six packets. What is the probability that exactly four pass?
  1. (64)(0.8)2(0.2)4
  2. (53)(0.8)4(0.2)2
  3. (64)(0.8)4(0.2)2
  4. (65)(0.8)5(0.2)
Show answerHide answer
Answer: C
Choose four passing positions among six, then multiply by the probability of each such order: (64)(0.8)4(0.2)2. The coefficient (53) would fix the last packet as passing, which the question does not require. All six test positions are interchangeable in this fixed-trial count.

Question 8 of 10

Events follow a constant-rate Poisson model averaging 8 per hour. What is the probability of no events in 15 minutes?
  1. e−8/4
  2. e−2
  3. e−8
  4. e−32
Show answerHide answer
Answer: B
Fifteen minutes is one quarter of an hour, so the interval parameter is 8/4=2. A Poisson variable with parameter 2 has zero-count probability e−2. Dividing e−8 by four scales a probability directly, which is not how the interval length enters the model.

Question 9 of 10

Seven trials are independent, each succeeding with probability 0.4. What is the probability of no successes?
  1. 0.47
  2. 1−0.67
  3. 7(0.4)(0.6)6
  4. 0.67
Show answerHide answer
Answer: D
No successes means all seven trials fail, each with probability 0.6. Independence gives the product 0.67. The complement 1−0.67 is the probability of at least one success, while 0.47 requires every trial to succeed.

Question 10 of 10

Two discrete variables have P(X=0)=0.4, P(Y=1)=0.5 and P(X=0,Y=1)=0.3. What follows about independence?
  1. They are dependent because 0.3 differs from 0.2.
  2. They are independent because both marginals are positive.
  3. They are independent because 0.3 is below both marginals.
  4. Their independence cannot be decided from one cell.
Show answerHide answer
Answer: A
Independence would require this joint mass to equal 0.4(0.5)=0.2. Since it is 0.3, the equality fails and the variables are dependent. A matching cell alone is insufficient, but a failed cell establishes dependence without inspecting the remaining cells.
Set 2: Mixed review: events and sampling rules10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Independent attempts succeed with probability 0.2. If X counts failures before the first success, what is P(X=0)?
  1. 0.8
  2. 0.2
  3. 0
  4. 0.16
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Independent Bernoulli variables have success probabilities 0.01, 0.02 and 0.03. What Poisson parameter and Le Cam bound apply to their sum?
  1. λ=0.02,bound=0.0014
  2. λ=0.06,bound=0.0036
  3. λ=0.06,bound=0.0006
  4. λ=0.06,bound=0.0014
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Independent counts X and Y are Bin(4,0.35) and Bin(7,0.35). What is P(X+Y=0)?
  1. 0.3511
  2. 0.654+0.657
  3. 0.6511
  4. 0.6528
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Independent trials succeed with probability 1/2. Testing stops at success three. Given at least two failures before stopping, what is the chance that exactly two failures occur?
  1. 3/11
  2. 3/16
  3. 3/8
  4. 3/22
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A CDF is 0 below 1, 0.3 from 1 through values below 4, and 1 from 4 upward. For Y=X2, what is P(Y<16)?
  1. 0.7
  2. 1.0
  3. 0.3
  4. 0.09
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A sensor is defective with probability 0.08. Let I equal 1 when it is defective and 0 otherwise. What is the distribution of I?
  1. Bern(0.08)
  2. Bern(0.92)
  3. Bin(8,0.08)
  4. Pois(0.08)
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

X has masses 0.1, 0.3 and 0.6 at 0, 2 and 4. With Y=7−2X, what is P(Y≤3)?
  1. 0.4
  2. 0.9
  3. 0.3
  4. 0.6
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Each of 400 independent uploads succeeds with probability 0.995. Using a Poisson approximation, what is the chance that at least 399 succeed?
  1. e−2
  2. 1−3e−2
  3. 2e−2
  4. 3e−2
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

X takes values −3,−1,1,3 with masses 0.1, 0.2, 0.4 and 0.3. What is P(X2=1)?
  1. 0.4
  2. 0.2
  3. 0.16
  4. 0.6
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Two independent fair eight-sided dice are rolled. What is the probability that their maximum equals 4?
  1. 1/64
  2. 7/64
  3. 16/64
  4. 8/64
Show answerHide answer

Save this lesson to see this answer.

Set 3: Mixed review: functions and model choices10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A variable has masses 0.2, 0.5 and 0.3 at −1,2,5. What is P(−1<X<5)?
  1. 0.5
  2. 0.7
  3. 0.8
  4. 1.0
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

X takes values −2,0,2 with masses 0.2, 0.5 and 0.3. Let Y be an independent copy of X. What are P(2X=0) and P(X+Y=0)?
  1. 0.5 and 0.5
  2. 0.25 and 0.37
  3. 0.5 and 0.37
  4. 0.5 and 0.31
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A population has 5 marked and 4 unmarked objects. Six are sampled without replacement. What is the support of the marked count?
  1. {0,1,2,3,4,5}
  2. {1,2,3,4,5,6}
  3. {0,1,2,3,4}
  4. {2,3,4,5}
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A printer produces a fixed batch of 20 items. Each defect probability is 0.04, but one common fault can cause several defects together. Why is a binomial defect count unjustified?
  1. The batch size is fixed in advance.
  2. The item defect indicators are dependent.
  3. The defect probability is below one half.
  4. The defect count has a finite maximum.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A count N is Poisson. Events are independently labeled red with probability 0.2. The probability of no red events is e−1.4. What is the probability of no non-red events?
  1. e−1.4
  2. e−5.6
  3. e−7
  4. e−0.28
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A random sample of 12 items is drawn without replacement from 30 items, 9 defective. What exact distribution models the defect count?
  1. Bin(12,0.3)
  2. NBin(9,0.3)
  3. Pois(3.6)
  4. HGeom(9,21,12)
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

In independent trials with common success probability p, np=4 and the Le Cam bound np2 is 0.02. What is the exact probability of at least one success?
  1. 1−(0.995)800
  2. 1−e−4
  3. 1−(0.98)200
  4. 1−(0.005)800
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A PMF has the form p(k)=cqk for k=0,1,…, with 0<q<1. Also P(X≥2)=1/9. What is P(X=0)?
  1. 1/3
  2. 8/9
  3. 2/3
  4. 1/9
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Independent trials succeed with probability 0.6. What is the probability that the fourth success occurs on trial 7?
  1. (74)(0.6)4(0.4)3
  2. (63)(0.6)3(0.4)4
  3. (63)(0.6)4(0.4)3
  4. (62)(0.6)4(0.4)3
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Events A and B both occur on a particular outcome. What value does IA+IB−IAIB have there?
  1. 1
  2. 0
  3. 2
  4. 3
Show answerHide answer

Save this lesson to see this answer.

Set 4: Mixed review: conditional counts and tails10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A fair four-sided die labeled 1 through 4 is rolled twice independently. What is the probability that the sum is 5?
  1. 1/7
  2. 1/8
  3. 1/4
  4. 3/16
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A proposed PMF is p(k)=ck for k=1,2,3 and zero elsewhere. What value of c makes it valid?
  1. 1/3
  2. 1/6
  3. 1/5
  4. 1/9
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

For a first-success trial count T in independent common-probability trials, P(T>3)=0.216. What is P(T=6∣T>4)?
  1. 0.40
  2. 0.144
  3. 0.046656
  4. 0.24
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Independent trials share probability p. A fixed-trial success count has mean 3 and variance 2.1. What is the mean number of failures before the second success in a new sequence with this p?
  1. 20/3
  2. 7/3
  3. 6/7
  4. 14/3
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Independent identically distributed integer counts X and Y satisfy P(max⁡(X,Y)≤2)=0.64 and P(X≤1)=0.3. What is P(min⁡(X,Y)=2)?
  1. 0.25
  2. 0.45
  3. 0.60
  4. 0.49
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A count is Bin(750,0.004). What Poisson parameter and Le Cam absolute-error bound apply?
  1. λ=3,bound=0.012
  2. λ=3,bound=0.004
  3. λ=0.004,bound=0.012
  4. λ=750,bound=3
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A fair coin is tossed twice. Let X count tails. What is X(HT)?
  1. 0
  2. 2
  3. 1
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A fair coin is tossed four times. Let X count heads and Y count tails. How do their distributions and their dependence compare?
  1. They have the same distribution and are dependent.
  2. They have the same distribution and are independent.
  3. They have different distributions and are dependent.
  4. They have different distributions and are independent.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A uniform sample of two objects is drawn without replacement from a population of N objects, exactly two marked. The chance that both sampled objects are marked is 1/28. What is the chance that neither is marked?
  1. 15/28
  2. 9/16
  3. 13/28
  4. 21/28
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Independent fair bits X and Y take values 0 or 1. Given that at least one is 1, what is P(X=1,Y=1)?
  1. 1/4
  2. 1/3
  3. 4/9
  4. 2/3
Show answerHide answer

Save this lesson to see this answer.

Set 5: Mixed review: combine and diagnose models10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Independent X and Y take values 0 and 1. Their probabilities of 1 are 0.2 and 0.7. What is P(X+Y=1)?
  1. 0.90
  2. 0.62
  3. 0.76
  4. 0.14
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Independent trials share an unknown success probability p. The probability of no successes in three trials is 0.125. What is the probability of exactly two successes in a new group of five trials?
  1. 5/32
  2. 3/8
  3. 5/16
  4. 1/4
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

X and Y are success counts in two independent groups of 4 and 6 independent Bernoulli trials, all with the same success probability. Given X+Y=3, what is P(X=2)?
  1. 3/10
  2. 36/125
  3. 2/5
  4. 1/5
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Independent Poisson streams have parameters 2 and 3 over the same interval. Given 6 events in total, what is the probability that exactly 2 came from the first stream?
  1. e−222/2!
  2. (62)(0.6)2(0.4)4
  3. (51)(0.4)2(0.6)4
  4. (62)(0.4)2(0.6)4
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Independent transmissions succeed with probability 0.3. The first five transmissions have failed. What is the probability that success occurs within the next two transmissions?
  1. 0.49
  2. 1−0.77
  3. 0.32
  4. 0.51
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A Poisson count satisfies P(X=3)=2P(X=2). At the same constant rate, what is the chance of no events in a window half as long?
  1. e−6
  2. e−3
  3. e−1.5
  4. e−2
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

One device is selected with equal probability from two types. Given its type, two tests fail independently with probability 0.1 or 0.5. What is the probability that the second test fails given that the first failed?
  1. 13/30
  2. 3/10
  3. 13/100
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An integer count has F(2)=0.35 and F(3)=0.80. What is P(X=3)?
  1. 0.80
  2. 0.65
  3. 0.45
  4. 0.20
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Independent first-success trial counts have success probabilities 0.25 and 0.4. What is the probability that their minimum is exactly 3?
  1. 0.453
  2. 0.10(0.90)2
  3. 0.552(0.45)
  4. (0.45)2(0.55)
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Independent trials succeed with probability 1/2. Testing stops at the second success. Given that the first trial failed, what is the probability that testing ends on trial 5?
  1. 1/4
  2. 1/8
  3. 3/16
  4. 3/32
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

67 Key Terms, each with its definition

A

Absolute probability error
An absolute probability error is the magnitude of the difference between an exact event probability and its approximate value.
An absolute probability error bound of 0.01 permits probabilities 0.20 and 0.21 to differ by at most that amount.

B

Bernoulli distribution
A Bernoulli distribution assigns probability p to 1 and probability 1−p to 0, representing the success and failure of a single trial.
A Bernoulli distribution can record whether one tested component is defective, with defects coded as 1.
Binomial coefficient
A binomial coefficient counts unordered selections of k positions from n positions, giving the number of success arrangements in a binomial PMF.
The binomial coefficient (83) counts the ways to place three successes in eight trials.
Binomial distribution
A binomial distribution models the number of successes in a fixed number of independent trials that share one success probability.
The binomial distribution applies to the number of sixes in a fixed set of independent die rolls.

C

Conditional distribution
A conditional distribution describes a variable's probabilities after a specified event or value is known, so it can differ from its unconditional distribution.
The conditional distribution of one independent Poisson count given a total is a binomial allocation.
Conditional independence
Conditional independence means variables are independent after specified information is given, even if they are dependent without that information.
Two tosses can have conditional independence given a coin's identity while sharing dependence when it is hidden.
Counting convention
A counting convention specifies whether a waiting variable records failures or total trials, which determines its support and probability formula.
The counting convention shifts a first-success wait by one when failures are replaced by total trials.
Cumulative distribution function
A cumulative distribution function gives the probability that a variable is at most a real cutoff, including any probability mass at that cutoff.
The cumulative distribution function of an integer count is constant between consecutive integers.

D

Decreasing function
A decreasing function, in the strict sense used for these transformations, assigns smaller outputs to larger inputs and reverses inequality direction.
A decreasing function such as g(x)=5−x turns a lower-tail output event into an upper-tail input event.
Discrete convolution
A discrete convolution finds the mass of an independent sum by adding products of input masses over all pairs that give the required total.
Discrete convolution includes both ordered pairs (1,3) and (3,1) when finding a two-dice sum of 4.
Distribution
A distribution describes the probabilities of a random variable's possible values and thereby determines every event probability about it.
A heads count and a tails count in fair tosses can have the same distribution while being dependent.

E

Equally likely outcomes
Equally likely outcomes are outcomes with the same probability; numerical values that group different numbers of them can have unequal probabilities.
The 36 equally likely outcomes of two fair dice do not make all eleven possible sums equally likely.
Event rate
An event rate is an average number of events per unit of time or space, which becomes a Poisson count parameter when multiplied by interval size.
An event rate of 6 per hour gives parameter 2 for a 20-minute window at the same constant rate.

F

Factorial
A factorial multiplies the positive integers through a nonnegative integer k, with 0! defined as 1, and appears in the Poisson denominator.
The factorial in the Poisson mass for three events is 3!=6, not the event count 3 alone.
Failure probability
A failure probability is the chance of the result not designated as success on a trial, written q=1−p when success has probability p.
A failure probability of 0.7 gives the chance of three consecutive independent failures as 0.73.
Feasible count
A feasible count is a count that the available successes, available failures and sample size allow, so it can have positive probability.
Five aces are not a feasible count in a five-card hand because the deck contains only four aces.
Finite population correction
A finite population correction is the factor (N−n)/(N−1) reducing a binomial reference variance for sampling without replacement when N>1.
The finite population correction becomes zero when the entire population is sampled and the success count is fixed.
First Success distribution
A First Success distribution counts total trials through the first success in independent trials with constant success probability, starting at 1.
A First Success distribution counts the successful trial as well as every preceding failure.

G

Gambler's fallacy
The gambler's fallacy is the belief that past failures make success due in independent trials, despite their unchanged success probability.
Expecting a 6 to be more likely after ten misses is an instance of the gambler's fallacy.
Geometric distribution
A geometric distribution counts failures before the first success in independent trials with a constant success probability, using support from 0.
The geometric distribution assigns positive probability to zero failures, meaning an immediate success.

H

Hypergeometric distribution
A hypergeometric distribution counts successes in a uniform fixed-size sample drawn without replacement from a finite population.
The hypergeometric distribution models an ace count in a random hand from a standard deck.

I

Identically distributed variables
Identically distributed variables share one distribution, so their probabilities match at every value even if their realized values are linked.
Identically distributed variables include heads and tails counts from the same number of fair coin tosses.
Independent random variables
Independent random variables have joint probabilities that factor into products of their marginal probabilities for every pair of discrete values.
Independent random variables can have different distributions, such as a die value and a coin indicator.
Independent trials
Independent trials have outcomes whose joint probabilities factor into the product of the individual trial probabilities.
Independent trials with one common success probability produce a binomial success count.
Indicator random variable
An indicator random variable records whether a specified event occurs, taking value 1 on the event and 0 on its complement.
An indicator random variable for rolling an even result equals 1 when a die shows 2, 4 or 6.

J

Joint mass
A joint mass is the probability of a specified combination of discrete variable values, used to collect the input pairs of a function.
The joint mass for a die and its own sum can be zero even when both marginal masses are positive.
Jump size
A jump size is the difference between a CDF's value at a point and its left limit, and equals the probability mass at that point.
A jump size of 0.3 at value 4 means that the variable equals 4 with probability 0.3.

L

Le Cam's inequality
Le Cam's inequality bounds absolute event-probability error by the sum of squared trial risks for an independent Bernoulli sum and its Poisson approximation.
Le Cam's inequality gives the bound np2 for a binomial count approximated by Pois(np).
Left limit
A left limit is the value approached by a function from smaller inputs; for a CDF at x, it equals the probability of values strictly below x.
Subtract the left limit from the CDF value to recover the probability at the endpoint itself.

M

Marginal PMF
A marginal PMF describes one variable alone, found from discrete pair probabilities by summing over every possible value of the other variable.
A marginal PMF supplies the row totals when a joint table puts one variable's values in rows.
Maximum
A maximum is the largest of the input values; it is at most a cutoff exactly when every input is at most that cutoff.
The maximum of two independent dice has CDF (k/6)2 at integer cutoffs from 1 through 6.
Mean
The mean is the long-run average value of a random variable, used to interpret parameters such as the average count in a Poisson interval.
The mean of a first-success trials count is 1/p, which is an average and not a deadline for success.
Memoryless property
The memoryless property says that after known failures, the remaining first-success wait has the same distribution as the original wait.
The memoryless property leaves the next-roll chance of a 6 unchanged after many rolls without a 6.
Minimum
A minimum is the smallest of the input values; it exceeds a cutoff exactly when every input exceeds that cutoff.
The minimum of two independent waits survives a trial only when both individual waits survive it.
Mode
A mode is a value with the largest point probability; a discrete distribution can have several modes when multiple values tie for that height.
A binomial mode is a most likely count, which need not equal the distribution's mean.
Model assumptions
Model assumptions are the conditions that connect an experiment to a distribution, including independence, replacement and how the count is stopped.
Model assumptions fail for a geometric wait when drawing without replacement changes the success probability.
Mutual independence
Mutual independence means joint probabilities factor across the whole collection; for an infinite collection the rule holds for every finite subcollection.
Mutual independence is needed when multiplying success probabilities across an entire list of trials.

N

Negative binomial distribution
A negative binomial distribution counts failures before a fixed positive number of successes in independent trials with one common success probability.
A negative binomial distribution with success target 3 counts misses before the third made shot.
Normalizing constant
A normalizing constant rescales nonnegative weights with a finite positive total so the resulting probabilities add up to 1.
A normalizing constant of 1/6 turns weights 1, 2 and 3 into a valid three-entry PMF.

O

One-to-one function
A one-to-one function maps distinct input values to distinct outputs, so transforming a discrete variable does not merge their probability masses.
The one-to-one function g(x)=3x+2 changes support labels while keeping their separate masses.

P

Pairwise independence
Pairwise independence means each pair in a collection is independent, without requiring probabilities involving larger groups to factor.
Pairwise independence can hold for three fair bits linked by a parity rule even when mutual independence fails.
Pascal distribution
A Pascal distribution is a name used for the total-trials version of a negative binomial wait, whose support begins at the success target r.
A Pascal distribution with target 2 records at least two trials because both successful trials are counted.
Point probability
A point probability is the probability that a random variable equals one specified value, represented by one mass in a discrete PMF.
The point probability at a die sum of 12 is 1/36, contributed by the single ordered pair (6,6).
Poisson approximation
A Poisson approximation replaces a count of many rare independent or suitably weakly dependent events by a Poisson count with the same mean.
A Poisson approximation to Bin(600,0.005) uses parameter 3, not 600 or 0.005.
Poisson distribution
A Poisson distribution assigns mass e−λλk/k! to each nonnegative integer k, using a positive average-count parameter.
A Poisson distribution with parameter 2 gives zero-count probability e−2 for its interval.
Poisson limit
A Poisson limit is the limiting distribution of binomial counts when trials grow and success probability shrinks while their product tends to a positive constant.
The Poisson limit keeps the average count finite even though the number of available trials grows without bound.
Poisson paradigm
The Poisson paradigm is the principle that a sum of many rare event indicators is often approximately Poisson when dependence is sufficiently weak.
The Poisson paradigm motivates approximating the number of matching birthday pairs in a group.
Poisson parameter
A Poisson parameter is the positive average event count for the specified interval, equal to both the mean and variance of that distribution.
A Poisson parameter of 4.5 is valid even though it exceeds 1 and is not a whole number.
Poisson superposition
Poisson superposition combines independent Poisson counts into a Poisson total whose parameter is the sum of the input parameters.
Poisson superposition combines independent streams with parameters 2 and 5 into a total with parameter 7.
Poisson thinning
Poisson thinning independently labels each event in a Poisson total, producing independent Poisson type counts with parameters scaled by label probabilities.
Poisson thinning with retention probability 0.4 turns a parameter-10 total into a parameter-4 retained count.
Preimage
A preimage of an output under a function is the set of all input values mapped to that output, whose masses add in a discrete transformation.
The preimage of 4 under squaring contains both −2 and 2, so both masses must be included.
Probability mass function
A probability mass function assigns each numerical value its point probability, with nonnegative masses that sum to 1 over the support.
The probability mass function of a die sum is higher at 7 than at 2 because more pairs produce 7.

R

Random variable
A random variable is a function assigning a real number to each outcome of an experiment, so it records a numerical feature of that outcome.
The random variable counting tails assigns the value 1 to the two-toss outcome HT.
Rate share
A rate share is one source's Poisson parameter divided by the total parameter, giving its binomial allocation probability after conditioning on the total.
A rate share of 2/5 allocates each event of a known Poisson total to the first of two independent sources.
Right-continuity
Right-continuity means a function's value at a point agrees with its limit from larger inputs; a CDF therefore includes a jump at its location.
Right-continuity puts the filled endpoint at the upper level of a jump in an integer-count CDF.

S

Sample space
A sample space is the set of all possible outcomes of a random experiment, before any numerical summary groups outcomes together.
The sample space of two coin tosses has four outcomes, while the heads count has three possible values.
Sampling fraction
A sampling fraction is the sample size divided by the population size, indicating how much of the population is removed during sampling.
A sampling fraction of 0.01 means 1% of the population is drawn, supporting a binomial approximation.
Sampling without replacement
Sampling without replacement removes each chosen item before the next draw, changing the composition of the remaining finite population.
Sampling without replacement makes successive success indicators dependent in a mixed population.
Stopping trial
The stopping trial is the trial on which the required success target is first reached, so its result is fixed as success in this waiting model.
The stopping trial is excluded from the positions arranged by the negative binomial coefficient.
Success
A success is the trial result designated as the event being counted, whether that result is desirable, undesirable or neutral in the context.
A defect is a success when the random variable counts defective items in a production sample.
Success target
A success target is the fixed number of successes required to end a waiting experiment, leaving its failure count and total trial count random.
A success target of 4 means the experiment stops as soon as the fourth success occurs.
Support
The support of a discrete random variable is the finite or countably infinite set of numerical values to which it assigns positive probability.
The support of a failures count before a first success starts at 0 and has no fixed upper limit.

T

Tail probability
A tail probability is the probability that a variable lies beyond a chosen cutoff, with the inequality specifying whether that cutoff is included.
The upper tail probability for at least three successes includes the mass at three successes.
Transformation
A transformation applies a specified function to a random variable's numerical values, producing a new variable with masses carried to its outputs.
The transformation Y=X2 can put the masses at opposite inputs onto one squared value.

U

Uniform sample
A uniform sample of a fixed size gives every subset of that size the same chance of selection from the population.
A uniform sample of five objects uses the same probability for each possible five-object subset.
Union indicator
A union indicator equals 1 when at least one of its events occurs and 0 when neither occurs, counting any overlap only once.
A union indicator for two events is their indicator sum minus their indicator product.

V

Variance
The variance is the average squared distance of a random variable from its mean, giving a numerical measure of the distribution's spread.
The variance of a Poisson count equals its mean, so a much larger observed variance is a model warning.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started