Welcome to Univariate Random Variables!

Hello there! If you’re preparing for Exam P, you’ve likely realized that probability is more than just flipping coins or rolling dice. In the world of actuarial science, we need a way to turn real-world uncertainty into math we can work with. That is exactly what Random Variables do! Think of this chapter as the foundation of your house—once you understand how these variables behave, everything else in Exam P will start to click into place. Don't worry if it seems a bit abstract at first; we'll break it down step-by-step.

1. What is a Random Variable (RV)?

In simple terms, a Random Variable is a rule that assigns a numerical value to the outcome of a random experiment. Instead of saying "the result was Heads," we say \(X = 1\). Instead of saying "the insurance claim was very expensive," we say \(X = \$50,000\).

\n\n

There are two main types of random variables you need to know for Exam P:

\n

1. Discrete Random Variables: These represent "countable" things. Think of them as steps on a ladder. Examples include the number of car accidents in a year (0, 1, 2...) or the number of people who pass a test.
\n2. Continuous Random Variables: These represent "measurable" things. They can take on any value within a range. Think of them as a smooth slide. Examples include the exact time until a claim occurs or the exact amount of a loss (e.g., \$1,250.42).

Quick Review:

Discrete = Counting (0, 1, 2...)
Continuous = Measuring (any value like 1.572...)

2. The Probability Mass Function (PMF) - For Discrete Variables

For discrete variables, we use a Probability Mass Function (PMF), usually written as \(p(x)\) or \(P(X = x)\). It tells us the exact probability that the variable equals a specific value.

The Two Golden Rules of PMFs:
1. Every individual probability must be between 0 and 1: \(0 \le P(X = x) \le 1\).
2. The sum of all probabilities must equal exactly 1: \(\sum P(X = x) = 1\).

Example: If a variable X can be 1, 2, or 3, and \(P(X=1) = 0.2\) and \(P(X=2) = 0.5\), then \(P(X=3)\) must be 0.3 because they have to add up to 1.

3. The Probability Density Function (PDF) - For Continuous Variables

This is where things get a bit more "mathy." For continuous variables, the probability of hitting one exact number (like exactly 1.00000... seconds) is actually 0. Instead, we look at the density over an interval.

The Probability Density Function (PDF) is denoted as \(f(x)\). To find the probability that \(X\) falls between two points \(a\) and \(b\), we find the area under the curve using an integral:

\(P(a \le X \le b) = \int_{a}^{b} f(x) dx\)

The Two Golden Rules of PDFs:
1. The function can never be negative: \(f(x) \ge 0\).
2. The total area under the entire curve must equal 1: \(\int_{-\infty}^{\infty} f(x) dx = 1\).

Common Mistake Alert!

In a discrete PMF, \(P(X=x)\) is the probability. In a continuous PDF, \(f(x)\) is NOT a probability. It is a height (density). It is possible for \(f(x)\) to be greater than 1, as long as the total area underneath stays 1!

4. The Cumulative Distribution Function (CDF)

The Cumulative Distribution Function (CDF), written as \(F(x)\), is like a "running total" of probability. It tells you the probability that the random variable is less than or equal to a certain value.

Definition: \(F(x) = P(X \le x)\)

Why is the CDF so useful?
It allows us to calculate the probability of being in a range without re-integrating every time:
\(P(a < X \le b) = F(b) - F(a)\)

Memory Aid: The "C" in CDF

Think of CDF as Collecting or Cumulating. It collects all the probability from the left side of the graph up to your point \(x\).

Key Properties of any CDF:

• It always starts at 0 (on the far left: \(F(-\infty) = 0\)).
• It always ends at 1 (on the far right: \(F(\infty) = 1\)).
• It never goes down; it is non-decreasing. As you move right, you "collect" more probability.

Did you know? In insurance, the CDF is used to determine the probability that a loss will be below a certain deductible amount!

5. Connecting the PDF and the CDF

If you are a fan of calculus, you will love this part. The PDF and CDF are two sides of the same coin. You can switch between them using Integration and Differentiation.

1. To get the CDF from the PDF: Integrate the PDF from the lowest possible value up to \(x\).
\(F(x) = \int_{-\infty}^{x} f(t) dt\)

2. To get the PDF from the CDF: Take the derivative of the CDF.
\(f(x) = \frac{d}{dx} F(x)\)

Step-by-Step: Finding the CDF from a PDF

Suppose you are given \(f(x) = 2x\) for \(0 < x < 1\).
1. Set up your integral: \(\int_{0}^{x} 2t dt\).
2. Integrate: \([t^2]\) from \(0\) to \(x\).
3. Evaluate: \(x^2 - 0^2 = x^2\).
4. Define the CDF fully:
\(F(x) = 0\) for \(x < 0\)
\(F(x) = x^2\) for \(0 \le x \le 1\)
\(F(x) = 1\) for \(x > 1\)

6. Summary and Final Tips

Key Takeaways:
PMF/PDF gives you the "at a point" or "density" view.
CDF gives you the "up to this point" view.
• For discrete variables, use sums (\(\Sigma\)).
• For continuous variables, use integrals (\(\int\)).
• Always check that your total probability (sum or integral) equals 1. If it doesn't, you likely have a calculation error.

Don't forget: In continuous distributions, \(P(X < x)\) is the same as \(P(X \le x)\) because the probability of the variable being exactly \(x\) is zero. This isn't true for discrete variables, so pay close attention to whether the question uses "<" or "\(\le\)" when dealing with discrete cases!

You're doing great! These concepts are the tools you'll use to solve almost every problem on Exam P. Practice converting between PDFs and CDFs until it feels like second nature.