# AP Statistics Curriculum 2007 Uniform

### From Socr

## Contents |

## General Advance-Placement (AP) Statistics Curriculum - Uniform Distribution

### Uniform Distribution

In the continuous uniform distribution, all intervals of the same length are equally probable. The distribution is defined by two parameters, a and b, which are the minimum and maximum values of the interval. For example, U[3,6] is the uniform distribution from 3 to 6. In the discrete uniform distribution, there are n equally spaced values, each of which have the same probability of being observed.

### Continuous Uniform Distribution

**PDF**:

**CDF**:

**Mean**:

**Median**:

**Mode**:

any value in [*a*,*b*]

**Variance**:

**Support**:

**Moment Generating Function**:

### Discrete Uniform Distribution

**PDF**:

**CDF**:

**Mean**:

**Median**:

**Mode**:

N/A

**Variance**:

**Support**:

**Moment Generating Function**:

### Applications

Generation of random numbers. Random numbers are often generated from a uniform distribution U[0,1]

In R, to generate 5 random integers from [1:10] with replacement:

> sample(1:10, 5, replace = TRUE)

### Example (Continuous)

It is known that the time to complete an oil change at a certain dealership is random and takes between 35 to 45 minutes. If you take your car to this dealership to get an oil change, what is the probability that it will take between 40 to 42 minutes?

Answer:

### Example (Discrete)

If you throw a fair six sided die, what is the probability that you get a number greater than 2?

Answer:

### SOCR Links

http://www.distributome.org/ -> SOCR -> Distributions -> Distributome

http://www.distributome.org/ -> SOCR -> Distributions -> Continuous Uniform Distribution

http://www.distributome.org/ -> SOCR -> Distributions -> Discrete Uniform Distribution

http://www.distributome.org/ -> SOCR -> Functors -> Continuous Uniform Distribution

http://www.distributome.org/ -> SOCR -> Functors -> Discrete Uniform Distribution

http://www.distributome.org/ -> SOCR -> Experiments -> Uniform Estimate Experiment

http://www.distributome.org/ -> SOCR -> Experiments -> Uniform E-Estimate Experiment

SOCR Uniform Distributions calculators:

http://socr.ucla.edu/htmls/dist/ContinuousUniform_Distribution.html

http://socr.ucla.edu/htmls/dist/DiscreteUniform_Distribution.html

- SOCR Home page: http://www.socr.ucla.edu

Translate this page: