Uniform Distribution

Description

The Uniform Distribution is for all $b>a$

(1)
\begin{align} P(x)=\frac{1}{b-a}. \end{align}

The Sage cell plots the uniform distribution for b=2 and a=0.

Sage Cell

Code

a=0
b=2
D=RealDistribution('uniform', [a, b])
p1=D.plot((x,a,b))
p1

Options

None

Tags

Primary Tags: Probability

Secondary Tags: Continuous Distributions: Uniform

Related Cells

A simple two-dimensional plot

Attribute

Permalink: http://doc.sagemath.org/pdf/en/reference/probability/probability.pdf

Author: Sage Development Team

Date: 09 Oct 2018 09:03

Submitted by: James A Phillips

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