Discrete Uniform Distribution

## Description

The Discrete Uniform Distribution is for all $0 \leq x \leq n$

(1)\begin{align} P(x) = \frac{ 1 }{ n } . \end{align}

The Sage cell below gives back the probability of $x = 3$ when $n = 10$.

## Sage Cell

#### Code

```
x = 0
n = 10
P(x) = 1 / n
P(x)
```

## Options

None

## Tags

Primary Tags: Probability

Secondary Tags: Discrete Distributions: Uniform

## Related Cells

None

## Attribute

Permalink:

Author:

Date: 15 Oct 2018 21:11

Submitted by: James A Phillips