Probability > Joint Probability / Joint Distribution

## What is Joint Probability?

Joint probability is the probability of two events happening together. The two events are usually designated *event A *and *event B.* In probability terminology, it can be written as:

**p(A and B)**

**p(A ∩ B)**

Joint probability is also called the

**intersection**of two (or more) events. The intersection can be represented by a Venn diagram:

**Example**: The probability that a card is a five and black = p(five and black) = 2/52 = 1/26. (There are two black fives in a deck of 52 cards, the five of spades and the five of clubs).

You can find several more examples here: Probability of A and B.

## Joint Probability Distribution

A joint probability distribution shows a probability distribution for two (or more) random variables. Instead of events being labeled A and B, the norm is to use X and Y. The formal definition is:

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

The whole point of the joint distribution is to look for a **relationship **between two variables. For example, the following table shows some probabilities for X and Y happening at the same time:

You can use the table to find probabilities. For example:

**Question**: What is the probability for Y = 2 and X = 3?

**Answer**: Look at the table for the intersection of Y = 2 and X = 3. The answer (1/6) is circled:

See also: Joint Frequency.

## Joint Probability Mass Function

If your variables are discrete (like in the above table example), their distribution can be described by a joint probability mass function (Joint PMF). Basically, **if you have found all probabilities for all possible combinations of X and Y, then you have created a joint PMF.**

## Joint Probability Density Function

If you have continuous variables, they can be described with a probability density function (PDF). Unlike the discrete variable example above, you can’t write out every combination of every variable because you would have infinite possibilities to write out (which is, of course, impossible). What you *can* do is create a formula; **The formula that describes all possible combinations of X and Y is called a joint PDF.** For more on PDFs, see: What is a Probability Density Function?

**Need help with a homework or test question?** With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. If you rather get 1:1 study help, Chegg Tutors offers 30 minutes of free tutoring to new users, so you can try them out before committing to a subscription.

If you prefer an **online interactive environment** to learn R and statistics, this *free R Tutorial by Datacamp* is a great way to get started. If you're are somewhat comfortable with R and are interested in going deeper into Statistics, try *this Statistics with R track*.

**Comments? Need to post a correction?** Please post a comment on our *Facebook page*.

Check out our updated Privacy policy and Cookie Policy