Uniform Distribution: Properties and Calculations for Continuous and Discrete Cases, Study notes of Statistics

An overview of the uniform distribution, discussing its properties as a continuous and discrete probability distribution. It includes formulas for calculating probabilities, expected values, and variances, as well as examples for continuous and discrete cases. Useful for students and researchers in statistics and probability theory.

Typology: Study notes

2021/2022

Uploaded on 09/12/2022

alley
alley 🇺🇸

4.2

(5)

256 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Statistics:
Uniform Distribution (Continuous)
The uniform distribution (continuous) is one of the simplest probability distributions in statistics. It
is a continuous distribution, this means that it takes values within a specified range, e.g. between 0 and 1.
The probability density function for a uniform distribution taking values in the range ato bis:
f(x) =
1
baif axb
0otherwise
Example
You arrive into a building and are about to take an elevator to the your floor. Once you call the elevator,
it will take between 0 and 40 seconds to arrive to you. We will assume that the elevator arrives uniformly
between 0 and 40 seconds after you press the button. In this case a= 0 and b= 40.
Calculating Probabilities
Remember, from any continuous probability density function we can calculate probabilities by using
integration.
P(cxd) = Zd
c
f(x)dx =Zd
c
1
badx =dc
ba
In our example, to calculate the probability that elevator takes less than 15 seconds to arrive we set
d= 15 and c= 0. The correct probability is 150
400=15
40 .
Expected Value
The expected value of a uniform distribution is:
E(X) = Zb
a
xf(x)dx =Zb
a
x
badx =ba
2
In our example, the expected value is 400
2= 20 seconds.
Variance
The variance of a uniform distribution is:
Var(X) = E(X2)E2(X)
=Zb
a
x2
badx ba
2!2
=(ba)2
12
In our example, the variance is (400)2
12 =400
3
Standard Uniform Distribution
The standard uniform distribution is where a= 0 and b= 1 and is common in statistics, especially for
random number generation. Its expected value is 1
2and variance is 1
12
pf2

Partial preview of the text

Download Uniform Distribution: Properties and Calculations for Continuous and Discrete Cases and more Study notes Statistics in PDF only on Docsity!

Statistics:

Uniform Distribution (Continuous)

The uniform distribution (continuous) is one of the simplest probability distributions in statistics. It is a continuous distribution, this means that it takes values within a specified range, e.g. between 0 and 1.

The probability density function for a uniform distribution taking values in the range a to b is:

f (x) =

  

1 ba if^ a^ ≤^ x^ ≤^ b 0 otherwise

Example

You arrive into a building and are about to take an elevator to the your floor. Once you call the elevator, it will take between 0 and 40 seconds to arrive to you. We will assume that the elevator arrives uniformly between 0 and 40 seconds after you press the button. In this case a = 0 and b = 40.

Calculating Probabilities

Remember, from any continuous probability density function we can calculate probabilities by using integration.

P(c ≤ x ≤ d) =

∫ (^) d

c

f (x) dx =

∫ (^) d

c

b − a

dx =

d − c b − a

In our example, to calculate the probability that elevator takes less than 15 seconds to arrive we set d = 15 and c = 0. The correct probability is 1540 −−^00 = 1540.

Expected Value

The expected value of a uniform distribution is:

E(X) =

∫ (^) b a

xf (x) dx =

∫ (^) b a

x b − a

dx =

b − a 2

In our example, the expected value is 402 − 0 = 20 seconds.

Variance

The variance of a uniform distribution is:

Var(X) = E(X^2 ) − E^2 (X)

=

∫ (^) b

a

x^2 b − a

dx −

( b − a 2

) 2

(b − a)^2 12

In our example, the variance is (40−0)

2 12 =^

400 3

Standard Uniform Distribution

The standard uniform distribution is where a = 0 and b = 1 and is common in statistics, especially for random number generation. Its expected value is 12 and variance is 121

Statistics:

Uniform Distribution (Discrete)

The uniform distribution (discrete) is one of the simplest probability distributions in statistics. It is a discrete distribution, this means that it takes a finite set of possible, e.g. 1, 2, 3, 4, 5 and 6.

The probability mass function for a uniform distribution taking one of n possible values from the set A = (x 1 , .., x n ) is:

f (x) =

  

1 n if^ x^ ∈^ A 0 otherwise

Example

DICE??

Calculating Probabilities

Remember, from any discrete probability mass function we can calculate probabilities by using a sum- mation.

P(x c ≤ X ≤ x d ) =

∑^ d i = c

f (x i ) =

∑^ d i = c

n

In our example, to calculate the probability that the dice lands on 2 or 3 we set d = 3 and c = 2. The correct probability is 16 + 16 = 26.

Expected Value

The expected value of a uniform distribution is:

E(X) =

∑^ n i =

x i f (x i ) =

∑^ n i =

x i n

n i =1 x i n

x 1 + x n 2

In our example, the expected value is 1+2+3+4+5+6 6 = 1+6 2 = 3. 5.

Variance

The variance of a uniform distribution is:

Var(X) =

(b − a + 1)^2 − 1 12

In our example, the variance is (6−1+1)

(^2) − 1 12 =^

35 12 = 2.^9

Standard Uniform Distribution

The standard uniform distribution is where a = 0 and b = 1 and is common in statistics, especially for random number generation. Its expected value is 12 and variance is 121