Uniform Continuous Distribution
We will often use
This is just a uniform (same) property in a certain window
left=-1; right=4;
bottom=-1; top=4;
---
y = 1 \{1 \le x \le 2\}
y = 0 \{1 \ge x, x \ge 2 \}
(1, 0) | open | #388c46
(2, 0) | open | #388c46
(1, 1) | #2d70b3
(2, 1) | #2d70b3
The area under the line must be 1. You may also have a line from
If we had a rectangle with width
Support and CDF
(see integral)
left=-1; right=3;
bottom=-1; top=2;
---
y = x - 1 \{1 \le x \le 2\}
y = 0 \{1 \ge x \}
y = 1 \{x \gt 2 \}
Expectation and Variance
(expected value and variance)
Given
Examples
Let
solution
alternatively:
Notice how we ended up doing basically the same thing.
Universality
Suppose
We have
Notes:
needs to be invertible and "well-behaved"- A computer divides
into a huge number of discrete chunks ( ) and randomly select this list.
todo Slide 7, percentile illustration. Percentile spread should be uniform, with the same number of people in each percentile (not same score, e.g 70-79% and 80-80% both contain 10% of the population/class).
[!example]
Suppose
then
[!theorem]
Let
i.e when you plug a random random variable into its own CDF, you get a uniform distribution out of it.
In a way we're saying
[!proof]
Let
Uniqueness: if a CDF or PMF behaves like an distribution, then it is that distribution.
So,
which is the same CDF as a uniform distribution. Therefore,