Math 216: Statistical Thinking
Continuous random variables are the backbone of modeling real-world phenomena where outcomes can take any value within a range. Unlike discrete variables, which deal with countable outcomes, continuous variables are described by smooth curves called Probability Density Functions (PDFs).
Interpreting the Curve:
The shape of the PDF reflects how probabilities are distributed. A tall, narrow peak indicates values are concentrated around a specific point, while a flat curve suggests more variability.
Calculating Probabilities:
To find \(P(a \leq X \leq b)\), compute the area under the curve between \(a\) and \(b\). This is the essence of continuous probability!
Definition
The uniform distribution models scenarios where every outcome in a range is equally likely. It’s the simplest continuous distribution, yet it’s incredibly useful in practice.
Why Use the Uniform Distribution?
Equal Likelihood:
It’s ideal for modeling fair processes, such as random number generation or selecting a random time within a fixed interval.
Easy Calculations:
Probabilities are straightforward to compute. For example, \(P(a \leq X \leq b) = (b-a) \times \frac{1}{d-c}\).
Mean and Median:
Both are located at the center of the interval: \(\mu = \frac{a+b}{2}\).
Variance:
The spread of the distribution is \(\sigma^2 = \frac{(b-a)^2}{12}\). A wider range leads to greater variability.
The Normal Distribution is a continuous probability distribution that is symmetrical around its mean, represented by \(\mu\). This distribution is crucial in statistics and is often used to represent real-world variables.
\[ f(x)=\frac{1}{\sigma \sqrt{2 \pi}} \exp \left(-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2\right) \]
Many real-world phenomena are well approximated by the normal distribution. For example:
These applications underscore the normal distribution’s role in statistical inference and various practical scenarios.
To determine if data approximates a normal distribution, one can compare the sample’s frequency distribution against the theoretical normal curve:
A special case of the normal distribution is the standard normal distribution, where \(\mu=0\) and \(\sigma=1\). It is used extensively to simplify problems in statistics.
\[ f(z)=\frac{1}{\sqrt{2 \pi}} \exp \left(-\frac{1}{2} z^2\right) \]
The probability that a normal random variable falls between two values is the area under the curve between those values. This area can be computed using:
pnorm
in R