Continuous Random Variable: Difference between revisions
No edit summary |
No edit summary |
||
Line 97: | Line 97: | ||
* At a constant average rate | * At a constant average rate | ||
Notably, it models time until some event has happened | Exponential distribution has the '''memoryless property''': the | ||
probability to an event does not change no matter how much time has | |||
passed. | |||
In probability terms, the probability that we must wait an | |||
additional <math>t</math> units given that we have waited <math>s</math> | |||
units | |||
<math> | |||
P(T > t + s | T > s) = P(T > t) = e^{-\lambda t} | |||
</math> | |||
Notably, it models time until some event has happened. | |||
==== PDF ==== | ==== PDF ==== | ||
Line 116: | Line 127: | ||
==== Mean ==== | ==== Mean ==== | ||
Integration by parts | |||
<math> | <math> | ||
\mu_X = \frac{ 1 }{ \lambda } | \mu_X = \frac{1}{\lambda} | ||
</math> | </math> | ||
==== Variance ==== | ==== Variance ==== | ||
Integration by parts | |||
<math> | <math> | ||
\sigma^2 = \frac{ 1 }{ \lambda^2 } | \sigma^2 = \frac{ 1 }{ \lambda^2 } | ||
</math> | </math> |
Revision as of 08:39, 1 March 2024
Continuous random variables have an inifinite number of values for any given interval. While similar, the approach to analysis is very different from discrete variables
- Summation becomes integration
- Probability becomes area under a curve
Probability Distribution Function
The probability density function (pdf) maps a continuous variable to a probability density.
As the name "density" suggests, the area under the pdf curve between a range is the probability of the variable being in that range.
Total area under the curve must be , as chances of
events happening is 100% if the range includes all possible events.
There is no area under a single point
Mean and Variance
The mean and variance calculations are pretty much the same as that of discrete random variables, except the summations are swapped out for integrals.
Median and Percentile
The a-th percentileis the point at which a percent the area under the curve is to one side. You want to be a%, the calculation of which is in the page above.
By the same logic, the quartiles are at 25%, 50%, and 75% accordingly.
Uniform Distribution
Uniform random variable is described by two parameters: is minimum, and is maximum. It has a rectangular distribution, where every point has the same probability density.
CDF
Mean
Variance
Exponential Distribution
The exponential distribution models events that occurs
- Continuously
- Independently
- At a constant average rate
Exponential distribution has the memoryless property: the probability to an event does not change no matter how much time has passed.
In probability terms, the probability that we must wait an additional units given that we have waited units
Notably, it models time until some event has happened.
CDF
Mean
Integration by parts
Variance
Integration by parts