Continuous Random Variable: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
Line 45: | Line 45: | ||
= \int_{-\infty}^\infty x^2 f(x) dx - \mu_X^2 | = \int_{-\infty}^\infty x^2 f(x) dx - \mu_X^2 | ||
</math> | </math> | ||
= Median and Percentile = | |||
The a-th percentileis the point at which a percent the area under the | |||
curve is to one side. You want <math> P(X \leq x) </math> 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 <math> X \sim Uniform(a, b) </math> = | = Uniform Distribution <math> X \sim Uniform(a, b) </math> = | ||
<math> a </math> is minimum, and <math> b </math> | Uniform random variable is described by two parameters: <math> a </math> | ||
is minimum, and <math> b </math> is maximum. It has a rectangular | |||
distribution, where every point has the same probability density. | |||
<math> | |||
f(x) = \begin{cases} | |||
\frac{ 1 }{ b - a } & a \leq x \leq b \\ | |||
0 & otherwise | |||
\end{cases} | |||
</math> |
Revision as of 07:46, 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.