Continuous Random Variables

Learn how probability works for quantities that can take any value in an interval, such as times, lengths and masses. Use probability density functions and cumulative distribution functions to find probabilities, quantiles, means and variances. Work with the three central continuous distributions: the uniform, the normal and the exponential. See how one uniform random number can produce a draw from any distribution, how shifting and rescaling move between members of a family, why exponential waiting times are memoryless, and how a Poisson process links counts of arrivals with exponential waiting times.

IntermediateLesson 4 of 9 in Probability Theory Course

What you will learn

  1. Use probability density functions and cumulative distribution functions to describe a continuous random variable, find probabilities and quantiles from them, and compute its mean and variance with integrals.
    • Read a PDF and a CDF and tell continuous from discrete
      Define the CDF of any random variable and the PDF of a continuous one, state what makes a PDF or CDF valid, and interpret density values correctly.
    • Find probabilities, CDFs and quantiles from a PDF
      Find a normalizing constant, move between a PDF and its CDF, compute interval probabilities, and find medians and other quantiles, including for piecewise densities.
    • Compute the mean and variance of a continuous random variable
      Find expected values with integrals, apply LOTUS to functions of a continuous random variable, compute variances, and recognize when a mean or variance does not exist.
  2. Model a completely random position in an interval with the uniform distribution, and use the universality of the uniform to turn uniform random numbers into draws from other distributions and back.
    • Use the uniform distribution on an interval
      State the PDF, CDF, mean and variance of a uniform random variable, find probabilities as proportions of length, and condition on a subinterval.
    • Simulate and transform with the universality of the uniform
      Use a CDF and its inverse to turn a standard uniform random variable into one with a chosen distribution, and turn a continuous random variable into a standard uniform one.
  3. Find the distribution, mean and variance of a linear transformation a + bX, and use location-scale families to move between a standard distribution and any member of its family.
    • Find the PDF, CDF and moments of a + bX
      Derive the CDF and PDF of a shifted and rescaled continuous random variable, including a negative scale factor, and find its mean, variance and standard deviation.
    • Use location-scale families and standardization
      Recognize location and scale parameters, build a whole family from one standard member, and standardize a random variable to mean 0 and standard deviation 1.
  4. Describe the standard normal distribution and its properties, standardize any normal random variable to find probabilities and quantiles, and use normal models for sums and measurement data.
    • Describe the standard normal distribution
      State the standard normal PDF and CDF, show why the PDF integrates to 1 and why its mean is 0 and its variance 1, and use symmetry to work with Φ.
    • Find probabilities for any normal random variable
      Standardize a normal random variable to compute interval and tail probabilities, and use the facts that linear functions and sums of independent normals are normal.
    • Find normal quantiles and judge normal models
      Find cutoffs with the inverse of Φ, solve for an unknown mean or standard deviation from a probability condition, and judge whether a normal model is reasonable.
  5. Describe the exponential distribution, explain and use its memoryless property, and find the distribution of the first and the expected time of the last of several independent exponential times.
    • Calculate with the exponential distribution
      State the PDF, CDF and survival function of an exponential random variable, derive its mean, variance and median, and compute probabilities and quantiles for waiting times and lifetimes.
    • Explain and use memorylessness
      State the memoryless property, prove it for the exponential distribution, use it for conditional probabilities and expectations, and recognize distributions that lack it.
    • Find the first and the last of several exponential times
      Show that the minimum of independent exponential random variables is exponential with the summed rate, and use memorylessness to find the expected maximum.
  6. Model events that occur at a constant average rate with a Poisson process, find probabilities of counts in time intervals, and connect counts with exponential waiting times.
    • Count arrivals in a Poisson process
      State the defining properties of a Poisson process, use the Poisson distribution of counts over intervals of any length, and use the independence of counts in disjoint intervals.
    • Connect arrival times with exponential waiting times
      Show that the waiting times between arrivals are independent exponential random variables, use count–time duality for the nth arrival, and simulate a Poisson process.

Continuous Random Variables study guide

6 chapters

1

Describe continuous random variables with PDFs and CDFs

Continuous measurements require probabilities over ranges. A density shows where probability is concentrated, while a CDF records how much has accumulated by a cutoff. Use these two views to check distributions, calculate intervals and quantiles, and then weight values to find means and variances. Piecewise densities and heavy tails show why the support and convergence of an integral matter as much as the integration itself.

1.1 Read a PDF and a CDF and tell continuous from discrete

A time or length can vary continuously even though an instrument displays only a few decimal places. Its distribution describes uncertainty before measurement. Two functions describe that distribution: one accumulates probability, and the other shows how tightly probability is packed.

Read cumulative probability

The cumulative distribution function, or CDF, is F(x)=P(X≤x). It is defined for every real number, whether the variable is discrete, continuous, or mixed. A valid CDF never decreases, is right-continuous, approaches 0 far to the left, and approaches 1 far to the right. Right-continuity means that approaching a point from larger values gives the function's value at that point.

Subtract cumulative amounts to isolate an interval:

P(a<X≤b)=F(b)−F(a).

The first term counts everything up to the upper bound. The second removes everything up to and including the lower bound. This identity works even when the CDF has jumps.

Read density as area

A continuous variable has a probability density function, or PDF, with

f(x)≥0,∫−∞∞f(x) dx=1.

Its interval probabilities are areas: P(a≤X≤b)=∫abf(x) dx. Accumulating all density to the left gives F(x)=∫−∞xf(t) dt. Where the density is continuous, differentiation reverses accumulation: F′(x)=f(x).

The support tells you where the density is positive. Always state the zero-density region too. For a density equal to 2 between 0 and 0.5 and zero elsewhere, total area is 2(0.5)=1. The density exceeds 1, but P(0.1<X<0.2)=2(0.1)=0.2 is a probability. If the measurement is in minutes, the density is per minute; multiplying by a width in minutes cancels the unit.

At a point where the PDF is continuous, a short interval has probability approximately density times width:

P(x<X<x+ε)≈f(x)ε.

Equal short widths therefore let you compare local likelihoods. The continuity condition matters: changing the height of a PDF at one isolated point leaves all its areas unchanged.

A PDF can be changed at finitely many inputs without changing its distribution, because those changes add no area. This is why densities describe where probability accumulates over neighborhoods. A single height supports a local approximation only when the density is continuous there.

Points, jumps, and mixed distributions

Every exact value of a continuous variable has probability zero because an interval of zero width has zero area. Thus including or excluding an endpoint leaves an interval probability unchanged. An exact value is still observed; zero probability for a single point does not make that value impossible.

DistributionWhere probabilities come fromCDF behavior
DiscreteSum PMF valuesJumps at values with positive mass
Continuous with a PDFIntegrate densityContinuous, with no jumps
Mixed discrete and continuousCombine point masses and areasJumps and continuously rising parts

For example, a counter can have no wait with probability 0.3 and a continuously spread positive wait otherwise. Its CDF jumps by 0.3 at zero. It has no single PDF representing the whole distribution. Reading f(2) as P(X=2) would confuse density with a point mass.

Key Takeaways

  • CDF height is cumulative probability; PDF area is interval probability.
  • A PDF is nonnegative and integrates to 1 over the whole real line.
  • Continuous variables assign probability zero to every individual value.
  • A density can exceed 1; its measurement unit is reciprocal to that of the variable.
  • A mixed distribution can have a CDF jump and a continuous part.

1.2 Find probabilities, CDFs and quantiles from a PDF

A density formula often contains an unknown constant or changes at a boundary. Begin by identifying its support. Then use total area, accumulated area, and the desired cumulative probability in that order.

Normalize before calculating

Suppose f(x)=cx2 for 0≤x≤2 and zero elsewhere. Nonnegativity requires a nonnegative constant. Total probability determines it:

1=∫02cx2 dx=8c3,c=38.

Now accumulate from the left edge, using a separate variable inside the integral:

F(x)={0x<0,x3/80≤x≤2,1x>2.

The middle piece comes from ∫0x(3/8)t2 dt=x3/8. Below the support there is no area; above it all probability has accumulated. Check the joins: the middle formula gives 0 at zero and 1 at two. An indefinite integral with an undetermined constant does not yet specify a CDF.

Find interval and tail probabilities

For this distribution,

P(0.5<X<1.5)=1.53−0.538=0.40625.

The same answer comes from integrating the density between those bounds. For a threshold above the support, use the appropriate outer piece: P(X≤3)=1. Substituting 3 into the middle formula would produce a number above 1.

The survival function is 1−F(x)=P(X>x). For F(x)=1−x−2 on x≥1 and zero below 1, differentiation gives f(x)=2x−3 for x>1, zero below 1. The tail at 2 is immediately P(X>2)=2−2=1/4. A choice of density value at the single boundary point changes no probability.

Solve for quantiles

The p-quantile is the smallest value at which the CDF reaches p:

F−1(p)=min⁡{x:F(x)≥p},0<p<1.

For a continuous, strictly increasing part of the CDF, solve F(xp)=p. The median corresponds to p = 0.5. With F(x)=x3/8, the equation x3/8=1/2 gives x=43≈1.587. With F(x)=1−x−2, the 0.75-quantile is 2. A quantile is a value of the variable, so it carries the variable's unit; p is a probability.

Carry accumulated area across pieces

For the triangular PDF f(x)=x on [0,1], f(x)=2−x on (1,2], and zero elsewhere, the first piece contributes area 1/2. Above 1, include that area:

F(x)=12+∫1x(2−t) dt=1−(2−x)22.

On [0,1] the CDF is x2/2; outside the support it is 0 or 1. Both inner formulas give F(1)=1/2. Restarting the second integral at zero accumulated probability would create an invalid jump. Finally,

P(0.5<X<1.5)=0.875−0.125=0.75.

For a quantile that falls in a piecewise density, first compare p with the CDF values at the joins. In the triangular example, the 0.9-quantile lies above 1 because the area through 1 is only 0.5. Solve 1−(2−x)2/2=0.9 to get x=2−0.2≈1.553. The other algebraic root lies outside the support. Checking the piece before solving avoids applying a correct formula in the wrong range.

Key Takeaways

  • Normalize over the complete support before finding other probabilities.
  • A CDF needs its pieces below, within, and above the support.
  • Quantiles reverse the direction of a CDF calculation.
  • A later CDF piece includes probability accumulated in every earlier piece.

1.3 Compute the mean and variance of a continuous random variable

For a continuous variable, expectation uses density as a weight. The density itself integrates to 1; multiplying by values before integrating produces a mean or another moment.

Weight values by density

The mean is

E(X)=∫−∞∞xf(x) dx.

A finite mean requires ∫∣x∣f(x) dx<∞. This absolute-integrability condition prevents a false cancellation between divergent positive and negative tails. When it exists, the mean is the density's balance point and the long-run average of independent draws.

The law of the unconscious statistician, or LOTUS, lets you average a function directly:

E(g(X))=∫−∞∞g(x)f(x) dx.

Use the PDF of X even when the requested average concerns a function of X. You do not need to find that function's distribution first. Linearity still applies: E(aX+bY)=aE(X)+bE(Y) for finite expectations, without requiring independence.

Compute variance in two stages

For f(x)=38x2 on [0,2], first calculate the first and second moments:

E(X)=38∫02x3 dx=32, E(X2)=38∫02x4 dx=125.

Then use Var⁡(X)=E(X2)−[E(X)]2:

Var⁡(X)=125−94=320=0.15.

The standard deviation is 0.15≈0.387. If X is measured in seconds, variance is in square seconds and SD is in seconds. The mean 1.5 and median about 1.587 differ: the low-value tail pulls the balance point to the left.

Do not replace an average of a nonlinear function with that function of the average. For U∼Unif(0,1),

E(U2)=∫01u2 du=13,[E(U)]2=14.

Their difference is the variance. Omitting the density from LOTUS also changes the weighting; integrating the density alone only checks total probability.

Use tails and check convergence

For a nonnegative variable, the tail formula is

E(X)=∫0∞P(X>x) dx.

For the density 2/x3 on x>1, the survival function is 1 before 1 and x−2 afterward. The mean is 1+∫1∞x−2 dx=2. But E(X2)=∫1∞2/x dx=∞, so its variance is infinite. A valid density need not have finite moments.

The Cauchy density 1/[π(1+x2)] gives a stronger warning. It is symmetric about zero, but its absolute first moment diverges. Its mean is undefined, not zero. Symmetry gives a zero mean only when the expectation exists; matching divergent tails cannot establish it.

Linearity also makes an expected squared deviation easy to calculate. For the polynomial example, E((X−1)2)=E(X2)−2E(X)+1=12/5−3+1=2/5. This is larger than the variance 3/20 because 1 is not the mean. More generally, expanding around the mean gives E((X−c)2)=Var⁡(X)+(μ−c)2. Averaging squared distances is smallest at the mean, which explains the role of that center in the variance definition.

Key Takeaways

  • LOTUS weights the requested function by the PDF of the original variable.
  • Variance is the second moment minus the square of the first moment.
  • SD has the original unit; variance has the squared unit.
  • The tail integral gives the mean of a nonnegative variable.
  • A valid PDF can have infinite variance or no mean.
  • Symmetry alone does not establish a finite mean.
2

Work with the uniform distribution and its universality

A uniform model starts with equal probability for equal interval lengths. Its simple geometry leads to means, variances, and conditional probabilities with very little calculation. The same distribution also supplies a common starting point for simulation: a random probability level becomes a value through a quantile function. Following this link in both directions explains why percentile ranks from continuous distributions are uniform.

2.1 Use the uniform distribution on an interval

A uniform model spreads probability evenly over a finite interval. Equal lengths within that interval receive equal probability. It is useful for random positions, arrivals within a schedule, and some rounding errors.

Use length to find probability

For U∼Unif(a,b) with a<b, the PDF is 1/(b−a) between the endpoints and zero elsewhere. Multiplying height by width gives

P(c<U<d)=d−cb−a,a≤c≤d≤b.

If the event extends beyond the support, first take its intersection with the support. The endpoint convention does not affect probability because individual points have probability zero.

Accumulation gives a straight ramp:

F(x)={0x≤a,(x−a)/(b−a)a<x<b,1x≥b.

A commuter arrives uniformly between 8:00 and 8:20. For X measured in minutes after 8:00, P(5<X<11)=6/20=0.3. The probability depends on the six-minute width, not the position of that interval within the available twenty minutes.

Derive center and spread

The density weights all positions equally. Integration gives

E(U)=1b−a∫abx dx=a+b2, E(U2)=a2+ab+b23.

Subtracting the square of the mean gives Var⁡(U)=(b−a)2/12. In the commuter model, the mean is 10 minutes, variance is 400/12≈33.3 square minutes, and SD is about 5.77 minutes.

The standard uniform has endpoints 0 and 1, mean 1/2, and variance 1/12. From a standard uniform draw, a+(b−a)U produces a draw on (a,b). The left endpoint supplies the shift; interval width supplies the stretch. The endpoint b by itself is neither a scale factor nor an SD.

Condition by changing the available interval

Given c<U<d within the original support, the conditional variable is uniform on (c,d). Divide each event length by the length that remains available. If the commuter arrives after 8:10, the remaining arrival interval is ten minutes long. The conditional mean arrival time is 8:15, and the probability of arrival after 8:17 is 3/10.

Uniformity does not survive every transformation. For U∼Unif(0,1), the event U2≤1/4 is the event U≤1/2, with probability 1/2. A uniform variable on (0,1) would put probability 1/4 there. Squaring packs more probability near zero.

A rounding error for a length rounded to the nearest millimeter is often modeled as uniform from −0.5 to 0.5 mm, giving SD 1/12≈0.289 mm. No uniform distribution exists over the whole real line or an infinite half-line: positive constant density gives infinite area, while zero density gives zero area.

To see why variance depends on width squared, write U=a+(b−a)V with standard uniform V. Its second moment is E(V2)=∫01v2dv=1/3, so Var⁡(V)=1/3−1/4=1/12. Rescaling multiplies this by (b−a)2. Doubling an interval’s width therefore doubles its SD and quadruples its variance, even if its midpoint remains fixed.

Key Takeaways

  • Uniform probabilities are proportions of interval length.
  • The midpoint is the mean; width squared divided by 12 is the variance.
  • Conditioning on a subinterval gives a uniform distribution on that subinterval.
  • Nonlinear transformations need not preserve uniformity.

2.2 Simulate and transform with the universality of the uniform

Uniform random numbers can be used to simulate any distribution. The bridge is the quantile function: a uniform number supplies a random probability level, and the quantile function finds the value at that level.

Send probability levels to values

Let U∼Unif(0,1) and let F be the target CDF. When F is continuous and strictly increasing on its support, define X=F−1(U). Then

P(X≤x)=P(U≤F(x))=F(x).

The middle event has probability F(x) because a standard uniform places that fraction of its mass below F(x). This proves that X has the target CDF.

To use the inverse-CDF method, write u=F(x), solve for x, and substitute a uniform draw for u. For an exponential target,

u=1−e−λx⟹x=−ln⁡(1−u)λ.

At rate 0.5 and uniform draw 0.6, the simulated value is −ln⁡(0.4)/0.5≈1.833. The alternative −ln⁡U/λ has the same distribution because 1−U is also standard uniform. These formulas give different values from the same supplied draw; equal distributions do not mean equal outputs draw by draw.

For the logistic CDF F(x)=ex/(1+ex), solving gives F−1(u)=ln⁡[u/(1−u)]. The draw 0.8 maps to ln⁡4≈1.386. For F(x)=1−x−2 above 1, the inverse is (1−u)−1/2, so 0.75 maps to 2. Numerical inversion works when no elementary inverse is available, as for the normal CDF.

Send observations to probability levels

The reverse result is the probability integral transform: if X has a continuous CDF F, then F(X)∼Unif(0,1). In the strictly increasing case,

P(F(X)≤u)=P(X≤F−1(u))=u.

An observation's CDF value is its percentile rank. Continuous observations land in the bottom 20% with probability 0.2 and in the 60th-to-90th percentile band with probability 0.3. For X∼Expo(1), this transform is 1−e−X.

Handle jumps with a generalized inverse

For any CDF, define F−1(u) as the smallest x with F(x)≥u. This generalized inverse makes inverse-CDF simulation work for discrete targets too. To generate a Bernoulli variable with success probability 0.3, return 0 for uniform draws at most 0.7 and 1 for draws above 0.7. The jump's width on the probability scale gives the mass of the corresponding outcome.

The reverse transform needs continuity. For that Bernoulli variable, F(X) takes only the values 0.7 and 1, so it cannot be uniform. Keep the directions straight: use the inverse CDF to generate target values from uniforms, and use the continuous variable's CDF to obtain uniform ranks. Substituting U into a PDF does neither job.

When a continuous CDF has a flat piece, its inverse is understood in this generalized sense too. The flat input interval carries no probability, so simulated values skip that gap. The probability integral transform still holds for a continuous CDF even without strict increase; the simple inverse proof above treats the strictly increasing case. For a discrete target, a probability level exactly at a jump boundary is assigned by the smallest-value convention. A uniform draw hits that exact boundary with probability zero, so this choice does not change the generated distribution.

Key Takeaways

  • The inverse CDF maps uniform probability levels to target values.
  • A continuous variable’s CDF maps its values to uniform percentile ranks.
  • The generalized inverse allows simulation from discrete CDFs too.
  • The reverse probability integral transform requires a continuous CDF.
  • Equivalent simulation formulas can give different outputs from the same draw.
3

Shift and rescale random variables

A change of origin or measurement unit changes numerical values without losing the underlying uncertainty. Track how a shift and a scale move the support, change density height, and transform the mean and spread. Negative multipliers require an inequality reversal. Then use a standard member of a distribution family to handle many parameter choices, while keeping the distinction between standardizing a curve and making it normal.

3.1 Find the PDF, CDF and moments of a + bX

A shift changes the origin, and a scale factor changes distances from that origin. To find the new distribution, first rewrite an event about the transformed variable as an event about the original one.

Derive the CDF, then the PDF

For Y=a+bX with b>0,

FY(y)=P(X≤y−ab)=FX(y−ab).

Differentiating with the chain rule gives fY(y)=fX((y−a)/b)/b. If b is negative, division reverses the inequality. For continuous X,

FY(y)=P(X≥y−ab)=1−FX(y−ab).

Both cases give the single density rule

fY(y)=1∣b∣fX(y−ab),b≠0.

The absolute value keeps density nonnegative. The reciprocal factor preserves area: stretching the horizontal range makes the density lower. If U∼Unif(0,1), then 2U has density 1/2 over (0,2); leaving the height at 1 would double the total probability.

Transform the support too

For X∼Expo(1), Y=5+2X is supported above 5, with

fY(y)=12e−(y−5)/2,y>5.

It is zero below 5. For Y=−X the support moves to negative values, and fY(y)=ey for y<0. In a negative scaling, calculate the transformed endpoints and put the smaller one first.

As another example, if X has density 3x2/8 on [0,2] and Y=4−2X, the support is [0,4]. The formula gives fY(y)=3(4−y)2/64 inside it. This density decreases because large X values become small Y values. Its integral is still 1.

Move moments without reintegrating

For finite mean and variance,

E(Y)=a+bE(X),Var⁡(Y)=b2Var⁡(X), SD⁡(Y)=∣b∣SD⁡(X).

Subtracting the new mean shows why variance ignores the shift: Y−E(Y)=b(X−E(X)). Squaring this deviation supplies the factor b2. A negative scale reverses direction but cannot give a negative spread.

If E(X)=1.5 and Var⁡(X)=0.15, then Y=2+10X has mean 17, variance 15, and SD about 3.87. A conversion from meters to millimeters multiplies values and SD by 1000 and variance by one million. The density, measured per millimeter, is divided by 1000 after its argument is converted.

If b = 0, Y is the constant a and has no continuous PDF. For a nonlinear function, begin again from P(g(X)≤y); the fixed reciprocal-scale formula above belongs to linear transformations.

You can check the transformed PDF by substitution. For a positive b, set x=(y−a)/b, so dy=b dx. In ∫fY(y)dy, this b cancels the density’s factor 1/b, leaving ∫fX(x)dx=1. For negative b, the integration endpoints reverse as well, producing the absolute value in the final rule. This area check catches a missing factor even when the transformed support is correct.

Key Takeaways

  • Rewrite the CDF event before differentiating.
  • Negative scaling reverses inequalities and reflects the support.
  • The PDF needs a reciprocal absolute scale factor.
  • Shifts leave variance unchanged; scaling multiplies it by the square.
  • SD scales by the absolute value of the multiplier.

3.2 Use location-scale families and standardization

One standard distribution can describe a whole family of curves. A location parameter shifts the curve; a positive scale parameter stretches or compresses it. These operations preserve shape while changing numerical values.

Build a family from one member

For a fixed distribution of X, the distributions of a+bX with real a and positive b form a location-scale family. With only positive multiples bX, they form a scale family.

FamilyStandard memberGeneral member
UniformU∼Unif(0,1)a+(b−a)U∼Unif(a,b)
NormalZ∼𝒩(0,1)μ+σZ∼𝒩(μ,σ2)
ExponentialW∼Expo(1)W/λ∼Expo(λ)

In uniform notation, b names the upper endpoint, so the scale is the width b−a. In normal notation, the second parameter is variance; the multiplier of Z is the SD. In exponential notation, the rate is the reciprocal of the scale.

For example, dividing a rate-one exponential by 4 compresses waiting times. Its survival function becomes P(W/4>t)=P(W>4t)=e−4t, so the new rate is 4. Adding a nonzero constant instead moves the lower endpoint and produces a shifted exponential, not a member of the unshifted exponential family.

Standardize center and spread

For a variable with finite mean μ and positive finite SD σ, define

Z=X−μσ.

The transformed mean is zero and the variance is one, by the linear moment rules. A particular z-score, z=(x−μ)/σ, measures signed distance from the mean in SD units. A mass of 1023 g from a process with mean 1010 g and SD 8 g has z-score 13/8=1.625. It is 1.625 SDs above the mean.

Standardization does not change a skewed curve into a bell curve. If X is rate-one exponential, then X−1 has mean zero and SD one but remains right-skewed, supported above −1. A standardized variable is standard normal when the original variable is normal.

Reuse probabilities and quantiles

With a positive scale, the event a+bX≤y becomes X≤(y−a)/b. This moves a question about a family member back to the standard distribution. It also moves quantiles forward: if xp is the p-quantile of X, then a+bxp is the p-quantile of a+bX.

The median of a rate-one exponential is ln⁡2. Scaling by 1/λ therefore gives median ln⁡2/λ. A uniform p-quantile is a+(b−a)p because p itself is the p-quantile of the standard uniform. Keep the positive-scale condition: a negative multiplier reverses the order of values, so lower and upper tails exchange roles.

As a concrete shape check, standardize U∼Unif(0,1). Its mean is 1/2 and SD is 1/12, so Z=12(U−1/2) is still uniform, now between −3 and 3. It has mean zero and variance one but a flat density with bounded support. Neither those two moments nor the unitless z-score requires a bell curve.

Key Takeaways

  • Location shifts a curve; positive scale changes its width.
  • Uniforms and normals form location-scale families; exponentials form a scale family.
  • Standardization gives mean zero and SD one when those moments exist.
  • Standardization preserves shape and need not produce a normal distribution.
4

Calculate with the normal distribution

The normal distribution supplies a common model for symmetric measurements and a shared reference for many statistical methods. Begin with its standard density, normalization, and symmetry. Translate other normal variables into standard units to calculate intervals, combine independent measurements, and work backward from a probability to a cutoff or parameter. Check the shape and support of a real quantity before accepting the model.

4.1 Describe the standard normal distribution

The standard normal is the shared reference for all normal distributions. Its familiar bell shape has a precise density, and its symmetry reduces many probability questions to a single left-tail lookup.

Distinguish the curve from its accumulated area

For Z∼𝒩(0,1), the density is

φ(z)=12πe−z2/2,−∞<z<∞.

The curve is symmetric about zero, reaches its maximum 1/2π≈0.399 at zero, and changes curvature at −1 and 1. Its tails approach zero quickly. The CDF is

Φ(z)=∫−∞zφ(t) dt.

Phi gives area to the left. It has no elementary closed form, so use tables or software. Useful values are Φ(0)=0.5, Φ(1)≈0.8413, Φ(1.96)≈0.9750, and Φ(2)≈0.9772. Lowercase phi is a density; uppercase Phi is a probability. In particular, P(Z=1)=0 despite a positive density there.

Use symmetry for tails

Reflection leaves the density unchanged, so Φ(−z)=1−Φ(z). For example, Φ(−1)≈0.1587. An interval that crosses zero still uses upper CDF minus lower CDF:

P(−1<Z<2)=Φ(2)−Φ(−1)≈0.8186.

Carry extra digits during subtraction. Subtracting two already rounded four-decimal values can shift the final digit. For a nonnegative cutoff,

P(∣Z∣>z)=2[1−Φ(z)].

The two equal tails explain the factor 2. The central probabilities within 1, 2, and 3 SDs are about 0.6827, 0.9545, and 0.9973. A central 95% interval uses about ±1.96.

Normalize with a double integral

The factor 1/2π comes from the Gaussian integral. Let I=∫−∞∞e−x2/2 dx. Multiplying two copies gives an integral over the plane:

I2=∬ℝ2e−(x2+y2)/2 dx dy.

Polar coordinates combine the exponent into −r2/2 and supply the area factor r:

I2=∫02π∫0∞e−r2/2r dr dθ=2π.

The inner integral is 1 by substitution, and I is positive, so I=2π. Dividing by I makes the density integrate to 1.

Verify the moments

The integrand zφ(z) is odd and absolutely integrable, giving E(Z)=0. For the second moment, use φ′(z)=−zφ(z) and integration by parts:

E(Z2)=[−zφ(z)]−∞∞+∫−∞∞φ(z) dz=1.

The boundary term vanishes. Thus variance is 1. Normal curves arise as useful approximations for many sums of small independent contributions when the conditions of the central limit theorem hold; the exact PDF above defines the distribution itself.

For a general central interval symmetric about zero, combine symmetry with a CDF difference to obtain P(−c<Z<c)=2Φ(c)−1 for c≥0. This is the complement of the paired-tail formula. At c=1.96, the left cumulative area is about 0.975, leaving central area 0.95. These formulas describe areas, so their outputs stay between zero and one even though c itself can be any nonnegative number.

Key Takeaways

  • Lowercase phi is density; uppercase Phi is the left-tail probability.
  • Symmetry converts a negative cutoff into a positive-cutoff tail.
  • Two-sided tail probabilities count both equal tails.
  • The Gaussian integral supplies the normalizing constant.
  • The standard normal has mean zero and variance one.
  • Carry extra digits through probability subtractions.

4.2 Find probabilities for any normal random variable

Every normal curve is a shifted and stretched standard normal. Standardization lets you translate bounds into SD units and then use the same CDF for any mean and variance.

Identify the parameters correctly

The notation X∼𝒩(μ,σ2) specifies mean μ and variance σ2, with positive SD σ. Equivalently, X has the distribution of μ+σZ for standard normal Z. Its density is

f(x)=1σ2πexp⁡(−(x−μ)22σ2).

The CDF is P(X≤x)=Φ((x−μ)/σ). For an interval, standardize both bounds:

P(a<X<b)=Φ(b−μσ)−Φ(a−μσ).

Take a square root if the distribution gives variance. For 𝒩(1010,64), the denominator is 8, not 64. Check software conventions too; many functions request SD directly.

Translate an interval step by step

Suppose flour bag mass is X∼𝒩(1010,82) in grams. For a bag below 1000 g, the standardized cutoff is (1000−1010)/8=−1.25, giving probability Φ(−1.25)≈0.1056.

For a mass between 1000 and 1020 g, the bounds become −1.25 and 1.25. Therefore,

P(1000<X<1020)=Φ(1.25)−Φ(−1.25)≈0.7887.

The probability within one SD is about 0.6827, so the wider ±1.25 SD interval should contain more than that. This provides a useful scale check. The familiar one-, two-, and three-SD ranges here are 1002–1018 g, 994–1026 g, and 986–1034 g.

Combine independent normal quantities

A nonconstant linear transformation stays normal:

a+bX∼𝒩(a+bμ,b2σ2).

For example, dividing the flour mass by 1000 gives kilograms with mean 1.010 and SD 0.008. For independent normals, sums and differences are also normal. Add the means for a sum and subtract them for a difference; add variances in both cases:

X1±X2∼𝒩(μ1±μ2,σ12+σ22).

Independent rod parts with mean lengths 50 and 30 mm and SDs 0.3 and 0.4 mm have total length normal with mean 80 mm and variance 0.09+0.16=0.25 square millimeters. Its SD is 0.5 mm, so P(X1+X2>81)=1−Φ(2)≈0.0228.

Adding SDs would give 0.7 mm and the wrong tail probability. Subtracting independent quantities also adds variances: reversing the sign of a random deviation does not remove its squared size. Independence is needed for this variance addition and for the stated normal-sum result.

The same reasoning handles weighted independent normal quantities. Multiplying the rod parts by constants p and q gives mean 50p+30q and variance 0.09p2+0.16q2 for their weighted sum. Each coefficient changes its own variable’s variance before independence allows addition. For a fixed adjustment c, adding c afterward changes only the mean. Keep these operations in order when combining a unit conversion, subtraction, and a probability bound.

Key Takeaways

  • Standardize bounds with the SD, not the variance.
  • Normal interval probabilities subtract two standard normal CDF values.
  • A linear transformation preserves normality.
  • For independent normal sums and differences, variances add.

4.3 Find normal quantiles and judge normal models

A probability calculation starts with a cutoff and finds an area. A quantile calculation starts with an area and finds the cutoff. The same reversal helps set a process mean or control its spread.

Match the correct cumulative probability

Write zp=Φ−1(p) for the standard normal p-quantile. The p-quantile of X∼𝒩(μ,σ2) is

xp=μ+σzp.

Useful values are z0.90≈1.2816, z0.95≈1.6449, z0.975≈1.9600, and z0.99≈2.3263. Symmetry gives z1−p=−zp. The quartiles use approximately ±0.6745.

For flour mass with mean 1010 g and SD 8 g, the cutoff exceeded by only 5% is the 0.95-quantile: 1010+8(1.6449)≈1023.2 g. The lower 5% cutoff is about 996.8 g. For the central 95%, split the remaining 5% between two tails. Use ±1.96, not ±1.6449, because each tail then contains 2.5%.

Solve backward for an unknown parameter

Suppose SD is 8 g and at most 1% of bags may be below 1000 g. Translate the requirement before solving:

Φ(1000−μ8)≤0.01.

Since Phi is increasing, the standardized bound must be at most z0.01≈−2.3263. Thus

1000−μ≤−18.6104,μ≥1018.6104.

The minimum mean is about 1018.6 g. Increasing the mean further moves the threshold deeper into the lower tail. The negative sign on the lower-tail quantile is essential.

Now keep the mean at 1010 g and require at most 2% below 1000 g. The condition becomes −10/σ≤z0.02≈−2.0537. Rearranging with positive σ gives

σ≤102.0537≈4.87 g.

This is a maximum allowable SD, not a minimum. A tighter distribution puts fewer observations ten grams below its mean. Substitute a candidate parameter into the original probability condition to check the direction of the inequality.

Check whether a normal model makes sense

A normal distribution assigns some probability to negative values. That can be harmless for a positive measurement whose mean is many SDs above zero, as with the flour mass. For a waiting time with mean and SD both equal to 2 minutes, however, a normal model gives P(T<0)=Φ(−1)≈0.1587. About 16% impossible values is a serious mismatch.

A roughly symmetric, single-peaked pattern without extreme outliers supports a normal model. Strong skew, a boundary near the center, or unusually heavy tails gives reason to choose another model. Knowing only a mean and an SD does not establish a normal shape. For positive, strongly right-skewed waiting times, the exponential may be appropriate when its constant-hazard assumption fits.

If two normal quantiles are supplied and both parameters are unknown, write two equations in μ and σ. Symmetric probability levels make this especially simple: the midpoint of the two quantiles is μ, and half their separation is σ times the positive standard quantile. Subtracting the two equations eliminates μ. After finding σ, substitute into either original equation to recover the mean and check that the other quantile is reproduced.

Key Takeaways

  • Convert tail wording into a cumulative probability before inverting Phi.
  • Central intervals divide the omitted probability between two tails.
  • Parameter requirements may give a bound, not one exact parameter value.
  • Check shape, tails, and impossible values when judging a normal model.
  • A mean and an SD alone do not determine distribution shape.
5

Model waiting times with the exponential distribution

Exponential waiting times have a simple survival curve and a distinctive lack of aging. Connect rate with mean lifetime, calculate intervals and quantiles, and use conditional survival to explain memorylessness. Several independent clocks introduce a new distinction: the first event adds their rates, while the last event depends on successive completions. These ideas prepare you to connect waiting times with streams of random arrivals.

5.1 Calculate with the exponential distribution

Exponential distributions describe positive waiting times with a constant hazard rate. Their rate parameter controls how quickly the survival probability falls. A larger rate means shorter waits.

Keep rate, scale, and units separate

For X∼Expo(λ) with λ>0,

f(x)=λe−λx(x>0),F(x)=1−e−λx(x≥0).

The PDF and CDF are zero below zero. The survival function is P(X>x)=e−λx for nonnegative x. Some software instead uses the mean, or scale, β=1/λ. A mean lifetime of 2000 hours corresponds to rate 0.0005 per hour. The exponent −λx=−x/β must be unitless.

A constant hazard means that, conditional on survival so far, the chance of failure over a future interval of a fixed length is the same at every age. This model fits exponential waits between Poisson arrivals and lifetimes without aging. A constant average event rate alone is insufficient: events exactly ten minutes apart have a constant average rate but fixed gaps.

Calculate moments from the tail

The tail formula makes the mean especially short:

E(X)=∫0∞e−λx dx=1λ.

Integration by parts for the second moment gives E(X2)=2/λ2. Therefore

Var⁡(X)=1λ2,SD⁡(X)=1λ.

The mean and SD are equal. A rate-one exponential has mean and variance one; dividing it by λ gives a rate-λ exponential and reproduces these moment formulas.

Find intervals and percentiles

For a component with mean life 2000 hours,

P(X>3000)=e−1.5≈0.2231, P(X≤1000)=1−e−0.5≈0.3935.

Subtract survival probabilities for an interval: P(1000<X≤3000)=e−0.5−e−1.5≈0.3834. The subtraction order must keep the answer positive, because the earlier cutoff has the larger survival probability.

Solve the CDF equation to get the p-quantile:

1−e−λxp=p,xp=−ln⁡(1−p)λ.

The median is ln⁡2/λ, about 0.693 times the mean. For the component, it is about 1386 hours; the 90th percentile is 2000ln⁡10≈4605 hours. The long right tail pulls the mean above the median. Only e−1≈0.3679 of lifetimes exceed the mean, so the mean does not split observations in half.

A half-life is the median time to decay for an individual unstable atom. A half-life of ten minutes corresponds to rate ln⁡2/10 per minute. In any exponential calculation, identify whether a supplied time is the mean, median, or percentile before using it to find the rate.

You can recover the rate from any supplied percentile, not just the mean. If P(X≤q)=p, then e−λq=1−p and λ=−ln⁡(1−p)/q. This also shows how scaling time changes the rate. Expressing hours in minutes multiplies every lifetime by 60, so the rate per minute is the hourly rate divided by 60. Survival probabilities remain the same because rate times elapsed time is unchanged.

Key Takeaways

  • The exponential rate is the reciprocal of its mean and SD.
  • The rate times time is a unitless exponent.
  • Survival probabilities decay as an exponential.
  • The median is ln 2 times the mean.
  • An exponential model describes constant hazard, not every process with a constant average rate.

5.2 Explain and use memorylessness

For an exponential waiting time, the memoryless property means that elapsed waiting leaves the distribution of the remaining wait unchanged.

Prove the conditional identity

For X∼Expo(λ) and nonnegative s and t,

P(X>s+t∣X>s)=P(X>s+t)P(X>s).

The event in the numerator already guarantees survival to s. Substituting the exponential survival function gives

e−λ(s+t)e−λs=e−λt=P(X>t).

Only the additional duration t remains. Equivalently, given survival to s, the remaining time X−s is a fresh rate-λ exponential.

For a component with mean life 2000 hours that has already survived 2000 hours,

P(X>5000∣X>2000)=e−3000/2000≈0.2231.

The unconditional probability of lasting beyond 5000 hours is e−2.5≈0.0821. The two questions have different information: the conditional calculation starts from a population already known to have survived.

Separate remaining time from total time

The conditional expected remaining time is still 1/λ. The expected total time includes what has already elapsed:

E(X∣X>s)=s+1λ.

For that surviving component, expected remaining life is 2000 hours and expected total life is 4000 hours.

The conditional law also handles a bounded additional duration. Given survival to s, the probability of finishing within the next t units is 1−e−λt, the complement of the memoryless survival probability. Keep the event phrased relative to the current age: a finish between ages s and s+t is a remaining wait between zero and t. Subtracting elapsed time from the threshold makes that correspondence visible before any formula is used.

See why the exponential is special

Write G(t)=P(X>t). Memorylessness requires G(s+t)=G(s)G(t). For a continuous positive waiting time, the continuous survival solutions starting at 1 and tending to zero are G(t)=e−λt with positive λ. Thus the exponential distributions are the only continuous positive memoryless distributions.

The discrete counterpart is geometric. If G counts trials through the first success, P(G>s+t∣G>s)=P(G>t) for nonnegative integer s and t. If it counts failures before success, use the matching identity with ≥ throughout. The endpoint convention matters because a discrete single value can have positive probability.

Compare a bounded wait

For U∼Unif(0,20) minutes,

P(U>15∣U>10)=510=0.5,

whereas P(U>5)=15/20=0.75. After ten minutes, only ten minutes of the original range remain, so the future wait has changed. Regular schedules and aging equipment likewise need models that account for elapsed time. Exponential memorylessness fits a constant hazard or the independent increments of a Poisson arrival model; a constant average count by itself does not establish it.

Key Takeaways

  • Memorylessness describes the remaining wait conditional on survival.
  • Cancel the elapsed duration through a ratio of survival probabilities.
  • Expected total time includes elapsed time; expected remaining time does not.
  • Exponential distributions are the only continuous positive memoryless distributions.

5.3 Find the first and the last of several exponential times

With several independent exponential clocks, the first event can happen sooner than any one clock's average. The last event takes longer. Survival events let you derive both distributions without a joint density.

Add rates for the first event

Let independent Xi∼Expo(λi) and let M=min⁡(X1,…,Xn). The minimum exceeds t exactly when every clock exceeds t. Independence gives

P(M>t)=∏ie−λit=e−(∑iλi)t.

Thus M is exponential with rate ∑iλi and mean 1/∑iλi. Add rates, not mean waiting times. The minimum must be at least as fast on average as any individual clock.

Two independent lamps with mean lives 1000 hours have rates 0.001 per hour each. The first failure has rate 0.002 per hour and mean 500 hours. Both are still working at 400 hours with probability e−0.002(400)≈0.4493.

Unequal rates work the same way. For rates 1/2, 1/3, and 1/6 in a common time unit, their sum is 1, so the first-event mean is one time unit. Averaging those rates would wrongly remove the effect of having three active clocks.

Multiply CDFs for the last event

For n independent clocks with the same rate λ, the maximum L is at most t exactly when all clocks have finished:

P(L≤t)=∏i=1nP(Xi≤t)=(1−e−λt)n,t≥0.

For the two lamps, the probability that both have failed by 1000 hours is (1−e−1)2≈0.3996. This is not an exponential CDF for n greater than one. A minimum uses all-survive probabilities; a maximum uses all-finish probabilities.

Build the expected last time from gaps

For n equal-rate independent clocks, the first completion waits for an exponential of rate nλ. After it occurs, memorylessness makes the n−1 surviving clocks behave like fresh clocks. The next gap has rate (n−1)λ, then (n−2)λ, and so on.

Add the expected gaps to get

E(L)=1nλ+1(n−1)λ+⋯+1λ=Hnλ,

where Hn=1+1/2+⋯+1/n is the harmonic sum. Two mean-1000-hour lamps have expected last failure time 500+1000=1500 hours. For three, it is 1000(1+1/2+1/3)≈1833 hours.

The maximum is not the sum of the original lifetimes: the lamps run together. The harmonic formula requires a common rate; the minimum's summed-rate formula allows different rates. The minimum rule also describes the first arrival from several independent Poisson streams, where each stream contributes another active exponential clock.

For unequal rates, the maximum CDF is still the product of the individual CDFs, ∏i(1−e−λit), by independence. The simple harmonic expected-maximum formula does not follow because survivors no longer all share the same rate. This contrasts with the minimum calculation, whose summed rate requires no equality among the rates. Check which conditions belong to the requested result before substituting a mean lifetime.

Key Takeaways

  • The minimum of independent exponentials has their summed rate.
  • The maximum CDF multiplies completion probabilities.
  • The maximum of several exponentials is generally not exponential.
  • Memorylessness gives successive completion gaps for equal-rate clocks.
  • The expected equal-rate maximum is the mean lifetime times a harmonic sum.
6

Describe arrivals with a Poisson process

A stream of random arrivals has two complementary descriptions: counts in time intervals and gaps between events. The Poisson process connects a discrete count model with continuous exponential waits. Match rate and time units, use independence on disjoint intervals, and translate questions about the nth arrival into count events. Running sums of simulated exponential gaps then give a direct way to construct an entire arrival sequence.

6.1 Count arrivals in a Poisson process

A Poisson process describes random arrivals through time. It combines a constant rate with independent counts in disjoint intervals. The count is discrete, even though arrival times are continuous.

Specify the count model

For rate λ>0, write N(t) for the number of arrivals in (0,t]. A time interval of length t has count distribution Pois(λt). Counts in disjoint intervals are independent, and the count distribution depends on interval length, not its starting time.

With m=λt,

P(N(t)=k)=e−mmkk!,k=0,1,2,….

The mean and variance of the count are both m. The rate is an average per unit time, not a required count in every interval.

Match the units before using the formula

At six emails per hour, twenty minutes is one third of an hour, so the mean count is 2. Equivalently, the rate is 0.1 per minute and 0.1(20)=2. Then

P(N=0)=e−2≈0.1353, P(N=3)=e−2233!≈0.1804.

For at least two emails, remove zero and one:

P(N≥2)=1−e−2(1+2)≈0.5940.

Using a rate of six per hour directly with a duration of twenty minutes would create a mean of 120 with mismatched units. The product of rate and duration should be an expected count.

Multiply only for disjoint intervals

At the same rate, the first ten minutes have mean count 1 and the following twenty minutes have mean count 2. Independence gives

P(zero in first 10 min, one in next 20 min)=e−1(2e−2)=2e−3≈0.0996.

Counts over overlapping intervals share arrivals, so the independence rule does not apply. For example, 9:00–9:30 and 9:10–9:40 share twenty minutes. If an event description overlaps, first divide the timeline into disjoint pieces and translate the count conditions on those pieces.

Merge streams and check the assumptions

Two independent Poisson streams with rates λ1 and λ2 merge into a Poisson stream with rate λ1+λ2. Email at six per hour and chat at three per hour produce total messages at nine per hour. Counts over a duration still use total rate times duration.

The model assumes constant rate, independent arrivals, and events occurring one at a time. A daily lunchtime peak breaks constant rate; passengers arriving together from one bus break the one-at-a-time model; triggered events undermine independence. Check those features of the situation before applying the probability formula. Random variation in counts is compatible with the model: even with rate six per hour, exactly six arrivals in an hour occurs with probability only about 0.1606.

For example, asking for no arrivals in both 9:00–9:20 and 9:10–9:30 is simply asking for no arrivals over their union, 9:00–9:30. At six per hour this probability is e−3. Multiplying the two twenty-minute zero-count probabilities would give e−4 and count the shared ten minutes twice. Splitting at every interval boundary exposes this duplicated part of the timeline.

Key Takeaways

  • Poisson interval counts use mean rate times interval length.
  • Rate and time must use matching units.
  • Disjoint interval counts are independent; overlapping counts share events.
  • Independent Poisson streams merge by adding rates.
  • A constant average rate is one requirement of the model, not its full definition.

6.2 Connect arrival times with exponential waiting times

A Poisson process can be described either by counts in intervals or by gaps between arrivals. These descriptions answer different questions about the same random sequence.

Derive the first waiting time

Let T₁ be the first arrival time. It exceeds t exactly when N(t) is zero, so

P(T1>t)=P(N(t)=0)=e−λt.

Thus T1∼Expo(λ). At six arrivals per hour the mean first wait is one sixth of an hour, or ten minutes. The chance of no arrival during twenty minutes is e−2≈0.1353, whether phrased as a count or a waiting-time event.

The gaps T1,T2−T1,T3−T2,… are independent exponentials with the same rate λ. From any fixed time, the next-arrival wait has that distribution as well, independent of the previous history. A long quiet period does not make the next event due in this model.

Turn an nth-arrival question into a count

The nth arrival is later than t exactly when at most n−1 arrivals have occurred by t:

P(Tn>t)=P(N(t)≤n−1)=e−λt∑k=0n−1(λt)kk!.

For the second email at rate six per hour, a thirty-minute horizon gives mean count 3. Therefore,

P(T2>0.5)=P(N(0.5)≤1)=e−3(1+3)≈0.1991.

Using N(t)≤n would include paths on which the nth event already occurred. Also, T₂ is a sum of two exponential gaps, not another exponential. Knowing its mean alone cannot justify using an exponential survival formula.

Since Tₙ is a sum of n independent gaps,

E(Tn)=nλ,Var⁡(Tn)=nλ2.

The third email has mean wait 30 minutes and SD 3/6 hour, about 17.3 minutes. Variance adds across independent gaps; SD is the square root of that sum.

Simulate by accumulating gaps

Generate independent standard uniform draws and compute gaps

Wi=−ln⁡Uiλ.

Add gaps to obtain arrivals: T1=W1, T2=W1+W2, and so on. Continue until the running total passes the time horizon; the arrival that crosses it lies outside the observed interval.

At rate six per hour, draws 0.5 and 0.2 give gaps about 0.1155 and 0.2682 hour, or 6.9 and 16.1 minutes. Their arrival times are about 6.9 and 23.0 minutes. Reporting 16.1 minutes as the second arrival time would confuse a gap with a cumulative time.

For independent merged streams, add rates before generating the next gap. Email at six per hour and chat at three per hour give a next-message wait exponential with rate nine per hour. Its mean is one ninth of an hour, about 6.7 minutes, consistent with taking the minimum of the two independent waiting clocks.

For a question about arrival by the horizon, take the complementary count event: P(Tn≤t)=P(N(t)≥n). The time threshold remains continuous while the count threshold is an integer. For example, the second arrival by a half-hour at rate six per hour has probability 1−e−3(1+3)≈0.8009. This is the complement of the earlier second-arrival tail, not the probability of exactly two arrivals; paths with three or more also meet the event.

Key Takeaways

  • No arrival by a time is the same event as a first wait exceeding that time.
  • Poisson interarrival gaps are independent exponentials.
  • The nth arrival exceeds t exactly when the count by t is below n.
  • Arrival times are cumulative sums of gaps.
  • Only the first arrival time is exponential; later arrival times sum several gaps.
  • A simulated arrival beyond the horizon is excluded from the observed count.

Continuous Random Variables examples

6 Walkthroughs

1

Build probabilities from a density

15 steps
Move from density and accumulated area to quantiles, moments, and convergence.
  1. 1
    IntroductionFrom a curve to a probability

    A measured duration can vary continuously even when a timer rounds its display. Its model puts probability over intervals.

    Start by reading a density and a CDF. Then build a complete CDF from a formula, solve for its median, and use the density to find a mean and variance. A final tail example shows why a valid probability model need not have finite moments.

  2. 2
    ExplanationRead accumulated probability

    The CDF is defined for every random variable:

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

    It never decreases, is right-continuous, and approaches 0 and 1 at the two ends of the line. For any distribution, subtracting F(a) from F(b) removes values through a and leaves P(a<X≤b). A CDF height is already a probability; it needs no further integration.

  3. 3
    ExplanationTurn density into area

    A PDF must be nonnegative and have total area 1. Its interval probabilities are integrals:

    P(a<X<b)=∫abf(x) dx.

    A constant height of 2 across width 0.5 is valid. Height alone is not probability: a width-0.1 interval under this density has probability 0.2. If x is in minutes, density is per minute, so multiplying by width cancels the measurement units.

  4. 4
    Key InsightAn exact point has zero area

    A continuous variable has P(X=a)=0 for every fixed a. An integral over a zero-width interval is zero, so including or excluding an endpoint leaves the probability unchanged.

    An exact value is nevertheless observed. A positive point probability would instead produce a CDF jump. A wait with mass 0.3 at zero and continuously spread positive values is mixed and has no PDF for the whole distribution.

  5. 5
    ChallengeInterpret a narrow uniform density

    A density equals 5 on (0,0.2) and zero elsewhere. Find P(0.02<X<0.08) and P(X=0.05).

    ---reveal---

    The interval has width 0.06, so its probability is 5(0.06)=0.3. The exact point has probability zero. The height 5 is allowed because probability comes from area, and the full support has area 5(0.2)=1.

  6. 6
    ExampleNormalize a polynomial density

    Take f(x)=cx2 on [0,2], with zero density elsewhere. Before finding any partial probability, determine c from total area:

    ∫02cx2 dx=8c3=1.

    Thus c=3/8. The function is nonnegative on its support with this constant. Normalization sets the overall probability scale; it does not make the height constant across the interval.

  7. 7
    ExampleBuild all three CDF pieces

    For that density, accumulated area inside the support is

    F(x)=∫0x38t2 dt=x38.

    Complete the description with F(x)=0 below zero and F(x)=1 above two. The inner formula reaches those values at the endpoints. For example, P(1<X<2)=1−1/8=7/8. Using the polynomial above two would produce an invalid cumulative probability.

  8. 8
    ExampleInvert accumulated probability

    The median is the value where accumulated probability reaches one half. For the polynomial CDF, solve

    m38=12⟹m=43≈1.587.

    A general p-quantile is the smallest x with F(x)≥p. When the CDF is continuous and strictly increasing over the relevant range, this is the unique solution of F(x)=p.

  9. 9
    ExplanationCarry area across a join

    For the triangular density f(x)=x on [0,1] and f(x)=2−x on (1,2], the area through 1 is 1/2. Therefore, for inputs between one and two,

    F(x)=12+∫1x(2−t) dt.

    This equals 1−(2−x)2/2. The added half keeps the CDF continuous at the join. Starting a new density piece does not erase probability already accumulated.

  10. 10
    ChallengeFind a percentile in a new CDF

    A CDF is x2/16 on [0,4], with the usual outer values 0 and 1. Find its 0.75-quantile and the probability of exceeding 5.

    ---reveal---

    Solve x2/16=0.75 to obtain x=23, using the positive root in the support. Exceeding 5 has probability zero because all probability is already accumulated by 4. The middle formula does not apply at 5.

  11. 11
    ExplanationAverage a function with LOTUS

    To average values, multiply them by the density before integrating:

    E(X)=∫xf(x) dx.

    More generally, LOTUS gives E(g(X))=∫g(x)f(x) dx when the expectation exists. This uses the PDF of X without requiring a new distribution for g(X). For a finite mean, check absolute integrability; symmetry cannot justify canceling divergent tails.

  12. 12
    ExampleCompute the two moments first

    For the polynomial density 3x2/8 on [0,2],

    E(X)=38∫02x3 dx=32, E(X2)=38∫02x4 dx=125.

    Variance is 12/5−(3/2)2=3/20, and SD is about 0.387. The squared mean is not the mean square; subtracting them measures the spread around the balance point.

  13. 13
    Key InsightA valid tail can have infinite variance

    For a nonnegative variable, integrate survival to get its mean. With density 2/x3 above 1, survival is 1 up to 1 and 1/x2 afterward:

    E(X)=1+∫1∞x−2 dx=2.

    But the second moment integrates 2/x and diverges. This distribution has infinite variance. The symmetric Cauchy goes further: its absolute first moment diverges, so its mean is undefined.

  14. 14
    ChallengeNormalize and then average

    A density is kx2 on (0,1) and zero elsewhere. Find E(X).

    ---reveal---

    First normalize: k∫01x2dx=k/3=1, so k=3. Then weight each value by the density:

    E(X)=∫01x(3x2) dx=34.

    The integral of the PDF alone would return 1, which checks total probability and does not give the mean.

  15. 15
    RecapChoose the integral that answers the question

    Use PDF area or CDF differences for intervals. Use a CDF equation for a quantile. Use LOTUS for a weighted average, and subtract squared mean from second moment for variance.

    Before integrating, mark the support and any piece boundaries. For unbounded ranges, inspect convergence as well as the final algebra: a normalized density does not guarantee finite moments.

2

Use uniform lengths and random ranks

11 steps
Calculate uniform probabilities and connect CDFs with simulation.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionOne simple model, two useful roles
  2. 2
    ExplanationDivide lengths within the support
  3. 3
    ExampleFind center and spread
  4. 4
    ExplanationCondition by narrowing the interval
  5. 5
    ChallengeUse a new conditional range
  6. 6
    ExplanationGenerate values from random probability levels
  7. 7
    ExampleSolve the exponential CDF backward
  8. 8
    ConnectionMap observations back to ranks
  9. 9
    ChallengeInvert a curved CDF
  10. 10
    ChallengeBuild a draw on a wider interval
  11. 11
    RecapKeep the two CDF directions distinct
3

Track a shift, a stretch, and a reflection

11 steps
Derive transformed densities and understand what standardization changes.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionA change of numbers changes the curve
  2. 2
    ExplanationDerive a positive-scale CDF
  3. 3
    ExampleStretch density and move support
  4. 4
    ExplanationReverse the tail for negative scale
  5. 5
    ChallengeReflect a nonuniform density
  6. 6
    ExplanationScale deviations to transform moments
  7. 7
    ExplanationReuse a standard family member
  8. 8
    Key InsightStandardized does not mean normal
  9. 9
    ChallengeMove a quantile with a positive scale
  10. 10
    ChallengeStandardize after converting units
  11. 11
    RecapTrack range, height, center, and spread
4

Calculate and invert normal probabilities

15 steps
Use the standard curve, combine measurements, and solve a tail requirement.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionUse one normal curve for many measurements
  2. 2
    ExplanationSeparate phi from Phi
  3. 3
    ExplanationFind the normalizing constant
  4. 4
    Key InsightVerify the reference moments
  5. 5
    ExampleExchange tails by symmetry
  6. 6
    ChallengeFind a central area from one tail
  7. 7
    ExampleStandardize a normal mass bound
  8. 8
    ExampleAdd independent measurement variances
  9. 9
    ChallengeCalculate a normal difference
  10. 10
    ExplanationReverse Phi to find a cutoff
  11. 11
    ExampleTurn a tail limit into a mean limit
  12. 12
    ChallengeFind the largest allowable spread
  13. 13
    Key InsightReject substantial impossible values
  14. 14
    ChallengeCombine two measurements and find a quantile
  15. 15
    RecapTranslate the event before using Phi
5

Use exponential survival and competing clocks

14 steps
Find waiting-time probabilities, prove memorylessness, and distinguish first from last completion.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFollow what has not happened yet
  2. 2
    ExplanationRead rate in reciprocal time units
  3. 3
    ExampleIntegrate survival for the mean
  4. 4
    ExampleFind a halfway-survival time
  5. 5
    ChallengeCalculate an interval probability
  6. 6
    ExplanationCancel elapsed time in a conditional tail
  7. 7
    Key InsightA fresh remainder still follows elapsed time
  8. 8
    ChallengeKeep the conditioning information
  9. 9
    ExplanationLet all clocks survive for a minimum tail
  10. 10
    ExampleLet all clocks finish for a maximum CDF
  11. 11
    ExplanationAdd the gaps between completions
  12. 12
    ChallengeCompare first and last completion
  13. 13
    ChallengeUse a median and an elapsed wait
  14. 14
    RecapIdentify the waiting-time event first
6

Translate arrival counts into arrival times

12 steps
Use Poisson intervals, count–time duality, and simulation by exponential gaps.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionCounts and times describe the same stream
  2. 2
    ExplanationUse rate times duration for a count
  3. 3
    ExampleRemove unwanted small counts
  4. 4
    ExplanationSplit the timeline before multiplying
  5. 5
    ChallengeCalculate over adjacent windows
  6. 6
    ConnectionDerive an exponential first wait
  7. 7
    ExplanationReplace an nth arrival with a count
  8. 8
    Key InsightAdd gaps to obtain arrival-time moments
  9. 9
    ChallengeFind when the second event is still pending
  10. 10
    ExampleAccumulate simulated gaps
  11. 11
    ChallengeMerge streams and wait for an event number
  12. 12
    RecapChoose a fixed time or a fixed event number

Continuous Random Variables practice questions

50 Practice Questions in 5 sets

Set 1: Densities, averages, and uniform draws10 Practice Questions

Question 1 of 10

A position is uniform between 2 m and 14 m. What is the probability that it lies between 5 m and 8 m?
  1. 3/14
  2. 1/3
  3. 1/4
  4. 5/12
Show answerHide answer
Answer: C
The full available length is 14−2=12 m and the event length is 8−5=3 m, giving 3/12=1/4. A translated interval keeps the same width, so its starting coordinate does not affect this ratio. Dividing by 14 would treat the upper endpoint as the width and include two meters outside the support.

Question 2 of 10

A wait U is uniform on (0,18) minutes. Given U>6, what is P(U>15∣U>6)?
  1. 1/6
  2. 1/2
  3. 1/3
  4. 1/4
Show answerHide answer
Answer: D
The condition leaves a twelve-minute interval from 6 to 18. The desired part has length three, so the conditional probability is 3/12=1/4; using 3/18 would ignore the information that the first six minutes are excluded.

Question 3 of 10

A variable has constant density 4 on (0,0.25) and zero elsewhere. What is P(0.05<X<0.15)?
  1. 0.1
  2. 0.04
  3. 0.4
  4. 0.6
Show answerHide answer
Answer: C
The interval has width 0.10, so its area is 4(0.10)=0.4. Its endpoints both lie within the support, so the full interval contributes area. The width alone, 0.1, would be the probability for density 1, but this density packs four units of probability per unit length.

Question 4 of 10

A CDF rises continuously except for a jump from 0.25 to 0.65 at 7. What is P(X=7)?
  1. 0.65
  2. 0.40
  3. 0.25
  4. 0.90
Show answerHide answer
Answer: B
The jump size is the point mass: 0.65−0.25=0.40. The lower cumulative level must be removed because those observations are strictly below the jump. The value 0.65 includes all probability below 7 as well as at 7, so it is the cumulative probability, not the probability of the single value.

Question 5 of 10

A density is f(x)=cx on (0,4) and zero elsewhere. What is c?
  1. 1/8
  2. 1/4
  3. 1/16
  4. 1/2
Show answerHide answer
Answer: A
Total area is ∫04cx dx=8c, which must equal 1, giving c=1/8. The antiderivative of x is x2/2, so the support endpoint contributes 42/2=8. Choosing 1/4 by dividing by the interval width would work for a constant density, but the factor x changes its height throughout the support.

Question 6 of 10

A density is f(x)=3x2/27 on (0,3) and zero elsewhere. What is its 0.8-quantile?
  1. 3(0.8)
  2. 30.8
  3. 0.8/33
  4. 30.83
Show answerHide answer
Answer: D
Integrating gives F(x)=x3/27 on the support. Setting this equal to 0.8 gives x=30.83; the value 2.4 would assume the CDF rises linearly, which this increasing density does not produce.

Question 7 of 10

A density equals k on (0,1) and 2k on (1,3), with zero elsewhere. What is its median?
  1. 3/2
  2. 5/4
  3. 9/4
  4. 7/4
Show answerHide answer
Answer: D
Normalization gives k+4k=1, so k=1/5 and F(1)=1/5. The lower piece contains only one fifth of the total probability, so it cannot contain the median. The median is in the second piece, where 1/5+(2/5)(m−1)=1/2 gives m=7/4; restarting accumulation at 1 would wrongly give 9/4.

Question 8 of 10

For f(x)=2x on (0,1), zero elsewhere, what is E(X3)?
  1. 1/4
  2. 2/5
  3. 8/27
  4. 1/2
Show answerHide answer
Answer: B
LOTUS gives E(X3)=∫01x3(2x) dx=2/5. The extra factor x from the density raises the integrand’s power from three to four. Cubing the mean E(X)=2/3 would give 8/27, but averaging a cube is a different operation from cubing an average.

Question 9 of 10

A continuous X has E(X)=4 and E(X2)=21. What is its SD?
  1. 5
  2. 5
  3. 17
  4. 21
Show answerHide answer
Answer: A
Variance is 21−42=5, so SD is 5. The value 21 includes variation around zero as well as the displacement of the mean from zero. Reporting 5 stops at variance, whose unit is squared; standard deviation requires the final square root and uses the original measurement unit.

Question 10 of 10

A target CDF is F(x)=x4 on [0,1]. For a standard uniform U, what transformation generates this target distribution?
  1. U1/4
  2. U4
  3. 4U3
  4. U/4
Show answerHide answer
Answer: A
Solve u=x4 for x to get F−1(u)=u1/4. The inverse must undo the fourth power; the density 4x³ describes local concentration instead. Raising U to the fourth power applies the CDF instead of its inverse and produces CDF x1/4, so it reverses the required transformation.
Set 2: Shifts, scales, and normal measurements10 Practice Questions

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

Question 1 of 10

X is continuous with variance 7. What is Var⁡(9−2X)?
  1. 14
  2. 37
  3. −14
  4. 28
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

X has density e−x for x>0, zero elsewhere. What is the density of Y=3−X?
  1. ey−3 for y<3; 0 otherwise
  2. e3−y for y<3; 0 otherwise
  3. ey−3 for y>3; 0 otherwise
  4. e−y for y>0; 0 otherwise
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

X has density proportional to x on (0,2) and zero elsewhere. Let Y=6−3X. What is P(Y>3)?
  1. 3/4
  2. 1/2
  3. 1/4
  4. 1/8
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

X is exponential with rate 1. What is the shape of Z=X−1?
  1. Symmetric, with mean 0 and SD 1.
  2. Right-skewed, with mean 0 and SD 1.
  3. Right-skewed, with mean 1 and SD 1.
  4. Symmetric, with mean 0 and SD 0.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

W is exponential with rate 1. What are the rate and mean of W/8?
  1. Rate 1/8; mean 8.
  2. Rate 8; mean 1/8.
  3. Rate 8; mean 8.
  4. Rate 1/8; mean 1/8.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Z is standard normal. What is P(Z<−1.4) in terms of Phi?
  1. Φ(1.4)
  2. 2[1−Φ(1.4)]
  3. Φ(1.4)−0.5
  4. 1−Φ(1.4)
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

For standard normal Z, P(Z>c)=0.06 with c>0. What is P(−c<Z<c)?
  1. 0.88
  2. 0.94
  3. 0.12
  4. 0.47
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A measurement has distribution 𝒩(72,9). What is the probability it exceeds 78?
  1. 1−Φ(2/3)
  2. Φ(2)
  3. 1−Φ(2)
  4. 1−Φ(6)
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Independent errors A and B are normal with means 1 mm and −2 mm and SDs 6 mm and 8 mm. What is P(A−B>13 mm)?
  1. 1−Φ(1)
  2. 1−Φ(5/7)
  3. 1−Φ(1.3)
  4. 1−Φ(5/7)
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A normal length has mean 250 mm and SD 5 mm. What cutoff is exceeded by 10% of lengths? Use z0.90=1.2816.
  1. 243.592 mm
  2. 251.2816 mm
  3. 282.040 mm
  4. 256.408 mm
Show answerHide answer

Save this lesson to see this answer.

Set 3: Exponential clocks and arrival counts10 Practice Questions

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

Question 1 of 10

An exponential wait has rate 0.3 per minute. What is P(T>11∣T>7)?
  1. e−2.1
  2. e−3.3
  3. e−1.2
  4. 1−e−1.2
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Two independent exponential tasks have mean completion times 12 minutes and 6 minutes. What is the expected time until the first finishes?
  1. 18 minutes.
  2. 9 minutes.
  3. 8 minutes.
  4. 4 minutes.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Three independent exponential lifetimes have the same median, 9 hours. What is their expected last failure time?
  1. 27ln⁡2 hours
  2. 332ln⁡2 hours
  3. 9ln⁡2 hours
  4. 112ln⁡2 hours
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A Poisson stream has rate 15 per hour. What is the mean count in eight minutes?
  1. 2
  2. 120
  3. 1.875
  4. 15
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An exponential waiting time has mean 25 seconds. What is its rate per second?
  1. 0.04
  2. 25
  3. 0.2
  4. 0.0016
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An exponential lifetime has median 12 hours. What is the probability it exceeds 36 hours?
  1. e−3
  2. 1/3
  3. 1/4
  4. 1/8
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

T is exponential with mean 70 hours. Given it has survived 20 hours, what is its expected total lifetime?
  1. 70 hours.
  2. 90 hours.
  3. 50 hours.
  4. 140 hours.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A rate-2-per-minute Poisson process is observed for 30 seconds. What is the probability of at least two arrivals?
  1. 2e−1
  2. 1−e−1
  3. 1−2e−1
  4. 1−3e−2
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Arrivals form a Poisson process with rate 4 per minute. What is the probability that the third arrival occurs after 30 seconds?
  1. 1−5e−2
  2. 3e−2
  3. 193e−2
  4. 5e−2
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Independent Poisson streams have rates 5 and 7 per hour. What is the probability that the second arrival of either kind is later than ten minutes?
  1. e−2
  2. 3e−2
  3. 1−3e−2
  4. 5e−2
Show answerHide answer

Save this lesson to see this answer.

Set 4: Choose and connect probability models10 Practice Questions

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

Question 1 of 10

For a continuous X, the PDF is changed at exactly one input while remaining nonnegative. How do interval probabilities change?
  1. They must be rescaled.
  2. The CDF gains a jump.
  3. They remain unchanged.
  4. Those containing it grow.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A density equals cx on (0,1) and c on (1,2), zero elsewhere. What is P(X>1.5∣X>0.5)?
  1. 4/11
  2. 4/9
  3. 1/3
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A nonnegative variable has survival 1 for 0≤t<2 and (2/t)3 for t≥2. What is its mean?
  1. 4
  2. 3
  3. 1
  4. 2
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

X has a continuous CDF F. What is P(0.35<F(X)<0.8)?
  1. 0.65
  2. 0.8
  3. 0.45
  4. 0.28
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

X has density 3x2 on (0,1), zero elsewhere, and Y=8−2X. What is the median of Y?
  1. 8−21/2
  2. 8−21/43
  3. 8−2(1/2)
  4. 8−21/23
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Independent normal variables have variances 16 and 9. What is the variance of 2X−3Y?
  1. 121
  2. 145
  3. 59
  4. −17
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A normal measurement has unknown mean and SD. Its 0.1-quantile is 34 and its 0.9-quantile is 46. What is its SD? Use z0.90=1.2816.
  1. 6/1.2816
  2. 12(1.2816)
  3. 12/1.2816
  4. 6(1.2816)
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

U is uniform on (0,24) minutes. What is P(U>20∣U>16), and is it equal to P(U>4)?
  1. 1/6; no
  2. 1/2; yes
  3. 5/6; yes
  4. 1/2; no
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A rate-3-per-hour Poisson process satisfies the event N(2)=0 and N(5)=2. What is the probability of this event?
  1. 2252e−15
  2. 812e−15
  3. 2252e−21
  4. 812e−9
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A rate-5-per-minute Poisson process is simulated using gaps −ln⁡Ui/5. If U1=e−2 and U2=e−3, when is its second arrival?
  1. 0.4 minute.
  2. 5 minutes.
  3. 1 minute.
  4. 0.6 minute.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Derive results in new situations10 Practice Questions

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

Question 1 of 10

Z is standard normal. What is Φ(0)?
  1. 1
  2. 0
  3. 0.5
  4. 1/2π
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A density is k on (0,2), zero on (2,5), and k/2 on (5,8), with zero density elsewhere. What value does inverse-CDF simulation return from u=0.7?
  1. 5.9
  2. 5.6
  3. 6.2
  4. 2.45
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A density is proportional to x−4 on x>2 and zero elsewhere. What is its variance?
  1. 12
  2. 3
  3. ∞
  4. 9
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A normal fill mass has SD 3 g. At most 2% may fall below 490 g, and at most 5% may exceed 505 g. What means satisfy both requirements? Use z0.98=2.0537 and z0.95=1.6449.
  1. 493.2898≤μ≤498.8389 g
  2. 483.8389≤μ≤509.9347 g
  3. 494.9347≤μ≤498.8389 g
  4. 496.1611≤μ≤500.0653 g
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Two independent exponential lifetimes have medians 6 hours and 10 hours. Given both survive four hours, what is the probability that neither fails during the next five hours?
  1. 2−5/8
  2. 2−12/5
  3. 2−2/3
  4. 2−4/3
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A rate-0.5-per-minute Poisson process is observed on (0,12]. What is the probability that (0,8] and (4,12] each contain exactly one arrival and that their common interval (4,8] contains exactly one?
  1. 16e−8
  2. 2e−6
  3. 4e−6
  4. 2e−4
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

X has mean 18 and SD 6. Its 0.8-quantile is 24. What is the 0.8-quantile of its standardized variable?
  1. 1/6
  2. 4
  3. 1
  4. 3
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An exponential lifetime has 0.9-quantile 30 hours. What is its mean?
  1. 30/ln⁡10 hours
  2. 30ln⁡10 hours
  3. 3 hours
  4. 30/ln⁡2 hours
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Two independent Poisson streams have rates 8 and 10 per hour. What is the probability that the fourth merged arrival occurs within ten minutes?
  1. 1−8.5e−3
  2. 13e−3
  3. 1−13e−3
  4. 1−16.375e−3
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Independent normal measurements A and B have means 16 and 11 and variances 4 and 5. What is P(A<B)?
  1. Φ(−5/41)
  2. Φ(−5/3)
  3. Φ(5/3)
  4. Φ(−5)
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

69 Key Terms, each with its definition

A

Arrival time
An arrival time is the elapsed time from the process start to a specified arrival, found by adding its preceding gaps.
The third arrival time includes three independent exponential gaps, not just the third gap.

C

Central probability interval
A central probability interval leaves equal probabilities in the two tails of a symmetric distribution around its center.
A central 90% normal interval leaves 5% below its lower endpoint and 5% above its upper endpoint.
Completion gap
A completion gap is the time between successive clock completions; equal-rate exponential survivors give a new summed rate after each completion.
After one of four equal-rate clocks finishes, the next completion gap has the combined rate of the three survivors.
Conditional total lifetime
A conditional total lifetime includes elapsed survival and the additional remaining life, given that the item has survived so far.
For an exponential mean life of forty hours after ten hours survived, expected total life is fifty hours.
Conditional uniform distribution
A conditional uniform distribution on a subinterval results when a uniform variable is known to lie within that subinterval.
Knowing an arrival falls between minute four and minute ten changes the available width to six minutes.
Continuous random variable
A continuous random variable, in this density-based setting, has interval probabilities given by integrating a PDF.
A continuously modeled duration assigns probability zero to exactly three seconds but positive probability to a range.
Count–time duality
Count–time duality identifies an nth arrival after a horizon with fewer than n events counted by that horizon.
The fourth arrival occurs after ten minutes exactly when at most three arrivals occur within those ten minutes.
Counting process
A counting process records how many arrivals have occurred by each time; its value increases by one at each individual arrival.
The notation N(t) counts arrivals after time zero and up to and including time t.
Cumulative distribution function
A cumulative distribution function gives the probability that a random variable is at or below each real-valued cutoff.
If a waiting-time CDF equals 0.8 at ten minutes, 80% of waits end by ten minutes.

D

Density scale factor
A density scale factor of reciprocal absolute stretch preserves total probability when a variable is shifted and rescaled.
Doubling a uniform interval’s width halves its density height so that total area stays one.

E

Expected value
The expected value is the density-weighted average of a continuous variable, finite when its absolute first moment is finite.
A distribution can have a valid density and still have no mean if its tails decay too slowly.
Exponential distribution
An exponential distribution is a positive waiting-time distribution with survival falling exponentially at a constant positive rate.
At rate two per hour, an exponential wait has mean half an hour and the same SD.
Exponential rate
An exponential rate is the positive reciprocal of the mean waiting time, with units inverse to those of the time variable.
A mean lifetime of fifty hours corresponds to rate 0.02 per hour, not fifty per hour.

G

Gaussian integral
The Gaussian integral over the real line of the exponential of minus one half x squared equals the square root of two pi.
Squaring this integral and using polar coordinates supplies the normal density’s normalizing constant.
Generalized inverse
The generalized inverse of a CDF at level p is the smallest input whose cumulative probability is at least p.
At a discrete CDF jump, a whole interval of probability levels maps to the same outcome.

H

Half-life
A half-life is the median decay time in an exponential lifetime model, equal to the natural logarithm of two divided by the rate.
After one half-life, an individual atom’s survival probability under the model is one half.
Harmonic sum
A harmonic sum adds the reciprocals of the positive integers through n and gives the equal-rate expected-maximum multiplier.
Three independent equal-rate lifetimes have expected maximum equal to 11/6 times one mean lifetime.
Hazard rate
A hazard rate measures instantaneous failure intensity conditional on survival so far; it is constant for an exponential lifetime.
A constant hazard gives the same conditional chance of failing within the next hour at every age.

I

Independent increments
Independent increments means that counts added over disjoint time intervals are independent random variables.
Knowing the count in one ten-minute window leaves the count distribution in a later disjoint window unchanged.
Independent normal difference
An independent normal difference is normal with the difference of the means and the sum of the component variances.
Subtracting two independent measurements combines their uncertainty even when their means cancel.
Independent normal sum
An independent normal sum is normally distributed with the sum of the means and the sum of the component variances.
Independent length errors with SDs three and four millimeters have total SD five millimeters.
Interarrival time
An interarrival time is the gap between consecutive arrivals; Poisson-process gaps are independent exponentials with the process rate.
Two simulated gaps of three and eight minutes place the second arrival eleven minutes after the start.
Interval width
An interval width is the upper endpoint minus the lower endpoint; for a uniform distribution it controls density height and spread.
A uniform range of width six has density one sixth and variance three, wherever it is located.
Inverse probability problem
An inverse probability problem uses a required probability to solve for an unknown distribution parameter or a cutoff.
A limit on the fraction below a mass threshold can set a minimum mean when SD is fixed.
Inverse-CDF simulation
Inverse-CDF simulation generates a variable with a chosen CDF by applying its quantile function to a standard uniform draw.
An exponential quantile formula turns a uniform draw into a positive simulated waiting time.

L

Linear transformation
A linear transformation, in the shift-and-scale usage here, forms a new variable by multiplying by a constant and adding a constant.
Converting a length from meters to millimeters multiplies the variable by one thousand.
Location parameter
A location parameter shifts a distribution along the value axis without changing its spread or the shape of its density curve.
Increasing a normal mean by three shifts every quantile by three and leaves its SD unchanged.
Location-scale family
A location-scale family consists of all shifts and positive rescalings of one fixed distribution, sharing its shape.
Every normal distribution can be built by shifting and positively rescaling a standard normal variable.
LOTUS
LOTUS is the rule that averages a function of a variable by integrating that function against the original variable’s density.
To find a mean squared error, integrate the squared error with its density without deriving a new distribution.

M

Maximum exponential time
A maximum exponential time is the last completion among simultaneously running exponential clocks, requiring every clock to finish.
For two equal-rate independent clocks, square one clock’s completion probability to get the maximum’s CDF.
Median
A median, using the lower-quantile convention, is the 0.5-quantile, the smallest value where the CDF reaches one half.
For a continuous strictly increasing CDF, solve its value equal to 0.5 to find the median.
Memorylessness
Memorylessness means that conditional on surviving an elapsed duration, the remaining duration has the original waiting-time distribution.
After a long quiet period in a Poisson process, the next event still has a fresh exponential wait.
Merged Poisson stream
A merged Poisson stream combines independent Poisson arrival streams and has a rate equal to the sum of their rates.
Two independent message channels at four and seven per hour produce eleven messages per hour on average.
Minimum exponential time
A minimum exponential time is the first completion among independent exponential clocks, with rate equal to their summed rates.
Two independent rate-three clocks have first-completion rate six and mean wait one sixth of a time unit.
Mixed distribution
A mixed distribution combines a discrete part with a continuous part, so neither a PMF nor a PDF alone represents it.
A wait that can be exactly zero or continuously spread above zero has a mixed distribution.

N

Normal distribution
A normal distribution is a location-scale version of the standard normal, determined by its mean and positive variance.
A mass modeled as normal with variance 25 square grams has SD five grams for standardization.
Normal model
A normal model represents uncertainty with a normal distribution and must be judged against the quantity’s shape and possible values.
A waiting-time normal model is doubtful if it assigns substantial probability to negative durations.
Normal quantile
A normal quantile is a cutoff obtained by shifting and scaling the corresponding standard normal quantile into the original unit.
The upper 10% cutoff is the 0.9-quantile, since 90% of the distribution lies to its left.
Normal symmetry
Normal symmetry makes reflected intervals about the mean equally probable and pairs equal-sized left and right tails.
For a standard normal variable, the probability below −2 equals the probability above 2.
Normalizing constant
A normalizing constant is a factor chosen so that a nonnegative proposed density has total integral equal to 1.
For density proportional to x on a finite interval, integrate x first to determine the required factor.

P

Percentile rank
A percentile rank records the cumulative share of a distribution at or below an observed value, expressed on a probability scale.
A value with CDF 0.72 sits at the 72nd percentile of that distribution.
Piecewise density
A piecewise density uses different formulas over different input ranges, with probabilities found by integrating the relevant pieces.
An interval crossing a triangular density’s peak needs area from both its rising and falling pieces.
Point mass
A point mass is positive probability assigned to one exact value, appearing as a jump of that size in the CDF.
A counter that is free with probability 0.4 has a waiting-time point mass of 0.4 at zero.
Poisson process
A Poisson process is a constant-rate arrival model with Poisson counts depending on interval length and independent disjoint-interval counts.
A model with grouped arrivals or a changing rate fails the simple Poisson-process assumptions.
Probability density function
A probability density function is a nonnegative function whose integral over an interval gives its probability, with total integral 1.
A density of 3 per second over a 0.1-second interval gives probability 0.3 when the density is constant.
Probability integral transform
The probability integral transform maps a variable through its own continuous CDF to produce a standard uniform variable.
CDF values from a correct continuous model fall uniformly across percentile bands in repeated independent draws.

Q

Quantile
A quantile at level p is the smallest value where a CDF reaches or exceeds p, for a probability level between zero and one.
A 0.9-quantile of five minutes puts at least 90% of the distribution at or below five minutes.

R

Reflection
A reflection reverses the order of a variable’s values through a negative multiplier, exchanging lower and upper tails.
For a continuous X, the CDF of −X at y is the survival probability of X at −y.
Remaining lifetime
A remaining lifetime is the additional time until failure after an item has already survived a known elapsed duration.
For an exponential item, expected remaining life stays the same while expected total life increases with elapsed age.
Right-continuity
Right-continuity means a function’s value at a point equals its limit as the input approaches that point from larger values.
At a CDF jump, the value at the jump includes the probability mass at that exact input.

S

Scale parameter
A scale parameter is a positive multiplier that stretches or compresses distances in a fixed distribution’s shape.
For a rate-λ exponential, the scale is its mean 1/λ; a larger scale produces longer waits.
Second moment
The second moment about zero is the expectation of the square of a random variable, which can differ from its squared mean.
Subtracting the squared mean from the second moment gives variance when those moments are finite.
Standard deviation
The standard deviation is the square root of the variance, expressing spread in the same measurement unit as the variable.
A length’s standard deviation is in millimeters when the length itself is measured in millimeters.
Standard normal CDF
The standard normal CDF is the function Phi, giving probability to the left of a cutoff under the standard normal curve.
At a cutoff of one SD above zero, Phi is about 0.8413, leaving about 0.1587 to the right.
Standard normal density
The standard normal density is the function phi, proportional to the exponential of minus one half the squared input.
The standard normal density peaks at zero, where its height is about 0.399 per standardized unit.
Standard normal distribution
The standard normal distribution is the normal distribution with mean zero and variance one, with a symmetric bell-shaped density.
A standardized normal measurement can be compared with the same reference curve used for other normal measurements.
Standard uniform distribution
The standard uniform distribution has constant density 1 between zero and one and zero density elsewhere on the real line.
Multiplying a standard uniform by six and adding two gives a uniform draw between two and eight.
Standardization
Standardization subtracts a finite mean and divides by a positive finite SD, giving mean zero and SD one without changing shape.
A standardized exponential remains right-skewed even though its center and spread match standard normal moments.
Standardized cutoff
A standardized cutoff is an event boundary expressed as its distance from a normal mean divided by the normal SD.
For a mean of twenty and SD four, an upper bound of twenty-eight becomes a cutoff of two.
Stationary increments
Stationary increments means that a count added over an interval has a distribution depending only on its length, not its starting time.
In a constant-rate Poisson process, any five-minute interval has the same marginal count distribution.
Support
The support, in the density description used here, is the set of values where the probability density is positive.
An exponential waiting time has positive density above zero and zero density at negative times.
Survival function
A survival function gives the probability of exceeding a cutoff; it equals one minus the cumulative distribution function.
For a positive lifetime, survival at twelve hours counts components still operating after twelve hours.

T

Tail formula
The tail formula expresses the mean of a nonnegative variable as the integral of its survival function over nonnegative cutoffs.
Integrating an exponential survival curve directly gives the reciprocal-rate mean waiting time.
Time horizon
A time horizon is the endpoint of the observation interval, determining which simulated arrivals contribute to its count.
If cumulative simulated times are four, nine, and fifteen minutes, a twelve-minute horizon includes two arrivals.
Transformed support
The transformed support is the range obtained by applying a variable’s transformation to the values in its original support.
Reflecting a positive waiting time through zero moves its possible values to the negative half-line.

U

Uniform distribution
A uniform distribution spreads probability evenly over a finite interval, giving equal probability to equal-length subintervals.
A three-second window inside a uniform twelve-second range has probability one quarter.
Universality of the uniform
The universality of the uniform links arbitrary CDFs to uniform draws through quantiles, and continuous CDFs back to uniform ranks.
One source of uniform random draws can supply simulations of many different target distributions.

V

Variance
The variance is the expected squared distance from the mean, measuring spread in the square of the variable’s measurement unit.
A duration with variance nine square seconds has standard deviation three seconds.

Z

Z-score
A z-score is a value’s signed distance from the mean divided by the standard deviation, measured in SD units.
A mass two SDs below its process mean has z-score −2 regardless of whether mass is recorded in grams or kilograms.

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