Clever Geek Handbook
📜 ⬆️ ⬇️

Continuous uniform distribution

A continuous uniform distribution — in probability theory — is the distribution of a random real quantity taking values ​​belonging to the interval [a, b], characterized in that the probability density on this interval is constant.

Continuous uniform distribution
Continuous uniform density Probability density
Distribution function of continuous uniform distribution Distribution function
DesignationU(a,b){\ displaystyle {\ mathcal {U}} (a, b)} {\ mathcal {U}} (a, b) ,Rav(a,b) {\ displaystyle Rav (a, b)} Rav (a, b)
Optionsa,b∈(-∞,∞){\ displaystyle a, b \ in (- \ infty, \ infty)} a, b \ in (- \ infty, \ infty) ,a {\ displaystyle a} a Is the shear coefficient ,b-a {\ displaystyle ba} b-a - scale factor
Carriera⩽x⩽b{\ displaystyle a \ leqslant x \ leqslant b} a \ leqslant x \ leqslant b
Probability densityoneb-aa⩽x⩽b0x<a,x>b{\ displaystyle {\ begin {matrix} {\ dfrac {1} {ba}} & a \ leqslant x \ leqslant b \\\\ 0 & \ x <a \, \ x> b \ end {matrix}}} {\ displaystyle {\ begin {matrix} {\ dfrac {1} {b-a}} & a \ leqslant x \ leqslant b \\\\ 0 & \ x <a \, \ x> b \ end {matrix}}}
Distribution function0x<ax-ab-aa⩽x<bonex⩾b{\ displaystyle {\ begin {matrix} 0 & x <a \\ {\ dfrac {xa} {ba}} & ~~~~~ a \ leqslant x <b \\ 1 & x \ geqslant b \ end {matrix}}} {\ displaystyle {\ begin {matrix} 0 & x <a \\ {\ dfrac {x-a} {b-a}} & ~~~~~ a \ leqslant x <b \\ 1 & x \ geqslant b \ end {matrix}}}
Expected valuea+b2{\ displaystyle {\ frac {a + b} {2}}} {\ frac {a + b} {2}}
Mediana+b2{\ displaystyle {\ frac {a + b} {2}}} {\ frac {a + b} {2}}
Fashionany number from a segment[a,b] {\ displaystyle [a, b]} [a, b]
Dispersion(b-a)212{\ displaystyle {\ frac {(ba) ^ {2}} {12}}} {\ frac {(b-a) ^ {2}} {12}}
Asymmetry coefficient0{\ displaystyle 0} {\ displaystyle 0}
Excess ratio-6five{\ displaystyle - {\ frac {6} {5}}} - {\ frac {6} {5}}
Differential entropyln⁡(b-a){\ displaystyle \ ln (ba)} {\ displaystyle \ ln (b-a)}
The generating function of momentsetb-etat(b-a){\ displaystyle {\ frac {e ^ {tb} -e ^ {ta}} {t (ba)}}} {\ frac {e ^ {{tb}} - e ^ {{ta}}} {t (b-a)}}
Characteristic functioneitb-eitait(b-a){\ displaystyle {\ frac {e ^ {itb} -e ^ {ita}} {it (ba)}}} {\ frac {e ^ {{itb}} - e ^ {{ita}}} {it (b-a)}}

Content

Definition

It is said that a random variable has a continuous uniform distribution over a segment[a,b] {\ displaystyle [a, b]}   wherea,b∈R {\ displaystyle a, b \ in \ mathbb {R}}   if its densityfX(x) {\ displaystyle f_ {X} (x)}   has the form:

fX(x)={oneb-a,x∈[a,b]0,x∉[a,b].{\ displaystyle f_ {X} (x) = \ left \ {{\ begin {matrix} {1 \ over ba}, & x \ in [a, b] \\ 0, & x \ not \ in [a, b] \ end {matrix}} \ right ..}  

They write:X∼U[a,b] {\ displaystyle X \ sim U [a, b]}   . Sometimes density values ​​at boundary pointsx=a {\ displaystyle x = a}   andx=b {\ displaystyle x = b}   change to others, for example0 {\ displaystyle 0}   orone2(b-a) {\ displaystyle {\ frac {1} {2 (ba)}}}   . Since the Lebesgue integral of density does not depend on the behavior of the latter on sets of measure zero, these variations do not affect the calculations of the probabilities associated with this distribution.

Distribution Function

Integrating the density defined above, we obtain:

FX(x)≡P(X⩽x)={0,x<ax-ab-a,a⩽x<bone,x⩾b.{\ displaystyle F_ {X} (x) \ equiv \ mathbb {P} (X \ leqslant x) = \ left \ {{\ begin {matrix} 0, & x <a \\ {\ dfrac {xa} {ba} }, & a \ leqslant x <b \\ 1, & x \ geqslant b \ end {matrix}} \ right ..}  

Since the density of the uniform distribution is discontinuous at the boundary points of the segment[a,b] {\ displaystyle [a, b]}   , then the distribution function at these points is not differentiable. At the remaining points, the standard equality holds:

ddxFX(x)=fX(x),∀x∈R∖{a,b}{\ displaystyle {\ frac {d} {dx}} F_ {X} (x) = f_ {X} (x), \; \ forall x \ in \ mathbb {R} \ setminus \ {a, b \} }   .

The generating function of moments

By simple integration we obtain the generating function of moments :

MX(t)=etb-etat(b-a){\ displaystyle M_ {X} (t) = {\ frac {e ^ {tb} -e ^ {ta}} {t (ba)}}}   ,

whence we find all the interesting moments of the continuous uniform distribution:

E[X]=a+b2{\ displaystyle \ mathbb {E} \ left [X \ right] = {\ frac {a + b} {2}}}   ,
E[X2]=a2+ab+b23{\ displaystyle \ mathbb {E} \ left [X ^ {2} \ right] = {\ frac {a ^ {2} + ab + b ^ {2}} {3}}}   ,
D⁡[X]=(b-a)212{\ displaystyle \ operatorname {D} \ left [X \ right] = {\ frac {(ba) ^ {2}} {12}}}   .

At all,

E[Xn]=onen+one∑k=0nakbn-k=bn+one-an+one(b-a)(n+one){\ displaystyle \ mathbb {E} \ left [X ^ {n} \ right] = {\ frac {1} {n + 1}} \ sum \ limits _ {k = 0} ^ {n} {a ^ { k} b ^ {nk}} = {\ frac {b ^ {n + 1} -a ^ {n + 1}} {(ba) (n + 1)}}}   .

Standard uniform distribution

If aa=0 {\ displaystyle a = 0}   andb=one {\ displaystyle b = 1}   , i.eX∼U[0,one] {\ displaystyle X \ sim U [0,1]}   , then such a continuous uniform distribution is called standard .

There is an elementary statement:

If a random variableX∼U[0,one] {\ displaystyle X \ sim U [0,1]}   andY=a+(b-a)X {\ displaystyle Y = a + (ba) X}   thenY∼U[min(a,b),max(a,b)] {\ displaystyle Y \ sim U [\ min (a, b), \ max (a, b)]}   .

Thus, having a random sample generator from a standard continuous uniform distribution, it is easy to construct a sample generator of any continuous uniform distribution.

Moreover, having such a generator and knowing the function inverse to the distribution function of a random variable, it is possible to construct a sample generator of any continuous distribution (not necessarily uniform) using the inverse transformation method . Therefore, standard uniformly distributed random variables are sometimes called basic random variables .

There are also partial transformations that allow, on the basis of uniform distribution, to obtain random distributions of a different kind. So, for example, to obtain a normal distribution , the Box - Muller transformation is used .

See also

  • Discrete uniform distribution ;
  • Inverse Transformation Method .
Source - https://ru.wikipedia.org/w/index.php?title=Constant_uniform_ distribution&oldid = 98112157


More articles:

  • Androgey
  • Entered
  • Harry and Son
  • Livestock
  • Cesar Award for Best Actor
  • Beya
  • Greif, Olivier
  • Clean Gaspan
  • Walpole Robert
  • Adichi, Chimamanda Ngozi

All articles

Clever Geek | 2019