Joint Distributions, Covariance and Correlation

Learn how to describe two or more random variables at once. Read joint PMF tables and joint densities, find marginal and conditional distributions, and decide whether variables are independent. Use the two-dimensional LOTUS to find expectations of functions of two variables, measure how variables move together with covariance and correlation, and find the variance of sums. Finish with two essential multivariate models: the multinomial distribution for category counts and the multivariate normal distribution for correlated measurements.

IntermediateLesson 5 of 9 in Probability Theory Course

What you will learn

  1. Build and read the joint distribution of two discrete or continuous random variables, recover each variable's own distribution from it, and describe one variable once the value of the other is known.
    • Work with joint, marginal and conditional PMFs
      Read a joint PMF table of two discrete random variables, find probabilities of events, sum out one variable to get a marginal PMF, divide by a marginal to get a conditional PMF, and evaluate a joint CDF.
    • Find probabilities from a joint PDF
      Use a joint density of two continuous random variables to find probabilities over regions of the plane, set up double integrals with the correct limits, and find a normalizing constant.
    • Find marginal and conditional densities, including mixed pairs
      Integrate out one variable to get a marginal PDF, divide by it to get a conditional PDF, use Bayes' rule with densities, and handle a pair made of one discrete and one continuous random variable.
  2. Decide from a joint distribution whether two or more random variables are independent, and use independence to build joint distributions and compute probabilities.
    • Test whether random variables are independent
      Use the factorization of the joint CDF, PMF or PDF, the support and conditional distributions to decide independence, and extend the idea to more than two variables.
    • Calculate probabilities for independent random variables
      Build the joint distribution of independent variables as a product of marginals and compute probabilities such as P(X < Y), including area reasoning for uniform variables.
  3. Compute the expectation of any function of a random vector directly from its joint distribution with the two-dimensional LOTUS, and use it to justify linearity of expectation and the product rule for independent variables.
    • Apply the two-dimensional LOTUS
      Find E[g(X, Y)] by summing or integrating g against the joint PMF or PDF, without first finding the distribution of g(X, Y).
    • Use linearity and the product rule for expectations
      Justify linearity of expectation from the joint distribution, use E(XY) = E(X)E(Y) for independent variables, and recognize when an expectation of a product does not split.
  4. Compute covariance and correlation, interpret their sign and size, use their algebraic rules, and find the variance of sums of dependent random variables.
    • Compute and interpret covariance
      Define covariance, compute it with the shortcut formula from discrete and continuous joint distributions, and use its rules for constants, scaling and sums.
    • Compute and interpret correlation
      Standardize covariance into correlation, explain why it lies between −1 and 1, and distinguish uncorrelated from independent.
    • Find variances of sums using covariance
      Expand the variance of sums, differences and linear combinations, use indicator variables to find the variance of a count, and see when variances simply add.
  5. Use the multinomial distribution for counts of outcomes in several categories, and find its marginal, merged and conditional distributions and its covariances.
    • Recognize the multinomial model and compute its probabilities
      Identify situations with independent trials and several categories, and compute joint probabilities of the category counts with the multinomial PMF.
    • Find marginal, merged and conditional multinomial distributions and covariances
      Show that each count is binomial, merge categories, condition on some counts, and derive the negative covariance between counts.
  6. Define the multivariate normal through linear combinations, use the bivariate normal density and its parameters, and apply the properties that make it the standard model for correlated measurements.
    • Define and construct the multivariate normal
      State the definition through linear combinations, identify its parameters, build a bivariate normal from independent standard normals, and see why normal marginals are not enough.
    • Use the bivariate normal density and its conditional distributions
      Read the five parameters of a bivariate normal and its density, compute probabilities for sums and differences, and find the conditional distribution of one variable given the other.
    • Apply the key properties of the multivariate normal
      Use the facts that uncorrelated components of an MVN are independent, that linear transformations keep a vector multivariate normal, and that a covariance matrix must give nonnegative variances.

Joint Distributions study guide

6 chapters

1

Describe a pair of random variables

Two measurements from the same outcome need a distribution that keeps their pairing. A joint table or density provides that information; marginals describe each measurement alone, and conditional laws describe a selected part. Tables use sums, while densities use integrals over a support region. The direction of conditioning and the geometry of that region determine which entries or values contribute to a calculation.

1.1 Read a joint probability table

A joint distribution describes a pair of random variables from the same outcome. For a customer, the pair might record pastries and coffee. The separate distributions lose the information about which values occur together.

Read cells and totals

The joint PMF is pX,Y(x,y)=P(X=x,Y=y). Every cell is nonnegative, and the sum over all pairs is 1. The pair (X,Y) is a random vector. In this café model, X counts pastries and Y indicates coffee:

X=0X=1X=2Total
Y=00.100.200.150.45
Y=10.200.250.100.55
Total0.300.450.251

To find an event's probability, add exactly its cells. For X>Y, the qualifying pairs are (1,0),(2,0),(2,1), giving 0.20+0.15+0.10=0.45. The order matters: the first coordinate always belongs to X.

A marginal PMF describes one variable alone. Sum over the other variable:

pX(x)=∑ypX,Y(x,y),pY(y)=∑xpX,Y(x,y).

For example, pX(1)=0.20+0.25=0.45. Each set of marginal probabilities must itself sum to 1.

Restrict and rescale

A conditional PMF describes the selected group where a given value has occurred:

pY∣X(y∣x)=pX,Y(x,y)pX(x),pX(x)>0.

Among one-pastry customers, the coffee probability is 0.25/0.45=5/9. The no-coffee probability is 0.20/0.45=4/9. These add to 1 because the denominator is the total of the selected column. Dividing by 0.55 would select coffee buyers, a different group.

Read the conditioning bar first: P(X=2∣Y=0)=0.15/0.45=1/3. The joint probability 0.15 is a share of all customers; the conditional probability is a share of customers without coffee. Reversing the condition changes the denominator.

Rearranging the ratio gives the multiplication rule:

pX,Y(x,y)=pY∣X(y∣x)pX(x).

This also builds a joint model in two stages. Bayes' rule reverses those stages by dividing the same joint probability by the other marginal:

pX∣Y(x∣y)=pY∣X(y∣x)pX(x)pY(y).
Accumulate probabilities with a CDF

The joint CDF is F(x,y)=P(X≤x,Y≤y). Add cells at or below both thresholds. Here F(1,0)=0.30 and F(1.5,0.7)=0.30; no extra cell enters between these thresholds. A discrete CDF is a step function.

Letting the second threshold tend to infinity gives FX(x). A rectangle uses inclusion and exclusion:

P(a<X≤b,c<Y≤d)=F(b,d)−F(a,d)−F(b,c)+F(a,c).

The last term restores the corner removed twice. Marginals alone cannot reconstruct the table: different ways of pairing values can keep every row and column total unchanged. Independence supplies the extra rule needed to multiply marginal probabilities.

For a concrete comparison, replace the no-coffee row by 0.135, 0.2025, 0.1125 and the coffee row by 0.165, 0.2475, 0.1375. Every row and column total stays the same, but the two-pastry, no-coffee probability becomes 0.1125 instead of 0.15. Thus even complete knowledge of both marginals leaves joint event probabilities unresolved.

Key Takeaways

  • A joint event adds the probabilities of its qualifying pairs.
  • A marginal sums over every value of the other variable.
  • A conditional distribution divides by the marginal of the condition.
  • Each conditional PMF sums to 1 over its outcome variable.
  • A joint CDF accumulates probability below both thresholds.
  • Marginals alone leave the dependence structure undetermined.

1.2 Integrate a joint density over an event

For a pair with a joint density, probability occupies regions of the plane. A density value tells you how much probability is packed near a point; the integral over a region gives its probability.

Density, support and total probability

A joint PDF satisfies f(x,y)≥0 and ∬ℝ2f(x,y) dx dy=1. For an event region A,

P((X,Y)∈A)=∬Af(x,y) dx dy.

For a small rectangle, probability is approximately f(x,y)ΔxΔy. A density can exceed 1: density 4 on a square of side 1/2 has total integral 4(1/4)=1. A point, a line and a smooth curve have zero probability under a joint PDF. In particular, P(X=Y)=0, so including an ordinary event boundary leaves its probability unchanged.

The support records where the density is positive. A formula must come with its region and be zero elsewhere. The event you integrate is its intersection with that support.

Set the limits before calculating

Let f(x,y)=x+y on the unit square. Its integral is 1/2+1/2=1. For X+Y≤1, sketch the part below the line y=1−x inside the square. Fixing x gives 0≤y≤1−x, while x ranges from 0 to 1:

P(X+Y≤1)=∫01∫01−x(x+y) dy dx.

The inner integral is x(1−x)+(1−x)2/2=(1−x2)/2. Integrating over x gives 1/2−1/6=1/3. For the smaller square with both coordinates at most 1/2, the limits are constant and the probability is 1/8.

Use an outer variable with numerical endpoints. For each fixed outer value, read the inner endpoints from the shaded region. If a boundary changes partway across, split the integral there. Inner endpoints may depend on the outer variable; the final probability must be a number.

Normalize a density on a triangle

Suppose f(x,y)=cx on 0<y<x<1. To find c, integrate over that triangle:

1=∫01∫0xcx dy dx=∫01cx2 dx=c/3.

Thus c=3. For Y>1/2, horizontal slices run from x=y to 1:

P(Y>1/2)=∫1/21∫y13x dx dy=∫1/2132(1−y2) dy=516.

Vertical slices give ∫1/21∫1/2x3x dy dx, with the same result. Using the rectangle 0<x<1,1/2<y<1 with formula 3x would give 3/4: it adds density where the model actually assigns zero.

The joint CDF integrates the density up to both thresholds:

F(x,y)=∫−∞x∫−∞yf(s,t) dt ds.

Where the mixed derivative exists, f(x,y)=∂2F(x,y)/(∂x ∂y). The support still determines which parts of these unbounded integrals contribute.

For the unit-square density x+y, thresholds inside the square give F(x,y)=∫0x∫0y(s+t) dt ds=x2y/2+xy2/2. Differentiate first with respect to x to get xy+y2/2, then with respect to y to recover x+y. This links the accumulated probability to its density without treating a density value as a point probability.

Key Takeaways

  • Probability is an integral; a PDF value is density.
  • Intersect the event with the support before choosing limits.
  • Normalize by setting the full-support integral equal to 1.
  • The joint CDF and PDF are related by integration and mixed differentiation.

1.3 Find marginals and conditional densities

A joint density contains both the distribution of each coordinate and the way the coordinates depend on each other. Integration removes a coordinate. Conditioning fixes one coordinate and rescales the resulting slice.

Integrate out the other variable

The marginal densities are

fX(x)=∫−∞∞f(x,y) dy,fY(y)=∫−∞∞f(x,y) dx.

For f(x,y)=3x on 0<y<x<1, fixing x gives fX(x)=∫0x3x dy=3x2 on (0,1). Fixing y gives fY(y)=∫y13x dx=32(1−y2) on (0,1). Both are zero elsewhere and integrate to 1. A marginal of X must contain no remaining y.

Rescale the slice

For fX(x)>0, the conditional density is

fY∣X(y∣x)=f(x,y)fX(x).

Although P(X=x)=0 for a continuous variable, this density ratio defines the usual conditional law. It describes the limit of conditioning on a small interval near x when the densities are regular there. It is a density in y, so integrate it to find conditional probabilities.

Here the ratio is 3x/(3x2)=1/x for 0<y<x. Therefore Y given X=x is uniform on (0,x). At x=1/2, the probability that Y<1/4 is ∫01/42 dy=1/2. Keeping the incorrect upper support endpoint 1 would make the conditional density integrate to 2.

Reverse the roles and the answer changes:

fX∣Y(x∣y)=2x1−y2,y<x<1.

At y=1/2, P(X>3/4∣Y=1/2)=∫3/41(8x/3) dx=7/12. The slice is increasing in x, so it is not uniform.

Build and reverse a two-stage model

The multiplication rule is f(x,y)=fY∣X(y∣x)fX(x). For a different model, let X be uniform on (0,1) and Y given X=x uniform on (0,x). Its joint density is 1/x on the triangle. Then

fY(y)=∫y1dxx=−ln⁡y,0<y<1.

Bayes' rule reverses the order:

fX∣Y(x∣y)=fY∣X(y∣x)fX(x)fY(y).

The joint density needs division by its marginal before it becomes a conditional density; the numerator alone is generally not normalized.

Mix a discrete and a continuous variable

Let an unknown success probability Y be uniform on (0,1). Given Y=y, let X be Bernoulli with success probability y. Average the success probability over the density of Y:

P(X=1)=∫01y⋅1 dy=1/2.

After a success, Bayes' rule gives fY∣X(y∣1)=y/(1/2)=2y on (0,1). Thus P(Y>1/2∣X=1)=∫1/212y dy=3/4. This calculation combines a probability mass for the observed trial with a density for its unknown probability.

In a mixed model with discrete X, the general update is fY∣X(y∣x)=P(X=x∣Y=y)fY(y)/P(X=x). Its denominator comes from P(X=x)=∫P(X=x∣Y=y)fY(y) dy. The integrand weights each possible continuous model value by the likelihood of the observed discrete outcome, and the denominator makes that weighted density integrate to 1.

Key Takeaways

  • Integrate out the coordinate you want to remove.
  • Conditional PDFs divide by the conditioning variable’s marginal density.
  • Keep the support of the fixed-coordinate slice.
  • A conditional PDF integrates to 1 in its outcome variable.
  • Bayes’ rule combines a likelihood with a marginal distribution.
  • Mixed pairs combine discrete probability masses with continuous densities.
2

Recognize and use independence

Independence lets separate distributions combine into a joint model, but it must describe the full law. A formula, its support and the conditioning behavior all help test the claim. Once independence is established, rectangular events split into products and comparison events can be integrated against the product density. Symmetry and uniform-area arguments sometimes shorten that calculation, provided their conditions hold.

2.1 Check whether the joint distribution factors

Independence means that learning one variable's value leaves the other's distribution unchanged. It is a property of the full joint distribution, not a conclusion drawn from a small covariance or an unrelated-sounding story.

Factor the full distribution

The definition works for any two random variables:

FX,Y(x,y)=FX(x)FY(y)for all real x,y.

For discrete variables, check p(x,y)=pX(x)pY(y) in every cell. A single failing cell establishes dependence. In the café model, p(0,0)=0.10 but pX(0)pY(0)=0.30(0.45)=0.135. Even a zero cell establishes dependence if its two marginal probabilities are positive.

For jointly continuous variables, independence is equivalent to f(x,y)=fX(x)fY(y) almost everywhere: changing density values on a set of zero area changes no probabilities. A disagreement at an isolated point cannot settle dependence. A disagreement across a positive-area region can.

An equivalent approach compares the conditional law with the marginal law at conditioning values where they are defined, with the usual almost-everywhere qualification for densities. The café's coffee probability changes from 0.55 to 5/9 among one-pastry customers, so the law changes.

Include the support in factorization

The density 6e−2x−3y for positive x,y factors into 2e−2x and 3e−3y on the positive quadrant. These are exponential densities with rates 2 and 3. The variables are independent. More generally, nonnegative factors depending on separate coordinates can be rescaled into marginal densities when the full density factors over the plane.

Now consider 3x on 0<y<x<1. Its formula seems to depend on a single coordinate, but its triangular support links the coordinates. The product of its marginals, 3x2⋅3(1−y2)/2, is positive in the upper half of the unit square, where the joint density is zero. That entire region establishes dependence. For independent variables, support can be represented as a product of marginal supports, up to sets of zero area.

A rectangular support alone is insufficient. With f(x,y)=x+y on the unit square,

P(X≤1/2,Y≤1/2)=1/8,

while the product of the marginal probabilities is (3/8)2=9/64. The event probabilities fail to factor.

Extend independence beyond two variables

Mutual independence requires the full joint law to factor into all marginals. Pairwise independence checks each pair and is weaker. Let X,Y be independent fair bits, and let Z indicate that they differ. Each pair is independent, but P(X=1,Y=1,Z=1)=0 instead of 1/8: the third bit is determined by the first two.

Independent variables remain independent after applying separate functions, such as X2 and eY. The term i.i.d. adds identical distributions to independence. Neither claim makes X independent of X+Y; that second variable includes X itself. Also distinguish independence from disjoint events: two disjoint events with positive probabilities cannot occur together, so they are dependent.

Key Takeaways

  • Independence factors the joint law into its marginals.
  • A failing PMF cell proves dependence; an isolated PDF mismatch does not.
  • The support is part of the density being factored.
  • Rectangular support alone is insufficient.
  • Pairwise independence is weaker than mutual independence.

2.2 Compute probabilities using independence

Independent marginals give a joint model by multiplication. The next step depends on the event's shape: a rectangle separates into two one-variable events, while a comparison between variables usually needs an integral or a symmetry argument.

Multiply for separate restrictions

For independent variables,

P(X∈A,Y∈B)=P(X∈A)P(Y∈B).

With independent exponential lifetimes of rates 2 and 3 per year, the chance both exceed one year is e−2e−3=e−5. Each restriction concerns a separate variable and a fixed threshold. The joint density is f(x,y)=6e−2x−3y for positive coordinates.

The event X<Y is different. It covers a region above a diagonal, not a single rectangle. Fix x, then integrate over y>x:

P(X<Y)=∫0∞∫x∞2e−2x3e−3y dy dx.

The inner integral over the second density is e−3x. Therefore the remaining integral is ∫0∞2e−5x dx=2/5. In general, for independent exponential variables with rates λ1,λ2, the probability that the first is smaller is λ1/(λ1+λ2). A higher failure rate makes a shorter lifetime more likely.

For independent continuous variables more generally,

P(X<Y)=∫−∞∞fX(x)[1−FY(x)] dx.

At each first-variable value, weight the chance the second variable exceeds it by the first density. Choosing an arbitrary fixed cutoff and multiplying two tail probabilities would cover just one piece of the comparison region.

Use area for uniform arrival times

Two friends arrive independently and uniformly within a 60-minute window. Each waits 15 minutes. Their joint density is constant on a square of area 602, so event probabilities are area ratios.

They fail to meet when their arrival times differ by more than 15 minutes. The excluded region consists of two right triangles, each with legs 45. Their combined area is 452=2025. Thus

P(meet)=1−20253600=716.

Uniformity makes area useful; independence makes the joint arrival distribution uniform on this square. A nonconstant density would require weighting the region by that density.

Check ties before using symmetry

For i.i.d. continuous variables, swapping the two coordinates leaves the law unchanged and ties have probability zero. Hence P(X<Y)=P(Y<X)=1/2. Independent variables with different distributions need not split the probability equally, as the exponential example shows.

Two independent fair dice have ties with probability 1/6. Their strict comparison probabilities are equal, so each is (1−1/6)/2=5/12. Counting gives the same result: 15 of the 36 ordered pairs have the first die larger. Equal-looking roles justify symmetry; the tie probability determines what remains to split.

Key Takeaways

  • Separate-coordinate restrictions multiply under independence.
  • Comparison events use the product density over a nonrectangular region.
  • Uniform joint models turn probabilities into area ratios.
  • Symmetry must account for ties and the marginal distributions.
3

Average functions of two variables

Products, distances, maxima and totals describe different features of a random pair. Their expectations come from weighting function values by the joint distribution. Some averages require a table or a double integral; others simplify through linearity or an outcome-by-outcome identity. Keeping the addition rule separate from the independent-product rule prevents a common error when the two coordinates are dependent.

3.1 Average a function over a joint distribution

A function of two random variables may describe a product, a distance or the larger of two measurements. To find its expectation, average the function's value at each possible pair using the joint distribution as the weights.

Use two-dimensional LOTUS

The law of the unconscious statistician, or LOTUS, gives

E[g(X,Y)]=∑x∑yg(x,y)p(x,y)

for a discrete pair, and

E[g(X,Y)]=∬g(x,y)f(x,y) dx dy

for a jointly continuous pair. For a finite expectation, the weighted sum or integral of ∣g∣ must be finite. You can work directly from the joint distribution; there is no need to derive a new distribution for g(X,Y).

First write the function, then multiply it by the PMF or PDF, and sum or integrate across the support. The function supplies the value being averaged; the distribution supplies its weight.

Work cell by cell

In the café table, XY vanishes whenever pastries or coffee is zero. The remaining contributions are

E(XY)=1⋅1(0.25)+2⋅1(0.10)=0.45.

For the maximum, each nonzero cell contributes its larger coordinate:

E[max⁡(X,Y)]=1(0.20)+2(0.15)+1(0.20)+1(0.25)+2(0.10)=1.15.

Different cells can give the same function value. You may group them, but a direct weighted sum already handles that repetition correctly.

Split where the function changes form

Let X,Y be independent uniform points on a 1 m rod. The distance is ∣X−Y∣. The joint density is 1 on the unit square. Below the diagonal, the distance is x−y; above it, the distance is y−x. Symmetry makes the two contributions equal:

E∣X−Y∣=2∫01∫0x(x−y) dy dx.

The inner integral is x2/2, so the answer is ∫01x2 dx=1/3 m. Removing the absolute-value sign across the whole square would cancel positive and negative differences and answer a different question.

Keep the density and its support

For the dependent density f(x,y)=x+y on the unit square,

E(XY)=∫01∫01xy(x+y) dy dx=1/6+1/6=1/3.

Also E(X)=1/3+1/4=7/12, and symmetry gives the same mean for Y. Integrating just xy would use uniform weights and give 1/4, which belongs to a different model.

For 3x on the triangle 0<y<x<1,

E(Y)=∫01∫0xy(3x) dy dx=∫0132x3 dx=3/8.

When the function depends only on x, integrating out y reduces the calculation to ∫g(x)fX(x) dx. Marginal and joint routes must agree.

Taking a function of the means generally fails for nonlinear functions. The two uniform points have the same mean, so ∣E(X)−E(Y)∣=0, while their expected distance is 1/3. The average must follow the function, not precede it.

Probabilities are themselves a special case of this averaging rule. Choose g(x,y) to be 1 inside an event region and 0 outside it. LOTUS then becomes the sum or integral of the joint law over the event. Using another function, such as distance or product, changes what each possible pair contributes but keeps the same probability weights.

Key Takeaways

  • LOTUS weights a function’s values by the joint PMF or PDF.
  • Use the complete support and include the density.
  • Split the region when an absolute value or maximum changes formula.
  • A nonlinear function of the means generally differs from its expectation.

3.2 Know when expectations add and multiply

Sums and products follow different expectation rules. A sum can be averaged term by term even when its variables depend on each other. Splitting an expected product needs an additional justification.

Linearity needs no independence

For finite expectations,

E(aX+bY+c)=aE(X)+bE(Y)+c.

The joint-distribution calculation explains why: expand (ax+by+c)f(x,y), integrate each term, and integrate out the unused coordinate. The density integrates to 1, so the constant contributes c. No factorization of the joint distribution occurs.

The café variables are dependent, yet E(X+Y)=0.95+0.55=1.50. Linearity also works for any finite collection, so an expected count can often be found by adding probabilities of its indicator events. Dependence matters for other calculations, but it does not block addition of means.

Products split under independence

If X,Y are independent, then

E(XY)=E(X)E(Y).

More generally, E[g(X)h(Y)]=E[g(X)]E[h(Y)] when the expectations exist. The joint density factors into its marginal densities, allowing the weighted double integral to split into two one-variable integrals. In a discrete model, the double sum splits in the same way.

For independent fair dice, E(XY)=3.52=12.25. If the second reading instead repeats the first die, Y=X, the expected product is E(X2)=91/6. Replacing this by E(X)2 would discard the die's variability: their difference is Var⁡(X).

Equality of the product moments alone is weaker than independence. If X is uniform on {−1,0,1} and Y=X2, symmetry gives E(X)=E(XY)=0. The product rule's equality happens to hold, yet Y is fixed by X. One matching moment cannot establish equality of entire distributions.

Average identities that hold outcome by outcome

For any two real numbers, their maximum plus minimum equals their sum. Therefore

E[max⁡(X,Y)]+E[min⁡(X,Y)]=E(X)+E(Y).

For i.i.d. unit uniforms, symmetry across the diagonal gives

E[max⁡(X,Y)]=2∫01∫0xx dy dx=2/3.

The expected minimum is then 1−2/3=1/3. For two fair dice, an expected maximum of 161/36 gives an expected minimum of 7−161/36=91/36. These steps use a pointwise identity and linearity, not independence between the maximum and minimum.

Indicators give another useful identity. If IA and IB record events, IAIB=IA∩B, hence E(IAIB)=P(A∩B). The product equals P(A)P(B) exactly when the two events are independent. This turns a joint probability into the mixed moment used to compute indicator covariance.

In the discrete case, the factorization step is explicit: ∑x∑yg(x)h(y)pX(x)pY(y)=[∑xg(x)pX(x)][∑yh(y)pY(y)]. Each bracket averages a function of one coordinate. For a dependent pair, replacing the joint PMF by this product of marginals is the unjustified step; distributing a sum inside the expectation makes no such replacement.

Key Takeaways

  • Linearity holds without independence when expectations are finite.
  • Independence lets expectations of separate-coordinate products factor.
  • One matching mixed moment is insufficient to establish independence.
  • Outcome-by-outcome identities remain true after taking expectations.
  • An indicator product records the intersection of its events.
4

Measure joint variation

Means describe individual centers, while covariance records how departures from those centers vary together. Correlation standardizes that measure so it can be compared across units. Both also help calculate the spread of a total or a difference. Worked discrete and continuous models connect these ideas to the joint distribution, and indicator variables make it possible to find a count’s variance while keeping dependence between trials visible.

4.1 Calculate and interpret covariance

Covariance measures how two variables' departures from their means vary together. A positive value favors departures in the same direction. A negative value favors departures in opposite directions. Its magnitude depends on the units.

Compute a mixed moment and subtract

For variables with finite variances,

Cov⁡(X,Y)=E[(X−E(X))(Y−E(Y))].

Expanding the product and using linearity gives the practical formula

Cov⁡(X,Y)=E(XY)−E(X)E(Y).

Find the individual means from marginals and the mixed moment from the joint law. In the café model, E(XY)=0.45, E(X)=0.95 and E(Y)=0.55. Thus the covariance is 0.45−0.5225=−0.0725. Reporting 0.45 alone would report the mixed moment, before centering.

For f(x,y)=x+y on the unit square, the means are both 7/12 and the mixed moment is 1/3. Consequently the covariance is 1/3−49/144=−1/144. For 3x on 0<y<x<1, the corresponding values are 3/4,3/8,3/10, giving 3/10−9/32=3/160. The triangular support allows larger values of Y when X is larger.

Expand covariance like a bilinear expression

Covariance is symmetric, a variable's covariance with itself is its variance, and a constant has covariance zero with every variable. These facts follow directly from centered departures:

Cov⁡(X,X)=Var⁡(X),Cov⁡(X,c)=0.

Shifts leave departures unchanged; scaling multiplies them. Thus

Cov⁡(aX+b,cY+d)=acCov⁡(X,Y).

It also distributes across sums in either argument. This is bilinearity: expand each pair of terms, multiply their coefficients, and retain each pair's covariance.

For example,

Cov⁡(X+Y,X−Y)=Var⁡(X)−Cov⁡(X,Y)+Cov⁡(Y,X)−Var⁡(Y).

The middle terms cancel by symmetry, leaving Var⁡(X)−Var⁡(Y). The sum and difference are therefore uncorrelated whenever the original variances are equal, even if the original variables are dependent.

Read the sign and the units

Independent variables with finite variances have zero covariance because their product moment factors. The converse fails: zero covariance describes the centered mixed moment, while independence describes every event in the joint law. Variables with zero covariance are called uncorrelated.

If one variable is measured in meters and the other in kilograms, covariance has units m·kg. Converting meters to centimeters multiplies its numerical value by 100. Adding a fixed calibration offset changes neither variable's departures and leaves covariance unchanged. A small numerical covariance can reflect the units chosen; correlation provides a unit-free measure of linear association.

Key Takeaways

  • Covariance is a centered mixed moment.
  • Compute it as expected product minus product of expectations.
  • Bilinearity expands covariance across sums and scales.
  • Adding constants leaves covariance unchanged.
  • Zero covariance can occur with dependence.
  • Covariance carries the product of the two units.

4.2 Standardize covariance into correlation

Correlation removes the units from covariance so that linear association can be compared across scales. It requires both variables to have positive finite variance; a constant variable has no defined correlation.

Divide by standard deviations

The correlation coefficient is

ρ=Corr⁡(X,Y)=Cov⁡(X,Y)SD⁡(X)SD⁡(Y).

It equals the covariance of the standardized variables, each centered and divided by its own standard deviation. The denominator uses standard deviations, not variances.

In the café example, E(X2)=1.45, so Var⁡(X)=1.45−0.952=0.5475. The coffee indicator has variance 0.55(0.45)=0.2475. Hence

ρ=−0.07250.5475⋅0.2475≈−0.197.

For x+y on the unit square, each variance is 11/144 and the covariance is −1/144, giving ρ=−1/11. For the triangular density 3x, the variances 3/80 and 19/320 give ρ=3/57≈0.397.

Understand the bounds

Call the standardized variables U,V. Their variances are 1 and their covariance is ρ. Since variances cannot be negative,

Var⁡(U+V)=2+2ρ≥0,Var⁡(U−V)=2−2ρ≥0.

Together these imply −1≤ρ≤1. At an endpoint, one standardized sum or difference has variance zero. Thus ∣ρ∣=1 exactly when Y=aX+b with probability 1 for a nonzero constant a. Its sign matches the slope's sign.

Changing measurement units with positive scale factors leaves correlation unchanged. Multiplying just one coordinate by a negative factor reverses the sign; multiplying both by negative factors preserves it. Shifts have no effect. Correlation measures closeness to a linear relationship, not its slope: doubling every vertical coordinate changes the slope but leaves correlation unchanged.

Separate linear association from independence

Let X take −1,0,1 with equal probabilities, and set Y=X2. Symmetry gives E(X)=E(X3)=0, so Cov⁡(X,Y)=0. Both variables have positive variance and therefore zero correlation. Yet observing X=0 makes Y=0 certain, although its marginal probability is 1/3. The relationship is curved and completely dependent.

Correlation describesCorrelation leaves unresolved
Direction of linear associationWhich variable causes which
Strength of linear associationStrength of every nonlinear relationship
A unit-free standardized momentThe numerical slope of a line

A value near −1 represents strong negative linear association, not weak association. A value of 0.9 is a coefficient, not a statement that 90% of outcomes are shared. Independence follows from zero correlation within a jointly normal model, a special property that needs that joint-model information.

Key Takeaways

  • Correlation standardizes covariance using two standard deviations.
  • Both variances must be positive and finite.
  • Correlation lies between −1 and 1.
  • Perfect correlation means an exact affine relation with probability 1.
  • Positive scale changes preserve correlation; reversing one scale reverses its sign.
  • Zero correlation can hide nonlinear dependence.

4.3 Find the variance of a combined quantity

The spread of a total depends on how its parts move together. Positive covariance increases a sum's variance because large departures reinforce each other. The same covariance reduces a difference's variance because those departures cancel.

Square the coefficients and retain cross terms

Expand Var⁡(aX+bY)=Cov⁡(aX+bY,aX+bY) to get

Var⁡(aX+bY)=a2Var⁡(X)+b2Var⁡(Y)+2abCov⁡(X,Y).

The covariance appears twice in the expansion. For a difference, b=−1: its squared contribution stays positive while the cross term changes sign.

Suppose SD⁡(X)=3, SD⁡(Y)=4 and ρ=0.5. First compute covariance as 0.5(3)(4)=6. Then

Var⁡(X+Y)=9+16+12=37, Var⁡(X−Y)=9+16−12=13.

Take square roots at the end if an SD is requested. Adding the standard deviations would skip the covariance structure. Subtracting variances for a difference is also wrong: independent variables give the sum of their variances for both a sum and a difference.

Keep every pair for longer sums

For several variables,

Var⁡(∑i=1nXi)=∑iVar⁡(Xi)+2∑i<jCov⁡(Xi,Xj).

The second sum lists each unordered pair once. Using a sum over i≠j already includes both orders, so it takes no extra factor 2. Pairwise zero covariances are enough for variances to add; full independence is a stronger sufficient condition.

For i.i.d. variables with variance σ2, the sample mean has variance σ2/n. Indeed, the sum has variance nσ2 and division by n scales variance by 1/n2. With SD 2 and 25 observations, the mean's variance is 4/25=0.16 and its SD is 0.4.

Write a count as a sum of indicators

If Ij records event Aj, then Var⁡(Ij)=pj(1−pj) and

Cov⁡(Ii,Ij)=P(Ai∩Aj)−pipj.

For five cards dealt without replacement from a 52-card deck containing 26 red cards, let the count of red cards be R=I1+⋯+I5. Each indicator has variance 1/4. For distinct positions, the joint red probability is (26/52)(25/51), giving covariance −1/204.

There are (52)=10 unordered pairs. Hence

Var⁡(R)=5(1/4)+2(10)(−1/204)=235/204≈1.15.

The independent-trial value would be 1.25. Sampling without replacement creates negative covariance: a red draw leaves a smaller red proportion for a later draw. The indicator method captures that dependence without deriving the count's entire distribution.

Key Takeaways

  • Variance squares each coefficient and includes covariance cross terms.
  • Positive covariance increases sum variance and decreases difference variance.
  • Zero covariances are enough for variances to add.
  • An i.i.d. mean has variance σ²/n.
  • Indicator covariances come from joint event probabilities.
5

Model counts across categories

Several counts from the same set of trials share a fixed total. The multinomial model describes their joint probabilities while preserving that constraint. Counting outcome sequences explains its coefficient; grouping categories, selecting a marginal or conditioning on a known count leads to simpler related models. The same structure explains why independent trials produce negatively associated category counts.

5.1 Count outcomes in several categories

The multinomial distribution models several category counts from the same fixed collection of trials. It extends the binomial model from two categories to any finite number of categories.

Check the trial model

There are n independent trials. Each trial falls into exactly one of k categories, with probabilities p1,…,pk that remain the same across trials and add to 1. If Xj counts category j, write

𝐗∼Mult⁡k(n,𝐩).

The possible count vectors have nonnegative integer coordinates summing to n. A category label describes a trial outcome; a count vector describes the aggregate results of all trials. A count vector whose coordinates total more or less than n has probability zero.

For example, six customers independently give one of three survey responses: “satisfied,” “neutral” or “dissatisfied,” with probabilities 0.5, 0.3 and 0.2. This is a multinomial model if those probabilities are shared across customers. Drawing categories without replacement from a small finite collection changes the trial probabilities and generally needs a different model.

Distinguish a sequence from a set of counts

A particular ordered sequence containing three satisfied, two neutral and one dissatisfied response has probability

(0.5)3(0.3)2(0.2)=0.00225.

The same count vector can arise from many ordered sequences. Choose positions for each category: the number of distinct sequences is

6!3!2!1!=60.

Reordering the three satisfied responses among themselves produces no new sequence, which explains the factorial in the denominator. Each sequence has the same probability by the independent, fixed-probability trial model. Adding their probabilities gives

P(X1=3,X2=2,X3=1)=60(0.00225)=0.135.

Leaving out the coefficient would answer a question about one specific sequence, not about the counts.

Use the general PMF

For any valid count vector,

P(X1=n1,…,Xk=nk)=n!n1!⋯nk!∏j=1kpjnj.

Check that the counts total n before calculating. Use 0!=1 when a category has zero occurrences. A zero-probability category has count zero with certainty; count vectors assigning it a positive count have zero probability.

For k=2, the second count is n−X1 and the PMF reduces to the binomial formula. Independent trials do not make the category counts independent. In the survey, once the first two counts are 3 and 2, the last count must be 1. Nondegenerate category counts compete for a fixed total, even though the customers' responses are independent. This distinction explains the negative count covariances that arise from the model.

Key Takeaways

  • Multinomial trials are independent with fixed category probabilities.
  • Each trial enters exactly one category.
  • Valid count vectors total n.
  • The coefficient counts sequences with the requested counts.
  • Independent trials can produce dependent category counts.

5.2 Combine, condition and compare category counts

A multinomial model gives more than a joint PMF. Its component counts, merged categories and conditional counts have familiar distributions. Their moments also expose the dependence created by the fixed total.

Take marginals and merge categories

Each trial either enters category j or does not, so

Xj∼Bin⁡(n,pj),E(Xj)=npj,Var⁡(Xj)=npj(1−pj).

For the six-person survey, the satisfied count has distribution Bin⁡(6,0.5), mean 3 and variance 1.5. Its probability of equaling 3 is (63)(0.5)6=20/64.

Merging categories adds their counts and probabilities. The combined neutral-or-dissatisfied count is binomial with probability 0.3+0.2=0.5. More generally, Xi+Xj∼Bin⁡(n,pi+pj), and retaining several merged groups gives another multinomial vector. A trial in either category belongs to their merged group, so adding probabilities is justified by mutually exclusive trial outcomes.

Condition on a count

Given Xk=m, there are n−m trials left for the other categories. Rescale their probabilities by 1−pk:

(X1,…,Xk−1)∣Xk=m∼Mult⁡k−1(n−m,(pj1−pk)j<k).

Use this at conditioning counts with positive probability and pk<1. In the survey, given two dissatisfied customers, four responses remain. Their satisfied and neutral probabilities become 0.5/0.8=0.625 and 0.3/0.8=0.375. Thus

P(X1=3∣X3=2)=(43)(0.625)3(0.375)≈0.366.

Keeping six trials or keeping probability 0.5 would ignore information in the condition.

Derive the negative covariance

The variance of Xi+Xj can be computed two ways: as a merged binomial and as a sum using covariance. Equating them gives

n(pi+pj)(1−pi−pj)=npi(1−pi)+npj(1−pj)+2Cov⁡(Xi,Xj).

Expanding yields Cov⁡(Xi,Xj)=−npipj for distinct categories. It is negative when both probabilities are positive. The survey's satisfied and neutral counts have covariance −6(0.5)(0.3)=−0.9. Dividing by their SDs gives correlation about −0.655, or generally

−pipj(1−pi)(1−pj)

for counts with positive variances. The trial count n cancels from correlation.

The covariance matrix has npj(1−pj) on its diagonal and −npipj off the diagonal. Each row sums to zero: the covariance of a component with the total n is zero. Multiplying independent-binomial marginal probabilities would lose this fixed-total dependence and generally give the wrong joint probability.

The indicator derivation makes the sign concrete. In a single trial, the indicators for two different categories cannot both be 1, so their expected product is zero and their covariance is −pipj. Across different trials the indicators are independent and their covariances vanish. Summing the n same-trial contributions gives −npipj for the full counts.

Key Takeaways

  • Individual multinomial counts have binomial marginal distributions.
  • Merging categories adds their probabilities.
  • Conditioning removes known counts and rescales remaining probabilities.
  • Distinct category counts have covariance −npᵢpⱼ.
  • Count correlations do not depend on the number of trials.
  • The covariance matrix’s row sums are zero.
6

Work with correlated normal measurements

A multivariate normal model controls every linear combination of its coordinates, giving more information than separate normal marginals. Its mean vector and covariance matrix determine the law, and a shared-normal construction makes correlation concrete. The bivariate case supplies workable formulas for comparisons and conditional distributions. Closure under linear changes and the nonnegative-variance requirement help check larger models.

6.1 Define and build a multivariate normal model

Normal distributions for individual coordinates leave their joint behavior undetermined. A multivariate normal model adds a stronger property: every linear combination of the coordinates is normal.

Read the definition and parameters

A vector 𝐗=(X1,…,Xk) is multivariate normal, or MVN, when t1X1+⋯+tkXk is normal for every set of real coefficients. Constants count as normals with variance zero. For two coordinates, the name is bivariate normal, or BVN.

The model is determined by its mean vector 𝝁 and covariance matrix Σ, written 𝒩k(𝝁,Σ). Entry Σij is Cov⁡(Xi,Xj). The diagonal contains variances, and symmetry of covariance makes the matrix symmetric. For any coefficients,

E(∑itiXi)=∑itiμi,Var⁡(∑itiXi)=∑i∑jtitjΣij.

Choosing just one nonzero coefficient shows that every component is normal. Choosing coefficients on a subset shows that every subvector is MVN. Independent normal variables form an MVN because every linear combination of them is normal. For independent X∼𝒩(1,4) and Y∼𝒩(2,9), the combination 2X−Y has mean 0 and variance 4(4)+9=25, so it is 𝒩(0,25).

Construct a correlated pair

Start with independent standard normals Z,W. For −1<ρ<1, set

U=Z,V=ρZ+1−ρ2W.

The variance of V is ρ2+(1−ρ2)=1. Its covariance with U is ρ, since the independent noise term contributes zero covariance. Both SDs are 1, so their correlation is ρ.

Every linear combination satisfies aU+bV=(a+bρ)Z+b1−ρ2W, a normal combination of independent normals. This proves joint normality. To obtain other means and positive SDs, use X=μX+σXU and Y=μY+σYV. The shared Z creates association; the separate W contributes variation not shared with U.

Normal marginals are insufficient

Let Z be standard normal and S an independent fair sign taking values −1,1. Set Y=SZ. Symmetry makes Y standard normal, and Cov⁡(Z,Y)=E(S)E(Z2)=0. Yet ∣Y∣=∣Z∣, so they are dependent.

Their sum equals zero whenever S=−1, with probability 1/2. Otherwise it is 2Z. This sum has a point mass at zero and also nonzero variation, so it is neither an ordinary normal nor a constant. The pair fails the defining linear-combination test. Two normal marginals and zero covariance therefore cannot replace a stated or established jointly normal model.

Key Takeaways

  • MVN means every linear combination is normal.
  • The mean vector and covariance matrix determine an MVN law.
  • Independent normal coordinates form an MVN.
  • Shared and independent normal terms construct a correlated pair.
  • Normal marginals alone are insufficient for joint normality.

6.2 Calculate with a bivariate normal model

A bivariate normal model describes two measurements using their means, SDs and correlation. Its linear combinations and its conditional distributions are normal, allowing many two-variable questions to become one-variable normal calculations.

Read the density and its shape

For standard normal marginals and −1<ρ<1, the joint PDF is

f(x,y)=12π1−ρ2exp⁡(−x2−2ρxy+y22(1−ρ2)).

It is positive across the whole plane. At ρ=0 it factors into the two standard normal densities. A general BVN has means μX,μY, positive SDs σX,σY and correlation ρ. Standardizing both coordinates gives the standard BVN with that correlation.

Contours of equal density are ellipses centered at the mean pair. Positive correlation tilts them upward; negative correlation tilts them downward. With zero correlation their axes follow the coordinate axes, and equal SDs make them circles. The ordinary two-dimensional density formula requires ∣ρ∣<1; perfect correlation places the pair on a line.

Convert a comparison into a normal combination

Suppose math and physics scores are jointly normal with means 70 and 65, SDs 10 and 12, and correlation 0.6. Their covariance is 0.6(10)(12)=72. The total has mean 135 and variance 100+144+2(72)=388. Therefore

P(X+Y>150)=1−Φ(15388)≈0.223.

Here Φ is the standard normal CDF. Standardize by the square root of the variance. Adding the two SDs would give 22, which is not the SD of this total.

For the difference, change the cross-term sign. Its mean is 5 and variance is 100+144−144=100. Thus

P(X>Y)=P(X−Y>0)=1−Φ(−0.5)≈0.691.

The means and covariance affect these answers differently: covariance widens the total and narrows the difference.

Condition on one measurement

Given X=x, the other measurement is normal with

mean=μY+ρσYx−μXσX,variance=σY2(1−ρ2).

An observation one SD above X's mean shifts the conditional mean of Y by ρ times its own SD. The conditional variance stays the same across values of x. It is smaller than the marginal variance when correlation is nonzero.

Given a math score of 80, the physics mean becomes 65+0.6(12)=72.2. The variance is 144(0.64)=92.16, so the SD is 9.6. Hence P(Y>80∣X=80)=1−Φ(7.8/9.6)≈0.208. The unconditional probability is 1−Φ(1.25)≈0.106.

Always read 𝒩(μ,σ2) with variance as its second parameter. The conditional model here is 𝒩(72.2,92.16); 92.16 is not the standardizing denominator.

Key Takeaways

  • A BVN is specified by two means, two SDs and a correlation.
  • Its linear combinations are normal with covariance in their variances.
  • Convert comparisons into differences before standardizing.
  • Conditioning shifts the mean and multiplies variance by 1 − ρ².
  • The second parameter of N(μ, σ²) is variance.
  • Perfect correlation has no ordinary two-dimensional density.

6.3 Use normal closure and check covariance matrices

Joint normality makes covariance especially informative. It also survives linear changes of coordinates. These properties let you work with totals, differences and other combinations without deriving a new joint density each time.

Zero covariance gives independence within an MVN

For a standard bivariate normal with zero correlation, the joint PDF separates into its two marginal densities. The coordinates are independent. More generally, pairwise uncorrelated components of an MVN are mutually independent. This conclusion uses joint normality, not just normal marginals.

Take independent standard normals X,Y and form U=X+Y and V=X−Y. Every combination of U,V is a combination of X,Y, so the new pair is jointly normal. Its covariance is

Cov⁡(U,V)=Var⁡(X)−Var⁡(Y)=1−1=0.

Consequently U,V are independent, each with distribution 𝒩(0,2). Both share the original inputs, but the jointly normal model and the covariance calculation establish independence.

With the score variables whose variances are 100 and 144, the covariance of total and difference is instead 100−144=−44. Their joint normality still holds; their nonzero covariance establishes dependence.

Transform the means and covariances

A vector of linear combinations of MVN coordinates, with constants added, remains MVN. Means follow linearity and covariances follow bilinearity. If 𝐘=A𝐗+𝐛, matrix notation records both rules:

𝐘∼𝒩(A𝝁+𝐛,AΣA𝖳).

Each row of A lists the coefficients for one new coordinate. Entry (r,s) of the new covariance matrix is ∑i∑jariasjΣij: pair every term from coordinate r with every term from coordinate s. The two coefficient factors explain why the covariance needs both A and its transpose. Constants shift means and leave covariance unchanged.

Marginals and subvectors stay MVN. Conditional distributions also stay normal, with the bivariate conditional formulas giving the two-coordinate case. A transformation can produce a constant coordinate; variance-zero normals keep the closure statement valid.

Check that every variance can be nonnegative

A covariance matrix is positive semidefinite, meaning

∑i∑jtitjΣij≥0for every real coefficient vector 𝐭.

That expression is the variance of a linear combination. Symmetry and positive diagonal entries alone are insufficient. For three standardized variables, a proposed correlation of −0.9 for every pair would give

Var⁡(X1+X2+X3)=3+6(−0.9)=−2.4.

The negative result proves the proposed matrix impossible. Each individual pair's correlation lies in the allowed range, but the three pairs cannot coexist in one joint distribution. Testing a revealing combination can reject a matrix without calculating every possible combination.

Key Takeaways

  • Uncorrelated MVN components are independent.
  • Linear combinations and affine vector transformations preserve normality.
  • Transformed covariance is AΣAᵀ.
  • Covariance matrices give nonnegative variance to every linear combination.

Joint Distributions examples

6 Walkthroughs

1

From paired outcomes to conditional laws

17 steps
Read a joint table, integrate a joint density and update a mixed model after an observation.
  1. 1
    IntroductionKeep the two measurements together

    A customer’s pastry count and coffee choice belong to the same visit. Their individual distributions tell us how often each value occurs, but the joint distribution retains the pairing. We will first read probabilities from a table, then use regions for a continuous pair, and finally condition on an observation. The operation changes from adding cells to integrating density; the need to identify the event stays the same.

  2. 2
    ExampleRead six joint cells

    Let X count pastries and let Y=1 indicate coffee. For X=0,1,2, the row with Y=0 has masses 0.10, 0.20, 0.15; the row with Y=1 has masses 0.20, 0.25, 0.10. All six add to 1. Each cell is a probability for both coordinates together. For example, p(2,0)=0.15 describes two pastries without coffee, not two pastries among customers already known to have no coffee.

  3. 3
    ExampleSelect the event’s pairs

    To find P(X>Y), test the coordinate condition in each cell. It holds at (1,0),(2,0),(2,1), so the answer is 0.20+0.15+0.10=0.45. The pair (1,1) is excluded because equality is not a strict inequality. No rescaling is needed: this event concerns all customers, so the selected cell masses already use the correct full population.

  4. 4
    ExplanationSum out one coordinate

    The pastry marginal adds the two rows at each fixed pastry count. This gives pX(0)=0.30,pX(1)=0.45,pX(2)=0.25. The coffee marginal adds across each row, giving pY(0)=0.45,pY(1)=0.55. Both marginals sum to 1. They describe one coordinate at a time and no longer tell us how pastry and coffee values pair within the table.

  5. 5
    ExampleNormalize a selected column

    Given X=1, keep the column with masses 0.20 and 0.25. Its total is 0.45, so P(Y=1∣X=1)=0.25/0.45=5/9. The other conditional probability is 4/9. The denominator belongs to the condition after the bar. Dividing by 0.55 would select coffee buyers and answer the reverse question about pastry counts.

  6. 6
    ChallengeJoint or conditional?

    In this same table, what is P(X=2∣Y=0)? Explain the denominator.

    ---reveal---

    The no-coffee row totals 0.45, and its two-pastry cell is 0.15. Therefore the answer is 0.15/0.45=1/3. The condition restricts attention to no-coffee customers; 0.15 alone remains a share of all customers. Multiplying the answer by the conditioning probability recovers the joint mass: (1/3)(0.45)=0.15.

  7. 7
    ExplanationMove from cells to regions

    A joint PDF assigns probability through P((X,Y)∈A)=∬Af(x,y) dx dy. A point has probability zero, and a PDF value can exceed 1. The support must accompany the formula: if f(x,y)=3x on 0<y<x<1, it is zero elsewhere. An event’s probability uses only its part inside this triangle, even if the written event also contains points outside it.

  8. 8
    ExampleFind the constant first

    Start with f(x,y)=cx on 0<y<x<1. A vertical slice keeps x fixed and lets y run from 0 to x. Thus the full integral is ∫01∫0xcx dy dx=∫01cx2 dx=c/3. Setting this equal to 1 gives c=3. A constant derived from a surrounding square would normalize a different support.

  9. 9
    ExampleSlice a probability region

    For Y>1/2 within the triangle, a horizontal slice has y between 1/2 and 1 and x between y and 1. Set up ∫1/21∫y13x dx dy. The inner integral is 3(1−y2)/2. The outer endpoints are numbers; the inner endpoint y follows the diagonal boundary of the actual event region.

  10. 10
    ExampleEvaluate the remaining integral

    Integrate the horizontal-slice expression:

    ∫1/2132(1−y2) dy=32[y−y3/3]1/21=5/16.

    The result is below 1/2, consistent with the density assigning more probability to smaller values of Y. If the whole rectangle above y=1/2 were integrated with formula 3x, it would wrongly count the area where y>x and the actual density vanishes.

  11. 11
    ChallengeReverse the order

    For this density and event Y>1/2, what limits apply if y is integrated first?

    ---reveal---

    Use ∫1/21∫1/2x3x dy dx. A vertical slice starts at the event boundary y=1/2 and ends at the support boundary y=x. Such a slice exists only for x>1/2. The integral becomes ∫1/213x(x−1/2) dx=5/16, agreeing with the horizontal-slice calculation.

  12. 12
    ExampleTake the two marginals

    For the triangle, fX(x)=∫0x3x dy=3x2 on (0,1). Reversing coordinates gives fY(y)=∫y13x dx=3(1−y2)/2 on (0,1). Fix the coordinate being retained and integrate the other over its allowed slice. Each result is zero outside its interval and integrates to 1; a remaining unwanted coordinate would signal incorrect limits.

  13. 13
    ExplanationDivide along a fixed slice

    The conditional density is fY∣X(y∣x)=f(x,y)/fX(x) for positive marginal density. Here it becomes 1/x on 0<y<x. This ratio defines a density even though the conditioning point has probability zero. Fixing x=1/2 gives density 2 on (0,1/2), so P(Y<1/4∣X=1/2)=2(1/4)=1/2. The support narrows along with the condition.

  14. 14
    ExampleReverse the conditioning

    Given Y=y, divide instead by fY(y) to get 2x/(1−y2) for y<x<1. At y=1/2, this is 8x/3 on (1/2,1). Integrating from 3/4 to 1 gives 7/12. This direction is not uniform: larger x values carry larger density along the horizontal slice. The two conditioning directions describe different selected distributions.

  15. 15
    ExampleUpdate a continuous probability after a discrete trial

    Let Y be uniform on (0,1) and let a trial X have success probability y given Y=y. The marginal success probability is ∫01y dy=1/2. After success, the density of Y becomes y/(1/2)=2y on (0,1). The observation is discrete, but the unknown probability remains continuous; Bayes’ rule combines its prior density with the success likelihood.

  16. 16
    ChallengeFind a probability after updating

    In the uniform-probability trial model, what is P(Y>1/2∣X=1)? What distribution should supply the weights?

    ---reveal---

    Use the updated density 2y, giving ∫1/212y dy=3/4. The prior would give 1/2 and ignore the observed success. This uses both parts of the joint model: first average over the prior to normalize the observation, then integrate the conditional density over the requested interval.

  17. 17
    RecapChoose the operation from the question

    For a discrete event, select and add cells. For a continuous event, intersect the event with the support and integrate. To remove a coordinate, sum or integrate it out; to condition, normalize the selected part by its marginal. Finish by checking that a distribution totals 1, a probability lies between 0 and 1, and the denominator corresponds to the condition you actually used.

2

Establish independence before multiplying

12 steps
Check factorization and support, then calculate comparisons and uniform-area probabilities.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionSeparate a model claim from an event calculation
  2. 2
    ExplanationCheck the whole law
  3. 3
    ExampleA factorable formula needs its support
  4. 4
    ChallengeReject a false factorization
  5. 5
    Key InsightPairs can conceal a three-way restriction
  6. 6
    ExampleMultiply two separate tail events
  7. 7
    ExplanationA comparison is not one rectangle
  8. 8
    ExampleFinish the exponential comparison
  9. 9
    ExampleUse a geometric complement
  10. 10
    ChallengeAccount for ties
  11. 11
    ChallengeIntegrate model and event reasoning
  12. 12
    RecapCheck the model, then the region
3

Find expected products, distances and totals

12 steps
Use joint weights, split a nonlinear function where needed, and choose between linearity and product factorization.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionAverage the quantity you actually need
  2. 2
    ExplanationAttach the joint weights
  3. 3
    ExampleKeep only nonzero contributions
  4. 4
    ExampleSplit an absolute difference
  5. 5
    ExampleEvaluate the expected distance
  6. 6
    ChallengeRemember the density weight
  7. 7
    ExplanationLinearity handles dependence
  8. 8
    ExplanationProduct factorization needs another rule
  9. 9
    ChallengeUse an identity instead of a new distribution
  10. 10
    ConnectionProducts of indicators are intersections
  11. 11
    ChallengeDecide which simplification survives
  12. 12
    RecapSeparate the algebraic rules
4

From joint moments to the spread of a total

16 steps
Compute covariance and correlation, then retain pair terms in variances and counts.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionTrack how departures combine
  2. 2
    ExplanationCenter before comparing
  3. 3
    ExampleCompute the centered mixed moment
  4. 4
    ExplanationScale the two arguments
  5. 5
    ChallengeCancel the cross terms
  6. 6
    ExplanationRemove the measurement units
  7. 7
    ExampleUse SDs in the denominator
  8. 8
    Key InsightA curved relationship can have zero correlation
  9. 9
    ChallengeRead perfect negative association
  10. 10
    ExplanationRetain both covariance contributions
  11. 11
    ExampleCompare a sum and a difference
  12. 12
    ExampleTurn a count into indicators
  13. 13
    ExampleCount unordered pairs once, then double
  14. 14
    ChallengeFind the uncertainty of an average
  15. 15
    ChallengeCombine correlation and a weighted variance
  16. 16
    RecapCheck sign, scale and pairs
5

Build and simplify a multinomial model

12 steps
Count sequences, calculate a joint count probability, and update remaining categories after conditioning.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionIndependent trials can create dependent counts
  2. 2
    ExplanationIdentify the trial and categories
  3. 3
    ExampleCalculate one ordered sequence
  4. 4
    ExampleCount all sequences with those counts
  5. 5
    ChallengeSpot the model condition that fails
  6. 6
    ExplanationTake one category or merge several
  7. 7
    ExampleRemove a known category count
  8. 8
    ExampleUse the conditional count model
  9. 9
    ExplanationFind covariance by merging
  10. 10
    Key InsightThe fixed total constrains the covariance table
  11. 11
    ChallengeConnect a marginal to a conditional joint event
  12. 12
    RecapChoose the count model at the right stage
6

Calculate with a multivariate normal vector

17 steps
Build a correlated pair, find normal probabilities and conditionals, and check transformed covariance structures.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionUse the whole normal model
  2. 2
    ExplanationEvery linear combination must be normal
  3. 3
    ExampleShare one normal component
  4. 4
    ChallengeTest normal marginals against the definition
  5. 5
    ExplanationRead correlation in the density
  6. 6
    ExampleConvert the five parameters to a covariance
  7. 7
    ExampleStandardize the total
  8. 8
    ExampleTurn a comparison into a difference
  9. 9
    ExplanationShift the conditional center
  10. 10
    ExampleUpdate the spread as well
  11. 11
    ChallengeExplain what a negative correlation changes
  12. 12
    ExplanationUse zero covariance after a normal transformation
  13. 13
    ExplanationTransform the covariance in both arguments
  14. 14
    ChallengeDecide whether total and difference are independent
  15. 15
    Key InsightReject a covariance proposal with one combination
  16. 16
    ChallengeConnect joint normality, conditioning and independence
  17. 17
    RecapMatch the calculation to the available normal information

Joint Distributions practice questions

50 Practice Questions in 5 sets

Set 1: Read joint models and calculate their moments10 Practice Questions

Question 1 of 10

For binary X,Y, the joint masses are p(0,0)=0.18,p(0,1)=0.12,p(1,0)=0.28,p(1,1)=0.42. What is P(Y=1∣X=1)?
  1. 0.42
  2. 0.60
  3. 0.70
  4. 7/9
Show answerHide answer
Answer: B
The condition selects the two cells with X=1, whose total is 0.28+0.42=0.70. Dividing the qualifying joint mass by this total gives 0.42/0.70=0.60. Dividing by P(Y=1)=0.54 instead gives 7/9 and reverses the conditioning.

Question 2 of 10

A joint density equals a constant c on 0<x<y<2 and is zero elsewhere. What is c?
  1. 1/4
  2. 1
  3. 2
  4. 1/2
Show answerHide answer
Answer: D
The support is a triangle with base and height 2, so its area is 2. Its total probability is 2c=1, giving c=1/2. Using 1/4 normalizes a square of side 2 and incorrectly includes the half of that square outside the support.

Question 3 of 10

The unknown success probability Y has density 3y2 on (0,1). Given Y=y, a trial succeeds with probability y. After a success, what is P(Y>1/2)?
  1. 15/16
  2. 7/8
  3. 3/4
  4. 1/16
Show answerHide answer
Answer: A
The success probability is ∫013y3 dy=3/4, making the conditional density 4y3. Its integral from 1/2 to 1 is 1−(1/2)4=15/16. The value 7/8 uses the original density and ignores the information supplied by the success.

Question 4 of 10

For binary X,Y, the joint masses are 0.24,0.36,0.16,0.24 at (0,0),(0,1),(1,0),(1,1). What relationship holds between X and Y?
  1. They are disjoint.
  2. They covary positively.
  3. They are independent.
  4. They covary negatively.
Show answerHide answer
Answer: C
The marginals are pX(0)=0.60,pX(1)=0.40 and pY(0)=0.40,pY(1)=0.60. Multiplying them reproduces every joint cell, which establishes independence. Unequal cell values do not establish dependence: independent variables need not be uniform.

Question 5 of 10

Two independent fair four-sided dice have faces 1, 2, 3 and 4. What is the probability that the first result exceeds the second?
  1. 1/2
  2. 1/4
  3. 3/8
  4. 5/8
Show answerHide answer
Answer: C
The dice tie on 4 of the 16 equally likely pairs, so ties have probability 1/4. By symmetry the remaining 3/4 splits equally between the two strict orders, giving 3/8. Using 1/2 forgets that discrete results can tie with positive probability.

Question 6 of 10

A pair takes values (1,0),(0,2),(2,1) with probabilities 0.2, 0.5 and 0.3. What is E(XY)?
  1. 0.8
  2. 0.6
  3. 1.3
  4. 1.04
Show answerHide answer
Answer: B
The products at the three outcomes are 0, 0 and 2, so the weighted average is 0(0.2)+0(0.5)+2(0.3)=0.6. Multiplying the separate means would give 0.8(1.3)=1.04, but no independence is given and the joint probabilities already supply the correct weights.

Question 7 of 10

If E(X)=2,E(Y)=3 and E(XY)=5, what is Cov⁡(X,Y)?
  1. −1
  2. 1
  3. 5
  4. 6
Show answerHide answer
Answer: A
The shortcut subtracts the product of the means from the expected product: 5−2(3)=−1. The negative sign describes opposite-direction centered variation overall. Reporting 5 would stop at the uncentered mixed moment and omit the subtraction that defines covariance.

Question 8 of 10

A pair has covariance −6 and standard deviations 3 and 4. What is its correlation?
  1. −1/24
  2. 1/2
  3. −2
  4. −1/2
Show answerHide answer
Answer: D
Divide covariance by the product of the standard deviations: −6/(3⋅4)=−1/2. The sign stays negative because both SDs are positive. Dividing by the product of the variances, 9⋅16, would give −1/24 and use the wrong normalization.

Question 9 of 10

Four independent items fall into categories A, B and C with probabilities 0.5, 0.25 and 0.25. What is the probability of counts (2,1,1)?
  1. 1/64
  2. 3/16
  3. 3/32
  4. 3/8
Show answerHide answer
Answer: B
There are 4!/(2!1!1!)=12 sequences with these counts. Each has probability (1/2)2(1/4)(1/4)=1/64, so the count probability is 12/64=3/16. The value 1/64 accounts for a single ordered sequence instead of every sequence producing the counts.

Question 10 of 10

What condition defines a multivariate normal vector?
  1. Every linear combination of its coordinates is normal.
  2. Every coordinate has the same normal distribution.
  3. Every pair of coordinates has zero correlation.
  4. Every coordinate is independent of the remaining coordinates.
Show answerHide answer
Answer: A
The definition requires every real linear combination to be normal, including variance-zero constants. Normal marginals follow by choosing one nonzero coefficient. Identical distributions or independence of the coordinates are not required; correlated normal vectors can be multivariate normal.
Set 2: Connect distributions, counts and normal combinations10 Practice Questions

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

Question 1 of 10

The joint PDF is f(x,y)=2 on 0<x<y<1. What is P(X+Y<1)?
  1. 1/2
  2. 1/4
  3. 3/4
  4. 1
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A binary pair has p(0,0)=0.15,p(0,1)=0.25,p(1,0)=0.20,p(1,1)=0.40. What is F(0.8,1.2)?
  1. 0.15
  2. 0.60
  3. 0.40
  4. 0.65
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Fair independent bits A,B are used to define C=1 when A=B and C=0 otherwise. How are the three bits related?
  1. They are mutually independent as well as pairwise independent.
  2. They are pairwise independent but not mutually independent.
  3. Only A and B are independent; the other pairs are dependent.
  4. A and C are independent, but B and C are dependent.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Two dependent variables have finite means E(X)=4 and E(Y)=7. What is E(3X−2Y+5)?
  1. −2
  2. 31
  3. 9
  4. 3
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Variables have Var⁡(X)=4,Var⁡(Y)=9 and Cov⁡(X,Y)=2. What is Var⁡(2X−Y)?
  1. 17
  2. 21
  3. 25
  4. 33
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A multinomial count vector comes from 9 trials. Two of its three counts are 4 and 2. What is the third count?
  1. 2
  2. 4
  3. 5
  4. 3
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A vector is Mult⁡3(10,(0.2,0.3,0.5)). Given X3=4, what is the distribution of X1?
  1. Bin⁡(10,0.2)
  2. Bin⁡(6,0.4)
  3. Bin⁡(6,0.2)
  4. Bin⁡(10,0.4)
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Independent standard normals Z,W define X=Z and Y=−0.8Z+0.6W. What is Corr⁡(X,Y)?
  1. 0.6
  2. −0.6
  3. −0.8
  4. 0.8
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A BVN pair has means 12 and 20, SDs 2 and 5, and correlation 0.4. What is the conditional law of Y given X=16?
  1. 𝒩(22,21)
  2. 𝒩(24,25)
  3. 𝒩(28,21)
  4. 𝒩(24,21)
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Independent X∼𝒩(2,9) and Y∼𝒩(1,9) define U=X+Y,V=X−Y. What is their joint relationship?
  1. U and V are dependent with laws N(3,18) and N(1,18).
  2. U and V are independent with laws N(3,9) and N(1,9).
  3. U and V are independent with laws N(3,18) and N(1,18).
  4. U and V are dependent with laws N(3,9) and N(1,9).
Show answerHide answer

Save this lesson to see this answer.

Set 3: Reason from joint models to combined uncertainty10 Practice Questions

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

Question 1 of 10

Events satisfy P(A)=0.6,P(B)=0.5,P(A∩B)=0.4. What is E[(1−IA)IB]?
  1. 0.2
  2. 0.1
  3. 0.3
  4. 0.4
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A joint PDF is 8xy on 0<x<y<1. What is fX∣Y(x∣y) on 0<x<y?
  1. 8xy
  2. 2/y
  3. 4x/y
  4. 2x/y2
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Two arrivals are independent and uniform over the same 50-minute window. Each person waits 10 minutes. What is their meeting probability?
  1. 16/25
  2. 1/5
  3. 9/25
  4. 2/5
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A pair has PDF f(x,y)=2 on 0<x<y<1. What is E(Y−X)?
  1. 1/3
  2. 1/6
  3. 1/2
  4. 2/3
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

For finite-variance variables, Cov⁡(X,Y)=3. What is Cov⁡(2X+7,−3Y+4)?
  1. −6
  2. −18
  3. 18
  4. 10
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Three objects are drawn without replacement from 8 objects, 4 marked. What is the variance of the number marked?
  1. 3/4
  2. 9/14
  3. 15/28
  4. 3/7
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A vector is Mult⁡3(12,(0.25,0.35,0.40)). What is Cov⁡(X1,X2)?
  1. −1.05
  2. 1.05
  3. −0.0875
  4. 2.25
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A standard normal Z and an independent fair sign S define X=Z,Y=SZ. Why is the pair not bivariate normal?
  1. X and Y have different marginal variances.
  2. X + Y is a nondegenerate normal with mean zero.
  3. X and Y must have a nonzero covariance.
  4. X + Y has both a point mass at zero and nonzero variation.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A BVN pair has means 30 and 26, SDs 3 and 4, and correlation 0.5. What is P(X>Y) in terms of the standard normal CDF Φ?
  1. Φ(4/5)
  2. 1−Φ(4/13)
  3. Φ(4/13)
  4. Φ(4/37)
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Independent X∼𝒩(0,4),Y∼𝒩(0,9) define U=X+Y,V=aX−Y. What value of a makes U,V independent?
  1. 9/4
  2. 3/2
  3. 4/9
  4. −9/4
Show answerHide answer

Save this lesson to see this answer.

Set 4: Combine conditioning, geometry and dependence10 Practice Questions

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

Question 1 of 10

Two measurements each have variance 25 and correlation 0.2. What is the variance of their average?
  1. 10
  2. 12.5
  3. 30
  4. 15
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Five independent classifications use category probabilities 0.4, 0.4 and 0.2. What is the probability of counts (2,2,1)?
  1. 0.00512
  2. 0.0768
  3. 0.1536
  4. 0.3072
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A vector is Mult⁡4(8,(0.1,0.2,0.3,0.4)). Given X4=3, what is P(X1+X2=2)?
  1. 0.3087
  2. 7/32
  3. 9/32
  4. 5/16
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Binary X,Y satisfy P(X=1)=0.6,P(Y=1)=0.5 and P(X=1∣Y=1)=0.8. What is P(X=Y)?
  1. 0.70
  2. 0.40
  3. 0.50
  4. 0.80
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A PDF equals cxy on x>0,y>0,x+y<1 and zero elsewhere. What is c?
  1. 4
  2. 12
  3. 24
  4. 48
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Let X∼Unif⁡(0,2) and Y∣X=x∼Unif⁡(0,x). What is P(X>1∣Y=1/2)?
  1. 2/3
  2. 1/3
  3. 3/4
  4. 1/2
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A PDF is 3x2y/4 on 0<x<2,0<y<1. What is the distribution relationship and marginal density of X?
  1. Dependent; fX(x)=3x2/8 on (0,2).
  2. Independent; fX(x)=3x2/8 on (0,2).
  3. Independent; fX(x)=3x2/4 on (0,2).
  4. Dependent; fX(x)=3x2/4 on (0,2).
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Independent X,Y are uniform on (0,2). What is E[max⁡(X,Y)]?
  1. 2/3
  2. 4/3
  3. 1
  4. 8/3
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Variables with positive finite variances have correlation 0.65. What is Corr⁡(5−2X,7+3Y)?
  1. −0.65
  2. 0.65
  3. −3.90
  4. −0.325
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A BVN pair has means 5 and 8, SDs 2 and 3, and correlation −0.5. What is P(2X+Y>20) in terms of Φ?
  1. 1−Φ(2/5)
  2. 1−Φ(2/37)
  3. 1−Φ(2/13)
  4. Φ(2/13)
Show answerHide answer

Save this lesson to see this answer.

Set 5: Transfer the methods to unfamiliar joint models10 Practice Questions

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

Question 1 of 10

The success probability Y has density 2(1−y) on (0,1). Given Y=y, a trial succeeds with probability y. After a failure, what is P(Y<1/2)?
  1. 3/4
  2. 7/8
  3. 1/2
  4. 1/8
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Independent X∼Unif⁡(0,3) and Y∼Unif⁡(0,2) describe two measurements. What is P(X<Y)?
  1. 1/3
  2. 1/2
  3. 2/3
  4. 1/6
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

For finite-mean variables, E(X)=6,E(Y)=9 and E[max⁡(X,Y)]=11. What is E[min⁡(X,Y)]?
  1. 6
  2. 9
  3. 15
  4. 4
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An equally likely discrete pair takes values (1,2),(2,0),(3,1). What is Cov⁡(X,Y)?
  1. 5/3
  2. 1/3
  3. −1/3
  4. −2/3
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Let X be uniform on {−2,0,2} and Y=X2. What is the pair’s correlation and dependence relationship?
  1. Zero correlation; dependent variables.
  2. Positive correlation; independent variables.
  3. Positive correlation; dependent variables.
  4. Zero correlation; independent variables.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A count N=I1+⋯+I6 uses indicators with P(Ij=1)=1/3 and P(Ii=1,Ij=1)=1/12 for distinct positions. What is Var⁡(N)?
  1. 4/3
  2. 11/12
  3. 1/2
  4. 7/6
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A multinomial has category probabilities 0.2, 0.5 and 0.3. What is the correlation of its first two counts for a positive trial count?
  1. −1/10
  2. −1/2
  3. −1/4
  4. −2/5
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A BVN pair has means 10 and 40, SDs 2 and 6, and correlation 0.5. What is P(Y>49∣X=12) in terms of Φ?
  1. 1−Φ(1)
  2. 1−Φ(3/2)
  3. Φ(2/3)
  4. 1−Φ(2/3)
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Three standardized variables are proposed to have every pairwise correlation equal to −0.6. Why is this covariance proposal impossible?
  1. Their sum would have variance 1.2.
  2. Their sum would have variance −2.4.
  3. Their average would have variance −0.2.
  4. Their sum would have variance −0.6.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A jointly normal pair has covariance matrix Σ. What is the covariance matrix of A𝐗+𝐛?
  1. AΣA𝖳
  2. AΣ
  3. ΣA𝖳
  4. AΣA
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

68 Key Terms, each with its definition

A

Absolute integrability
Absolute integrability means the integral of a function’s absolute value against its distribution is finite.
A finite absolute weighted integral guarantees that positive and negative contributions give a finite expectation.
Affine transformation
An affine transformation forms new coordinates by linear combinations of a vector’s coordinates and then adds constants.
Applying A to an MVN vector changes its covariance to AΣAᵀ, while added constants change only its mean.
Area probability
An area probability is the area of an event within a uniform model’s region divided by the area of that full region.
When two friends arrive at uniform times and meet if close enough, the meeting event is a diagonal band whose complement is two triangles.

B

Bayes’ rule for densities
Bayes’ rule for densities reverses conditioning by multiplying a conditional density by its prior marginal and dividing by the new marginal.
A density for an unknown success probability changes after observing the trial’s success or failure.
Bilinearity
Bilinearity means covariance distributes over sums and scales by coefficients in each of its two arguments.
Expanding covariance of a total and a difference makes the matching cross terms cancel.
Binomial marginal
A binomial marginal describes one multinomial count by treating its category as success and all other categories as failure.
In a survey of satisfied, neutral and dissatisfied responses, the satisfied count is binomial even though it depends on the neutral count.
Bivariate normal distribution
A bivariate normal distribution is a two-coordinate MVN law, specified by two means, two variances and one covariance.
Replacing covariance by correlation and two SDs gives the same five-parameter description.

C

Category merging
Category merging adds counts of mutually exclusive trial categories and adds their probabilities to form a broader category.
Neutral and dissatisfied responses can be merged into a single “not satisfied” category.
Centered variable
A centered variable subtracts its mean from each value, leaving mean zero and retaining the original variance.
Adding a calibration offset leaves centered departures unchanged, so it leaves covariance unchanged.
Conditional multinomial
A conditional multinomial models remaining category counts after known counts are removed and remaining probabilities are rescaled.
Knowing two of six responses are dissatisfied leaves four responses for the other categories.
Conditional normal distribution
A conditional normal distribution is the normal law of selected MVN coordinates after other coordinates are fixed.
In a bivariate normal model of math and physics scores, a math score of 80 gives physics a conditional mean of 72.2 and SD 9.6.
Conditional PDF
A conditional PDF describes the density of one coordinate at a fixed value of another, using a normalized joint-density slice.
Given X = x, a joint density that depends only on x over 0 < y < x leaves Y with constant density 1/x between 0 and x.
Conditional PMF
A conditional PMF describes a discrete variable within a positive-probability condition by rescaling the relevant joint masses.
Among customers buying one pastry, divide each coffee cell by the total for one-pastry customers.
Conditional variance
A conditional variance describes the spread within a conditional law; in a BVN it equals the marginal variance times one minus squared correlation.
Changing the observed first coordinate shifts the conditional mean but leaves this conditional variance fixed.
Correlation coefficient
A correlation coefficient divides covariance by the product of positive finite SDs, giving a unit-free measure of linear association.
A correlation of about −0.197 between a café customer’s pastry count and coffee indicator signals a weak negative linear association.
Count vector
A count vector lists the numbers of outcomes in each category, with nonnegative integer entries totaling the trial count.
Counts of 3 satisfied, 2 neutral and 1 dissatisfied form a valid vector for six responses.
Covariance
Covariance is the expected product of two centered departures, measuring how variables vary together around their means.
A negative centered product occurs when one measurement is above its mean and the other is below.
Covariance cross term
A covariance cross term records a pair’s contribution to a linear combination’s variance, including both coefficient orders.
The two-variable variance formula includes 2ab Cov(X,Y) in addition to the squared-coefficient terms.
Covariance matrix
A covariance matrix is the symmetric table of pairwise covariances of a vector, with each coordinate’s variance on the diagonal.
Multiplying correlation by the two SDs gives the off-diagonal entry for a two-coordinate model.

D

Degenerate normal distribution
A degenerate normal distribution allows variance-zero combinations, so its probability may be confined to a lower-dimensional set.
Perfectly correlated normal coordinates lie on a line and have no ordinary two-dimensional PDF.
Density contour
A density contour joins points with the same PDF value; nondegenerate bivariate normal contours are centered ellipses.
Positive correlation tilts the ellipses upward, while negative correlation tilts them downward.
Density factorization
Density factorization separates a joint PDF into a product of one-variable marginal PDFs, apart from sets of zero area.
A factorable formula still needs its support checked before it establishes independence.

E

Exchange symmetry
Exchange symmetry means swapping two coordinates leaves the joint law unchanged, making opposite strict orders equally probable.
For two fair dice, symmetry splits the probability remaining after ties between the two strict orders.
Expected gap
An expected gap is the average absolute difference between two random quantities, computed using their joint distribution.
Independent uniform points on a 1 m rod are one third of a meter apart on average.

F

Fixed-total constraint
A fixed-total constraint requires category counts to add to a known constant, creating dependence among nondegenerate counts.
Knowing all but the final response count determines that last count without further randomness.

I

Identically distributed variables
Identically distributed variables have the same marginal distribution, whether or not they are independent of each other.
Two copies of the same die reading share a distribution while depending completely on one another.
Independence
Independence means a joint law factors into its marginal laws, so information about one coordinate leaves the other’s law unchanged.
Two exponential lifetimes are independent when their joint density is the product of their densities.
Independent-product rule
The independent-product rule factors the expectation of a product of separate functions of independent variables.
Two independent die readings have expected product equal to the product of their means.
Indicator method
The indicator method expresses a count as a sum of event indicators, letting means and variances follow from event probabilities.
Counting red cards uses each position’s red indicator and the covariances between positions.
Indicator variable
An indicator variable equals 1 when its event occurs and 0 otherwise, so its expectation is the event’s probability.
When a customer buys coffee with probability 0.55, the coffee indicator has mean 0.55.
Iterated integral
An iterated integral evaluates a multivariable integral one coordinate at a time, using limits that describe the region.
Horizontal slices of the triangle below the diagonal y = x in the unit square let x run from the fixed y-value to 1.

J

Joint CDF
A joint CDF gives the probability that both random variables are at or below their respective thresholds.
Moving either threshold upward can add cells to a discrete joint CDF but cannot remove probability.
Joint PDF
A joint PDF is a nonnegative function whose integral over any event region gives the probability that a continuous pair lies there.
Density 4 on a square of area one quarter gives a full-support probability of 1.
Joint PMF
A joint PMF assigns a probability to each possible ordered pair of values of two discrete random variables.
Adding a café’s joint PMF cells where a customer’s pastry count exceeds their coffee indicator gives an event probability.

L

Likelihood
A likelihood views an observed outcome’s probability or density as a function of the model value being considered.
When a trial’s success probability y has a uniform prior, observing success weights each possible probability y by y.
Linear association
Linear association describes how a joint distribution aligns with a straight-line relationship between its coordinates.
A curved deterministic relationship may be strong even when the measured linear association is zero.
Linear combination
A linear combination multiplies variables by fixed coefficients and adds the results, with covariance affecting its variance.
A weighted total can have negative covariance contributions when some coefficients have opposite signs.
Linearity of expectation
Linearity of expectation allows a finite linear combination to be averaged term by term without requiring independence.
Dependent pastry and coffee counts still have a mean total equal to the sum of their individual means.

M

Marginal PDF
A marginal PDF describes one continuous coordinate and is found by integrating the joint density over the other coordinate.
Integrating 3x from y = 0 to y = x gives the first coordinate’s density, 3x².
Marginal PMF
A marginal PMF describes one discrete coordinate by summing the joint probabilities over every value of the other coordinate.
The probability of one pastry includes customers with coffee and customers without coffee.
Mean vector
A mean vector lists the expected values of a random vector’s coordinates in the same order as those coordinates.
For a pair of math and physics scores, the mean vector lists the math mean first and the physics mean second.
Mixed moment
A mixed moment is an expectation involving powers of more than one coordinate, such as the expected product of two variables.
The mixed moment E(XY) is one input to covariance, before subtracting the product of the means.
Mixed pair
A mixed pair combines a discrete random variable with a continuous one, so its joint model combines masses and densities.
A success indicator is discrete while the unknown probability governing its trial can be continuous.
Multinomial coefficient
A multinomial coefficient counts the ordered sequences realizing a count vector by dividing the total factorial by category factorials.
The counts (3,2,1) can appear in 60 distinct ordered sequences of six responses.
Multinomial covariance matrix
A multinomial covariance matrix has binomial variances on its diagonal and negative trial-count times probability products off it.
Each row sums to zero because the category counts add to the constant number of trials.
Multinomial distribution
A multinomial distribution models category counts from fixed independent trials with one category per trial and fixed probabilities.
Six independent three-response surveys produce a multinomial vector of the three response counts.
Multiplication rule
The multiplication rule expresses a joint distribution as a conditional distribution times the marginal of the conditioning variable.
A two-stage model first assigns pastry probabilities, then coffee probabilities within each pastry group.
Multivariate normal distribution
A multivariate normal distribution makes every real linear combination of its coordinates normal, including variance-zero constants.
Independent normal measurements form an MVN vector because their linear combinations stay normal.
Mutual independence
Mutual independence means the full joint distribution of a collection factors into all of its marginal distributions.
A mutually independent collection permits probabilities of separate-coordinate events to multiply.

N

Normalizing constant
A normalizing constant is a factor chosen so that a proposed mass function or density has total probability 1.
Integrating cx over the triangle below the diagonal of the unit square gives c/3, so normalization requires the constant to be 3.

P

Pairwise independence
Pairwise independence means every pair in a collection is independent, without requiring the whole collection to be independent.
Two fair bits and their exclusive-or bit have independent pairs but a constrained three-way law.
Perfect correlation
Perfect correlation is correlation of magnitude 1, occurring exactly for a nonconstant affine relationship with probability 1.
Doubling a variable and adding a constant gives correlation 1; reversing its sign gives correlation −1.
Pointwise identity
A pointwise identity is an equality that holds for each possible outcome and can therefore be averaged when expectations exist.
The larger and smaller of two values add to their sum in every outcome, giving an expectation identity.
Positive semidefinite matrix
A positive semidefinite matrix gives a nonnegative quadratic form for every coefficient vector, as a covariance matrix must.
A proposed matrix giving a negative variance for the sum of its coordinates cannot be a covariance matrix.
Product joint model
A product joint model combines independent marginal PMFs or PDFs by multiplication to describe their paired outcomes.
Independent arrival times uniform in a common window give a uniform density on a square.

R

Random vector
A random vector is an ordered collection of random variables from the same outcome, with their pairing retained.
A customer’s pastry count and coffee indicator form a two-coordinate random vector.
Rectangular event
A rectangular event restricts each coordinate separately to a specified set, allowing probabilities to multiply under independence.
For a pair of lifetimes, requiring each to exceed a fixed time restricts the two coordinates separately.
Renormalized probabilities
Renormalized probabilities divide the remaining category probabilities by their total so they sum to 1 after conditioning.
Removing the dissatisfied category rescales probabilities 0.5 and 0.3 to 0.625 and 0.375.

S

Sample mean
A sample mean is the sum of a fixed number of observations divided by their count, with variance reduced under independent sampling.
Twenty-five i.i.d. observations with variance 4 give a mean with variance 0.16.
Sampling without replacement
Sampling without replacement removes each selected object before the next draw, linking later category probabilities to earlier outcomes.
After a red card is drawn, fewer red cards remain, giving negative covariance between red indicators.
Scale invariance of correlation
Scale invariance of correlation means positive unit conversions and shifts leave the correlation coefficient unchanged.
Changing a length from meters to centimeters changes covariance but preserves its correlation with mass.
Shared-normal construction
A shared-normal construction builds correlated normal coordinates by combining a common normal term with independent normal noise.
In a pair built from a common normal Z and independent noise W, the Z term controls covariance while W supplies separate variation.
Standard normal CDF
The standard normal CDF, written Φ, gives the probability that a mean-zero, variance-one normal variable is at or below a threshold.
After standardizing a normal total, subtract its CDF value from 1 to obtain an upper-tail probability.
Standardization
Standardization subtracts a variable’s mean and divides by its positive SD to produce mean zero and variance one.
Standardizing both coordinates turns their correlation into the covariance of the resulting pair.
Subvector
A subvector retains a selection of coordinates from a random vector, preserving their joint distribution in a lower dimension.
Choosing two coordinates from an MVN vector gives a bivariate normal model with the matching parameters.
Support
The support identifies the possible values carrying probability mass or positive density in a specified distribution.
When a joint density’s formula is 3x below the diagonal of the unit square, the density is still zero above that diagonal.

T

Two-dimensional LOTUS
Two-dimensional LOTUS finds an expected function value by weighting it with the joint PMF or PDF over the pair’s support.
The expected product uses xy as the function value and the joint distribution as its weight.

U

Uncorrelated variables
Uncorrelated variables have finite variances and covariance zero, even though their full joint law can contain dependence.
A symmetric variable and its square can be uncorrelated while the second is determined by the first.

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