Skip to content

Marginal probability

In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset.

Version
v2 · 2026-11-14 · History
Domain-specific #
10561
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Probability Theory → Mathematics

Core Idea

In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables in that subset alone; a marginal probability is a probability read from such a distribution. It gives the probabilities of the various values of the retained variables without reference to the values of the other variables, in contrast with a conditional distribution, which gives probabilities contingent on those other values.

The retained variables are the marginal variables. The name comes from tables: the marginal probabilities can be found by summing a joint probability table along its rows or columns and writing the sums in the table's margins. Obtaining the marginal distribution is called marginalizing, and the discarded variables are said to be marginalized out. For two discrete random variables \(X\) and \(Y\), \(p_X(x_i)=\sum_{j}p(x_i,y_j)\); for continuous variables the joint density is integrated instead, \(f_X(x) = \int f(x,y)\,dy\). Equivalently, a marginal probability can always be written as an expected value of a conditional probability, \(p_X(x) = \operatorname{E}_{Y} [p_{X \mid Y}(x \mid Y)]\): the conditional probability of \(X\) given each value of \(Y\), averaged over the distribution of \(Y\).

Marginalization is used whenever an analysis involves a wider set of random variables but attention is limited to fewer of them, and different analyses of the same joint distribution may treat different subsets as marginal.

How would you explain it like I'm…

Edge-of-the-Chart Totals

Imagine a chart of your class showing each kid's favorite color and favorite pet. If you only care about pets, you count up all the dog lovers, all the cat lovers, and so on, no matter what color they like. Writing those totals at the edge of the chart gives you the marginal probability of each pet: just the pet part, ignoring the color part.

Chances of Just One Thing

Sometimes we track two things at once, like the weather and whether people carry umbrellas, in a table of chances. A Marginal probability is the chance of just one of those things, ignoring the other. You find it by adding up a row or column of the table and writing the total in the margin, the edge of the table, which is where the name comes from. For example, the chance of rain overall is the sum of 'rain and umbrella' plus 'rain and no umbrella'. This is different from asking 'what's the chance of rain if someone has an umbrella?', which depends on the other thing.

Distribution of a Subset of Variables

When several random variables are studied together, their joint distribution gives the probability of every combination of values. The marginal distribution of some of those variables is the probability distribution of just those variables, without reference to the values of the others. You get it by 'marginalizing': summing (or, for continuous variables, integrating) the joint probabilities over all values of the variables you are discarding. The name comes from tables, where summing along rows or columns puts the totals in the table's margins. Marginal probability contrasts with conditional probability, which gives the chances of some variables given specific values of the others.

 

In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables in that subset. It gives the probabilities of their values without reference to the values of the other variables. This contrasts with a conditional distribution, which gives probabilities contingent on the values of the other variables. The retained variables are called marginal variables, and the marginal distribution is obtained by marginalizing over the discarded variables, summing over their values in the discrete case or integrating in the continuous case; the discarded variables are said to be marginalized out. The term comes from tables of joint probabilities, where summing along rows or columns produces totals written in the margins.

Structural Signature

Sig role-phrases:

  • Defining carrier — Intuitively, the marginal probability of X is computed by examining the conditional probability of X given a particular value of Y, and then averaging this conditional probability over the distribution of all values of Y.
  • Constitutive relation — Suppose that the probability that a pedestrian will be hit by a car, while crossing the road at a pedestrian crossing, without paying attention to the traffic light, is to be computed.
  • Operating condition — This can be calculated by summing the joint probability distribution over all values of \(Y\).
  • Recognition evidence — Naturally, the converse is also true: the marginal distribution can be obtained for \(Y\) by summing over the separate values of \(X\).
  • Admissible variation — Given two continuous random variables X and Y whose joint distribution is known, then the marginal probability density function for X can be obtained by integrating the joint probability density, \(f\), over Y, and vice versa.
  • Characteristic consequence — The conditional distribution of a variable given another variable is the joint distribution of both variables divided by the marginal distribution of the other variable.
  • Failure boundary — Assuming that X and Y are discrete random variables, the joint distribution of X and Y can be described by listing all the possible values of \(p(x_i,y_j)\), as shown in Table.3.

What It Is Not

  • Not the whole field of mathematics and formal science. The node requires the specific identity stated by In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset.
  • Not an over-broad reading. That is, P(H = Hit) will take different values depending on whether L is red, yellow or green (and likewise for P(H = Not Hit)).
  • Not an over-broad reading. Given a known joint distribution of two discrete random variables, say, \(X\) and \(Y\), the marginal distribution of either variable – \(X\) for example – is the probability distribution of \(X\) when the values of \(Y\) are not taken into consideration.
  • Not an over-broad reading. Let H be a discrete random variable taking one value from {Hit, Not Hit}.
  • Not automatically Sklar's theorem. Retrieval proximity does not establish equivalence; the two identities must be compared by carrier, operation, and failure boundary.

Scope of Application

Marginal probability applies literally inside mathematics and formal science wherever the source-defined carrier and relation can be established. Its documented habitats include:

  • Marginal probability density function. Given two continuous random variables X and Y whose joint distribution is known, then the marginal probability density function for X can be obtained by integrating the joint probability density, \(f\), over Y, and vice versa.
  • Marginal cumulative distribution function. Finding the marginal cumulative distribution function from the joint cumulative distribution function is easy.
  • Example. The marginal distribution can be used to determine how many students scored 20 or below: \(p_Y(y_1) = P_Y(Y=y_1) = \sum_{i=1}^4 P(x_i,y_1) = \frac{2}{200} + \frac{8}{200} = \frac{10}{200}\), meaning 10 students or 5%.
  • Multivariate distributions. That means, If \(X_1,X_2,\ldots,X_n\) are discrete random variables, then the marginal probability mass function should be \(p_{X_i}(k)=\sum p(x_1,x_2,\dots,x_{i-1},k,x_{i+1},\dots,x_n)\).
  • Multivariate distributions. if \(X_1,X_2,\ldots,X_n\) are continuous random variables, then the marginal probability density function should be \(f_{X_i}(x_i)=\int_{-\infty}^{\infty}\int_{-\infty}^{\infty} \int_{-\infty}^{\infty} \cdots \int_{-\infty}^{\infty} f(x_1,x_2,\dots,x_n) dx_1 dx_2 \cdots dx_{i-1} dx_{i+1} \cdots dx_n\).
  • Example. The conditional distribution can be used to determine the probability that a student that studied 60 minutes or more obtains a score of 20 or below: \(p_{Y|X}(y_1|x_4) = P(Y=y_1|X=x_4) = \frac{P(X=x_4,Y=y_1)}{P(X=x_4)} = \frac{8/200}{70/200} = \frac{8}{70} = \frac{4}{35}\), meaning there is about a 11% probability of scoring no more than 20 having studied for at least 60 minutes.

Outside mathematics and formal science, the name should be retained only when these same operational conditions survive; otherwise the comparison belongs to the broader parent Pattern or should be marked as analogy.

Clarity

A clear use of Marginal probability names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset. The strongest recognition evidence is: Naturally, the converse is also true: the marginal distribution can be obtained for \(Y\) by summing over the separate values of \(X\). A report should distinguish that evidence from a proxy, consequence, or common implementation. It should also state the qualification That is, P(H = Hit) will take different values depending on whether L is red, yellow or green (and likewise for P(H = Not Hit)). so that a reader can reproduce the classification rather than infer it from topical resemblance.

Manages Complexity

Marginal probability compresses multiple mathematics and formal science details into a stable diagnostic relation. The source shows both the central mechanism—suppose that the probability that a pedestrian will be hit by a car, while crossing the road at a pedestrian crossing, without paying attention to the traffic light, is to be computed.—and the practical consequence—the conditional distribution of a variable given another variable is the joint distribution of both variables divided by the marginal distribution of the other variable. This compression makes cases comparable while leaving parameters, conventions, exceptions, and evidential quality explicit. It is lossy by design: local history and implementation details may be omitted only when they do not alter the defining relation.

Abstract Reasoning

  1. Type the carrier. Identify the mathematics and formal science entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset.
  3. Check operation and conditions. This can be calculated by summing the joint probability distribution over all values of \(Y\).
  4. Demand recognition evidence. Naturally, the converse is also true: the marginal distribution can be obtained for \(Y\) by summing over the separate values of \(X\).
  5. Test variation. Change an implementation or setting while preserving given two continuous random variables X and Y whose joint distribution is known, then the marginal probability density function for X can be obtained by integrating the joint probability density, \(f\), over Y, and vice versa.
  6. Run the collapse test. Remove the defining operation; if the label still seems equally apt, only a topic or correlate was retained.
  7. Reduce cautiously. When the specialist conditions cannot be carried, route the residual comparison to Pattern.

Knowledge Transfer

Within the home domain. Knowledge about Marginal probability transfers literally when a new case preserves the same carrier type, relation, and recognition test. Given two continuous random variables X and Y whose joint distribution is known, then the marginal probability density function for X can be obtained by integrating the joint probability density, \(f\), over Y, and vice versa. Finding the marginal cumulative distribution function from the joint cumulative distribution function is easy.

Beyond the home domain. No canonical parent is asserted for Marginal probability. An outside case receives the specialist name only when the same typed roles and rejection conditions can be filled literally; otherwise the comparison remains an analogy pending later graph densification.

Examples

Canonical

Given a known joint distribution of two discrete random variables, say, \(X\) and \(Y\), the marginal distribution of either variable – \(X\) for example – is the probability distribution of \(X\) when the values of \(Y\) are not taken into consideration. This case is canonical because it supplies a concrete carrier and lets the defining relation be checked rather than merely named.

Mapped back: carrier → the entities in the documented case; operation → In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset; recognition evidence → Naturally, the converse is also true: the marginal distribution can be obtained for by summing over the separate values of

Applied / In Practice

A person is, for example, far more likely to be hit by a car when trying to cross while the lights for perpendicular traffic are green than if they are red. The applied case shows how the identity is used under a second setting or qualification while keeping the same operative relation.

Mapped back: changed setting → Real-world example; invariant → In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset; boundary → the case exits the class when that is, P(H = Hit) will take different values depending on whether L is red, yellow or green (and likewise for P(H = Not Hit))

Structural Tensions

T1 — Stable identity versus admissible variation. That is, P(H = Hit) will take different values depending on whether L is red, yellow or green (and likewise for P(H = Not Hit)). The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Which changes preserve the defining relation, and which replace it?

T2 — Recognition versus proxy. Given a known joint distribution of two discrete random variables, say, \(X\) and \(Y\), the marginal distribution of either variable – \(X\) for example – is the probability distribution of \(X\) when the values of \(Y\) are not taken into consideration. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Does the cited evidence establish the identity or only a correlated sign?

T3 — Definition versus implementation. Let H be a discrete random variable taking one value from {Hit, Not Hit}. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Is the observed implementation constitutive, optional, or merely common?

T4 — Scope versus overextension. (Note that the columns in this table must add up to 1 because the probability of being hit or not hit is 1 regardless of the state of the light.). The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Can every claimed application fill the same typed roles without metaphor?

T5 — Transfer versus domain accent. Intuitively, the marginal probability of X is computed by examining the conditional probability of X given a particular value of Y, and then averaging this conditional probability over the distribution of all values of Y. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: Does the receiving case instantiate Marginal probability literally, co-instantiate Pattern, or only resemble it?

T6 — Autonomy versus reduction. Suppose that the probability that a pedestrian will be hit by a car, while crossing the road at a pedestrian crossing, without paying attention to the traffic light, is to be computed. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.

Diagnostic: What does Marginal probability distinguish that the broader parent Pattern leaves together?

Structural–Framed Character

Marginal probability is structural-leaning. Its structural side is the repeatable organization summarized by In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset. Its framed side is the mathematics and formal science vocabulary that fixes the carrier, evidence, exceptions, and admissible transformations.

Evaluative weight: the identity can be stated descriptively even when applications carry practical stakes. Human-practice dependence: the source-grounded carrier determines whether the relation exists independently or is constituted by a practice. Institutional origin: disciplinary conventions stabilize the name and test. Vocabulary portability: This can be calculated by summing the joint probability distribution over all values of \(Y\). Import versus recognition: literal transfer requires the same mechanism; shape alone is analogy.

Its portable skeleton is Pattern. Its character: a recurring specialist identity whose thin organization can be abstracted, while its operational meaning remains domain-bound.

Structural Core vs. Domain Accent

What is skeletal. In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset. The stable skeleton is the typed relation expressed in that definition and the entry's recognition and collapse tests. The source identifies these operative conditions: Intuitively, the marginal probability of X is computed by examining the conditional probability of X given a particular value of Y, and then averaging this conditional probability over the distribution of all values of Y. Suppose that the probability that a pedestrian will be hit by a car, while crossing the road at a pedestrian crossing, without paying attention to the traffic light, is to be computed. It further constrains recognition and variation through: This can be calculated by summing the joint probability distribution over all values of \(Y\). Naturally, the converse is also true: the marginal distribution can be obtained for \(Y\) by summing over the separate values of \(X\).

What is domain-bound. mathematics and formal science supplies the operative entities, technical vocabulary, warrants, and exceptions that make Marginal probability literal. Its documented scope includes the condition that Given two continuous random variables X and Y whose joint distribution is known, then the marginal probability density function for X can be obtained by integrating the joint probability density, \(f\), over Y, and vice versa. Another bounded application condition is that Finding the marginal cumulative distribution function from the joint cumulative distribution function is easy. These are not decorative examples; they determine which carrier and evidence can fill the abstraction's roles.

Why no parent is asserted. Removing those specialist details does not currently yield one live catalog node that is a necessary genus for every instance. The entry is therefore approved as unparented rather than attached by topical resemblance. Its collapse evidence remains specific—Given two continuous random variables X and Y whose joint distribution is known, then the marginal probability density function for X can be obtained by integrating the joint probability density, \(f\), over Y, and vice versa.—and future graph densification may discover a defensible relation only if it preserves that boundary.

This entry is a kind of Probability Distribution.

  • Approved unparented node. No current live node supplies a defensible necessary genus or structural prerequisite for Marginal probability. The reviewed identity is: In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset. The accelerated suggestion was declined because topical or lexical similarity does not establish hierarchy; the node is admitted without a parent pending later graph densification.
  • Related reasoning operations. Evidence, representation, comparison, classification, transformation, or evaluation may participate in particular cases, but participation does not make any one of them a necessary parent of every instance.

Relationships to Other Abstractions

Local relationship map for Marginal probabilityParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Marginal probabilityDOMAINDomain-specific abstraction: Probability Distribution — is a kind ofProbabilityDistributionDOMAIN

Current abstraction Marginal probability Domain-specific

Parents (1) — outgoing typed relations

  • Marginal probability is a kind of Probability Distribution Domain-specific

    A marginal probability distribution is the distribution of a selected subset of variables after the remaining variables are integrated or summed out.

Hierarchy paths (3) — routes to 2 parentless roots

Neighborhood in Abstraction Space

Marginal probability sits in a moderately populated region (47th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

  • Pattern. The parent omits the specialist differentia. Tell: Can the case establish In probability theory and statistics, the marginal distribution of a subset of a collection of random variables is the probability distribution of the variables contained in the subset?
  • Sklar's theorem. Sklar's theorem states that every multivariate distribution can be represented by a copula joining its univariate marginal distributions, with the copula unique when the marginals are continuous. Tell: Which entry's carrier, operation, and failure condition are satisfied?
  • Marginal Analysis. Incremental effects. Tell: Which entry's carrier, operation, and failure condition are satisfied?
  • Statistical Significance (p-Value). Likelihood results are random. Tell: Which entry's carrier, operation, and failure condition are satisfied?
  • A measurement, proxy, or consequence. Those may provide evidence without being the identity. Tell: Would Marginal probability remain present if the detector or downstream effect changed?
  • A metaphorical analogue. A similar shape outside mathematics and formal science lacks the specialist mechanism. Tell: Do the native roles transfer literally, or only the parent Pattern?

References

  • Frozen Wikipedia discovery revision: https://en.wikipedia.org/wiki/Marginal_distribution (revision 1367682406).