MTH-361A | Spring 2026 | University of Portland
Geometric R.V. (Revisited)
\(\star\) In a time-based interpretation, if events occur in discrete time steps, the geometric r.v. represents the number of time steps required until an event of interest happens.
A professor allows students to take a short assessment quiz, and if they fail, they can revise their answers and retake the quiz in the next session. The probability that a student passes on any given attempt is \(p=0.40\), and attempts continue until the student passes.
Let \(X\) be the number of fail attempts before the student get a pass.
Information Given:
Interpretation:
Exponential R.V.
\(\star\) In a time-based interpretation, if events occur in continuous time, the exponential r.v. represents the length of time required until an event of interest happens.
The exponential r.v. is a continuous r.v. that models the time until an event occurs, given that the event happens at a constant rate over time called \(\lambda\): \[X \sim \text{Exp}(\lambda)\]
Sample Space:
Rate Parameter
The exponential r.v. \(X \sim \text{Exp}(\lambda)\) has infinite possible outcomes (or infinite sized sample space) where \(\lambda > 0\) is the rate of “success” with PDF given as \[f(x) = \lambda e^{-\lambda x}, \quad x \ge 0\]
\(\star\) The exponential r.v. models the unit length until an event happens.
A class of students is taking a quiz, and the time it takes for students to finish the quiz follows an exponential r.v., assuming unlimited quiz time allocation. On average, a student takes 15 minutes to complete the quiz.
Let \(X\) represent the time to complete the quiz.
Information Given:
Interpretation:
A Probability Density Function (PDF) describes the likelihood of a continuous r.v. taking a specific value from a continuous interval.
The probability of a single point is zero for continuous distributions: \[P(X = x) = 0, \ \text{for any } x\] because continuous distributions are defined over an infinite number of possible values, and the probability at a single point is infinitesimally small.
If \(f(x)\) is a PDF, we calculate probabilities over intervals of using integration:
\(\star\) The PMF (for discrete r.v.) \(P(X=k)\) is a meaningful probability while the PDF (for continuous r.v.) is \(P(X=x)=0\).
Suppose we conduct an experiment of flipping \(n\) fair coins. The sample space \(S\) contains all possible outcomes, where the number of outcomes is \(2^n\).
Visualizing the possible outcomes using Pascal’s triangle
\(\star\) Pascal’s Triangle helps us visualize the total possible sequences of “success” (\(H\)) outcomes given \(n\) independent trials.
Let \(X\) be the r.v. that counts the number of \(H\) outcomes in \(n\) trials.
Pascal’s triangle helps us count:
\(\star\) The binomial coefficient tells you how many ways \(k\) “success” outcomes can occur in \(n\) trials, corresponding to the \(k\)-th column in the \(n\)-th row of Pascal’s Triangle.
Pascal’s Triangle and Combinations This formula calculates the number of ways to choose \(k\) elements from a set of \(n\). Each number in Pascal’s Triangle corresponds to a combination. Also known as the binomial coefficient.
Suppose we want to compute the probability of observing a certain number of “success” (\(H\)) outcomes in \(n\) trials. Note that for a fair coin the probability of “success” is \(\frac{1}{2}\).
Pascal’s triangle helps us compute these probabilities:
To best illustrate this idea, here is a video.
\(\star\) The video explains how random events can produce a predictable pattern, specifically, how many random outcomes together form a normal “bell-curve” distribution.
\(\star\) The Binomial distribution is approximately the normal distribution given large enough samples because of the Law of Large Numbers.
A normal r.v. is a type of continuous r.v. whose probability distribution follows the normal distribution, also known as the Gaussian distribution. The normal distribution is characterized by two parameters, \(\mu\) as the mean and \(\sigma^2\) as the variance: \[X \sim \text{N}(\mu,\sigma^2)\]
Sample Space:
Parameters
The normal r.v. \(X \sim \text{N}(\mu,\sigma^2)\) has infinite possible outcomes (or infinite sized sample space) where \(\mu\) is the mean and \(\sigma^2\) is the variance with PDF given as \[f(x) = \frac{1}{\sigma \sqrt{2 \pi}} \exp{\left(-\frac{1}{2} \left( \frac{x - \mu}{\sigma} \right)^2\right)}, \ -\infty < x < \infty\] where the term \(\exp{(\cdot)}\) is the exponential function \(e^{(\cdot)}\). We write it this way to make it clear because the exponent term is complicated.
\(\star\) The normal r.v. often approximates the distribution of many types of data, especially when there are large numbers of independent factors contributing to the outcome.
A standardized score is a measure on how many standard deviations a value is from the mean. This is computed by the z-score formula: \[z = \frac{x - \mu}{\sigma}.\]
Using the z-score transformation, the normal r.v. reduces to \[Z \sim N(0,1),\] with mean \(0\) and standard deviation of \(1\). The normal PDF reduces to the standard normal PDF, \[f(z) = \frac{1}{\sqrt{2 \pi}} \exp{\left(-\frac{z^2}{2}\right)}, \ -\infty < z < \infty.\]
\(\star\) The standardized score is used to compare two normal distributions with different means and variances.
When can we use it?
The binomial distribution \(X \sim \text{Binom}(n,p)\) can be approximated by a normal distribution when:
Approximation Formula
\(\star\) The normal approximation simplifies binomial probability calculations for large \(n\).
A large introductory statistics course has a final exam consisting of many independent multiple-choice questions. Each question has a probability of “success” \(p = 0.70\) (a typical student answers correctly with probability \(0.70\)). The exam has \(n = 100\) questions.
Let \(X\) represent the number of correct answers on the exam.
Information Given:
Normal Approximation:
90th Percentile:
Using R:
## [1] 1.281552
This can be interpreted as:
Computing Percentiles:
Mean and standard deviation: \[ \begin{aligned} \mu & = np \\ & = 100(0.70) = 70 \\ \sigma^2 & = \sqrt{np(1-p)} \\ & = \sqrt{100(0.70)(1-0.70)} \approx 4.583 \end{aligned} \]
Convert the standardized score to the exam score using the z-score formula: \[ \begin{aligned} x & = \mu + z_{0.90} \sigma \\ x & = 70 + (1.282)(4.583) \\ x & \approx 75.88 \end{aligned} \]
Interpretation:
Using R:
## [1] 75.87335
\(\star\) Note that, this is
approximately equal to 70 + qnorm(0.90,0,1)*(4.583), where
the code qnorm(0.90,0,1) is the z-score.