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)


None

## Tags

Primary Tags: Probability

Secondary Tags: Discrete Distributions: Uniform

None

## Attribute

Permalink:

Author:

Date: 15 Oct 2018 21:11

Submitted by: James A Phillips

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License