Discrete Uniform Random Variable

A discrete uniform random variable is a discrete random variable for which the probability of each outcome is the same.

Example

The roll of a die is a discrete uniform random variable and has a discrete uniform probability distribution.

The random variable X can take the values X = {1, 2, 3, 4, 5, 6}

Each outcome has a probability of 1/6.

The probability distribution and cumulative distribution functions are shown below:

xiProbability distribution, P(xi)Cumulative Distribution, F(xi)
11/61/6 = 0.1667
21/62/6 = 0.333
31/63/6 = 0.5
41/64/6 = 0.667
51/65/6 = 0.833
61/66/6 = 1

Let’s observe a few values from the above table.

P(3) = 1/6 or 0.1667

F(3) = 0.5

P(2<=X<=5) = 4*1/6 = 0.667

We can generalize this as follows:

P(x) = 1/6 or 0.1667

Cumulative distribution function for any outcome i is F(xi) = i*P(x)

Probability function for a range with k outcomes = k*P(x)

Related Downloads

Data Science in Finance: 9-Book Bundle

Data Science in Finance Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

What's Included:

  • Getting Started with R
  • R Programming for Data Science
  • Data Visualization with R
  • Financial Time Series Analysis with R
  • Quantitative Trading Strategies with R
  • Derivatives with R
  • Credit Risk Modelling With R
  • Python for Data Science
  • Machine Learning in Finance using Python

Each book includes PDFs, explanations, instructions, data files, and R code for all examples.

Get the Bundle for $39 (Regular $57)
JOIN 30,000 DATA PROFESSIONALS

Free Guides - Getting Started with R and Python

Enter your name and email address below and we will email you the guides for R programming and Python.

Data Science in Finance: 9-Book Bundle

Data Science in Finance Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

What's Included:

  • Getting Started with R
  • R Programming for Data Science
  • Data Visualization with R
  • Financial Time Series Analysis with R
  • Quantitative Trading Strategies with R
  • Derivatives with R
  • Credit Risk Modelling With R
  • Python for Data Science
  • Machine Learning in Finance using Python

Each book comes with PDFs, detailed explanations, step-by-step instructions, data files, and complete downloadable R code for all examples.