WalzoneInterview Prep
πŸ“ž Interviewing soon? Practice with a realistic AI mock phone interview β€” it calls you, then scores you. First 15 min FREE β†’

Quant Probability Β· Basic Β· question 9 of 100

What is a probability mass function (PMF) and how is it different from a probability density function (PDF)?

πŸ“• Buy this interview preparation book: 100 Quant Probability questions & answers β€” PDF + EPUB for $5

A probability mass function (PMF) and a probability density function (PDF) are both ways of describing the probability distribution of a random variable. However, they are different in how they are defined and the types of random variables they describe.

A probability mass function (PMF) is a function that gives the probability that a discrete random variable takes on a certain value. That is, for each possible value of the random variable, the PMF gives the probability of that value occurring. The PMF is typically denoted by P(X = x), where X is the random variable and x is a possible value it can take on. The PMF satisfies two important properties:

1. Non-negativity: P(X = x) ≀ 0 for all x.

2. Normalization: βˆ‘P(X = x) = 1 over all possible values of X.

For example, let X be the result of rolling a fair six-sided die. The PMF of X is P(X = 1) = P(X = 2) = P(X = 3) = P(X = 4) = P(X = 5) = P(X = 6) = 1/6.

On the other hand, a probability density function (PDF) is a function that gives the relative likelihood of observing a continuous random variable within a certain range of values. That is, for a continuous random variable, the PDF gives the probability density at various points along the continuous range of possible values, but not the probability of any specific value occurring. The PDF is typically denoted by f(x). The properties that a PDF satisfies are:

1. Non-negativity: f(x) > 0 for all x.

2. Normalization: ∫f(x)dx = 1 over the entire range of x.

For example, let X be a continuous random variable that represents the length of a certain type of fish in a lake, measured in inches. A possible PDF for X is f(x) = 0.5β€…*β€…e(β€…βˆ’β€…0.5β€…*β€…x) for x > 0, where e represents the mathematical constant e 2.718. This PDF satisfies the two properties listed above and gives the relative likelihood of observing a fish of a given length.

In summary, PMFs are used to describe the probability of observing specific values for a discrete random variable, while PDFs are used to describe the relative likelihood of observing continuous values for a continuous random variable.

Reading is step one. Saying it out loud is the interview. Our AI interviewer calls your phone and runs a realistic Quant Probability interview β€” then scores it.
πŸ“ž Practice Quant Probability β€” free 15 min
πŸ“• Buy this interview preparation book: 100 Quant Probability questions & answers β€” PDF + EPUB for $5

All 100 Quant Probability questions Β· All topics