Uniform Measure
   HOME

TheInfoList



OR:

In probability theory and
statistics Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
, the continuous uniform distribution or rectangular distribution is a family of symmetric probability distributions. The distribution describes an experiment where there is an arbitrary outcome that lies between certain bounds. The bounds are defined by the parameters, ''a'' and ''b'', which are the minimum and maximum values. The interval can either be
closed Closed may refer to: Mathematics * Closure (mathematics), a set, along with operations, for which applying those operations on members always results in a member of the set * Closed set, a set which contains all its limit points * Closed interval, ...
(e.g.
, b The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline o ...
or open (e.g. (a, b)). Therefore, the distribution is often abbreviated ''U'' (''a'', ''b''), where U stands for uniform distribution. The difference between the bounds defines the interval length; all intervals of the same length on the distribution's
support Support may refer to: Arts, entertainment, and media * Supporting character Business and finance * Support (technical analysis) * Child support * Customer support * Income Support Construction * Support (structure), or lateral support, a ...
are equally probable. It is the
maximum entropy probability distribution In statistics and information theory, a maximum entropy probability distribution has entropy that is at least as great as that of all other members of a specified class of probability distributions. According to the principle of maximum entro ...
for a
random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
''X'' under no constraint other than that it is contained in the distribution's support.


Definitions


Probability density function

The probability density function of the continuous uniform distribution is: : f(x)=\begin \frac & \mathrm\ a \le x \le b, \\ pt 0 & \mathrm\ xb \end The values of ''f''(''x'') at the two boundaries ''a'' and ''b'' are usually unimportant because they do not alter the values of the integrals of over any interval, nor of or any higher moment. Sometimes they are chosen to be zero, and sometimes chosen to be . The latter is appropriate in the context of estimation by the method of maximum likelihood. In the context of
Fourier analysis In mathematics, Fourier analysis () is the study of the way general functions may be represented or approximated by sums of simpler trigonometric functions. Fourier analysis grew from the study of Fourier series, and is named after Josep ...
, one may take the value of ''f''(''a'') or ''f''(''b'') to be , since then the inverse transform of many integral transforms of this uniform function will yield back the function itself, rather than a function which is equal " almost everywhere", i.e. except on a set of points with zero
measure Measure may refer to: * Measurement, the assignment of a number to a characteristic of an object or event Law * Ballot measure, proposed legislation in the United States * Church of England Measure, legislation of the Church of England * Mea ...
. Also, it is consistent with the
sign function In mathematics, the sign function or signum function (from '' signum'', Latin for "sign") is an odd mathematical function that extracts the sign of a real number. In mathematical expressions the sign function is often represented as . To avoi ...
which has no such ambiguity. Graphically, the probability density function is portrayed as a rectangle where is the base and is the height. As the distance between a and b increases, the density at any particular value within the distribution boundaries decreases. Since the probability density function integrates to 1, the height of the probability density function decreases as the base length increases. In terms of mean ''μ'' and variance ''σ''2, the probability density may be written as: : f(x)=\begin \frac & \mbox-\sigma\sqrt \le x-\mu \le \sigma\sqrt \\ 0 & \text \end


Cumulative distribution function

The
cumulative distribution function In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x. Ev ...
is: : F(x)= \begin 0 & \textx < a \\ pt \frac & \texta \le x \le b \\ pt 1 & \textx > b \end Its inverse is: :F^(p) = a + p (b - a) \,\,\text 0 In mean and variance notation, the cumulative distribution function is: :F(x)= \begin 0 & \textx-\mu < -\sigma\sqrt \\ \frac \left( \frac +1 \right) & \text-\sigma\sqrt \le x-\mu < \sigma\sqrt \\ 1 & \textx-\mu \ge \sigma\sqrt \end and the inverse is: :F^(p) = \sigma\sqrt(2p-1) +\mu\,\, \text0 \le p \le 1


Example 1. Using the Uniform Cumulative Distribution Function

For random variable : X\sim U(0,23) Find \scriptstyle P(2 < X < 18): : P(2 < X < 18) = (18-2)\cdot \frac 1 = \frac . In graphical representation of uniform distribution function
(x) vs x An emoticon (, , rarely , ), short for "emotion icon", also known simply as an emote, is a pictorial representation of a facial expression using characters—usually punctuation marks, numbers, and letters—to express a person's feelings, m ...
the area under the curve within the specified bounds displays the probability (shaded area is depicted as a rectangle). For this specific example above, the base would be and the height would be .


Example 2. Using the Uniform Cumulative Distribution Function (Conditional)

For random variable : X\sim U(0,23) Find \scriptstyle P(X > 12 \ , \ X > 8): : P(X > 12\ , \ X > 8) = (23-12)\cdot \frac 1 = \frac. The example above is for a conditional probability case for the uniform distribution: given is true, what is the probability that . Conditional probability changes the sample space so a new interval length has to be calculated, where is 23 and is 8. The graphical representation would still follow Example 1, where the area under the curve within the specified bounds displays the probability and the base of the rectangle would be and the height .


Generating functions


Moment-generating function

The moment-generating function is: : M_x = E(e^) = \frac \,\! from which we may calculate the raw moments ''m'' ''k'' :m_1=\frac, \,\! :m_2=\frac, \,\! :m_k=\frac\sum_^k a^ib^. \,\! For the special case ''a'' = –''b'', that is, for : f(x)=\begin \frac & \text\ -b \le x \le b, \\ pt 0 & \text, \end the moment-generating functions reduces to the simple form : M_x=\frac. For a
random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
following this distribution, the
expected value In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a l ...
is then ''m''1 = (''a'' + ''b'')/2 and the variance is ''m''2 − ''m''12 = (''b'' − ''a'')2/12.


Cumulant-generating function

For , the ''n''th cumulant of the uniform distribution on the interval is ''B''''n''/''n'', where ''B''''n'' is the ''n''th Bernoulli number.


Standard uniform

Restricting a=0 and b=1, the resulting distribution ''U''(0,1) is called a standard uniform distribution. One interesting property of the standard uniform distribution is that if ''u''1 has a standard uniform distribution, then so does 1-''u''1. This property can be used for generating antithetic variates, among other things. In other words, this property is known as the inversion method where the continuous standard uniform distribution can be used to generate random numbers for any other continuous distribution. If is a uniform random number with standard uniform distribution (0,1), then x= F^(u) generates a random number from any continuous distribution with the specified
cumulative distribution function In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x. Ev ...
.


Relationship to other functions

As long as the same conventions are followed at the transition points, the probability density function may also be expressed in terms of the Heaviside step function: :f(x)=\frac, \,\! or in terms of the rectangle function :f(x)=\frac\,\operatorname\left(\frac\right) . There is no ambiguity at the transition point of the
sign function In mathematics, the sign function or signum function (from '' signum'', Latin for "sign") is an odd mathematical function that extracts the sign of a real number. In mathematical expressions the sign function is often represented as . To avoi ...
. Using the half-maximum convention at the transition points, the uniform distribution may be expressed in terms of the sign function as: :f(x)=\frac .


Properties


Moments

The mean (first
moment Moment or Moments may refer to: * Present time Music * The Moments, American R&B vocal group Albums * ''Moment'' (Dark Tranquillity album), 2020 * ''Moment'' (Speed album), 1998 * ''Moments'' (Darude album) * ''Moments'' (Christine Guldbrand ...
) of the distribution is: :E(X)=\frac(b+a). The second moment of the distribution is: :E(X^2) = \frac. In general, the ''n''-th moment of the uniform distribution is: :E(X^n) = \frac The variance (second central moment) is: :V(X)=\frac(b-a)^2


Order statistics

Let ''X''1, ..., ''X''''n'' be an i.i.d. sample from ''U''(0,1). Let ''X''(''k'') be the ''k''th order statistic from this sample. Then the probability distribution of ''X''(''k'') is a
Beta distribution In probability theory and statistics, the beta distribution is a family of continuous probability distributions defined on the interval , 1in terms of two positive parameters, denoted by ''alpha'' (''α'') and ''beta'' (''β''), that appear as ...
with parameters ''k'' and . The expected value is :\operatorname(X_) = . This fact is useful when making Q–Q plots. The variances are :\operatorname(X_) = . See also:


Uniformity

The probability that a uniformly distributed random variable falls within any interval of fixed length is independent of the location of the interval itself (but it is dependent on the interval size), so long as the interval is contained in the distribution's support. To see this, if ''X'' ~ U(''a'',''b'') and 'x'', ''x''+''d''is a subinterval of 'a'',''b''with fixed ''d'' > 0, then : P\left(X\in\left x,x+d \right right) = \int_^ \frac\, = \frac \,\! which is independent of ''x''. This fact motivates the distribution's name.


Generalization to Borel sets

This distribution can be generalized to more complicated sets than intervals. If ''S'' is a Borel set of positive, finite measure, the uniform probability distribution on ''S'' can be specified by defining the pdf to be zero outside ''S'' and constantly equal to 1/''K'' on ''S'', where ''K'' is the
Lebesgue measure In measure theory, a branch of mathematics, the Lebesgue measure, named after French mathematician Henri Lebesgue, is the standard way of assigning a measure to subsets of ''n''-dimensional Euclidean space. For ''n'' = 1, 2, or 3, it coincides wit ...
of ''S''.


Related distributions

* If ''X'' has a standard uniform distribution, then by the inverse transform sampling method, ''Y'' = − λ−1 ln(X) has an
exponential distribution In probability theory and statistics, the exponential distribution is the probability distribution of the time between events in a Poisson point process, i.e., a process in which events occur continuously and independently at a constant average ...
with (rate) parameter λ. * If ''X'' has a standard uniform distribution, then ''Y'' = ''X''''n'' has a
beta distribution In probability theory and statistics, the beta distribution is a family of continuous probability distributions defined on the interval , 1in terms of two positive parameters, denoted by ''alpha'' (''α'') and ''beta'' (''β''), that appear as ...
with parameters (''1/n,1)''. As such, * The standard uniform distribution is a special case of the
beta distribution In probability theory and statistics, the beta distribution is a family of continuous probability distributions defined on the interval , 1in terms of two positive parameters, denoted by ''alpha'' (''α'') and ''beta'' (''β''), that appear as ...
with parameters (''1,1)''. * The Irwin–Hall distribution is the sum of ''n'' i.i.d. ''U(0,1)'' distributions. * The sum of two independent, equally distributed, uniform distributions yields a symmetric triangular distribution. * The distance between two i.i.d. uniform random variables also has a triangular distribution, although not symmetric.


Statistical inference


Estimation of parameters


Estimation of maximum


=Minimum-variance unbiased estimator

= Given a uniform distribution on , ''b''with unknown ''b,'' the minimum-variance unbiased estimator (UMVUE) for the maximum is given by :\hat_\text=\frac m = m + \frac where ''m'' is the sample maximum and ''k'' is the sample size, sampling without replacement (though this distinction almost surely makes no difference for a continuous distribution). This follows for the same reasons as estimation for the discrete distribution, and can be seen as a very simple case of
maximum spacing estimation In statistics, maximum spacing estimation (MSE or MSP), or maximum product of spacing estimation (MPS), is a method for estimating the parameters of a univariate statistical model. The method requires maximization of the geometric mean of ''sp ...
. This problem is commonly known as the German tank problem, due to application of maximum estimation to estimates of German tank production during World War II.


=Maximum likelihood estimator

= The maximum likelihood estimator is given by: :\hat_= m where ''m'' is the sample maximum, also denoted as m=X_ the maximum order statistic of the sample.


=Method of moment estimator

= The method of moments estimator is given by: :\hat_= 2\bar where \bar is the sample mean.


Estimation of midpoint

The midpoint of the distribution (''a'' + ''b'') / 2 is both the mean and the median of the uniform distribution. Although both the sample mean and the sample median are unbiased estimators of the midpoint, neither is as efficient as the sample mid-range, i.e. the arithmetic mean of the sample maximum and the sample minimum, which is the
UMVU In statistics a minimum-variance unbiased estimator (MVUE) or uniformly minimum-variance unbiased estimator (UMVUE) is an unbiased estimator that has lower variance than any other unbiased estimator for all possible values of the parameter. For pra ...
estimator of the midpoint (and also the maximum likelihood estimate).


Confidence interval


For the maximum

Let ''X''1, ''X''2, ''X''3, ..., ''X''''n'' be a sample from U_ where ''L'' is the population maximum. Then ''X''(''n'') = max( ''X''1, ''X''2, ''X''3, ..., ''X''''n'' ) has the Lebesgue-Borel-density f := \frac Nechval KN, Nechval NA, Vasermanis EK, Makeev VY (2002
Constructing shortest-length confidence intervals
Transport and Telecommunication 3 (1) 95-103
: f(t) = n \frac \left(\frac\right)^ =n \frac, 0 \leq t \leq L The confidence interval given before is mathematically incorrect, as \Pr ( hat, \hat + \epsilon\ni \theta) \geq 1 - \alpha cannot be solved for \epsilon without knowledge of \theta. However one can solve : \Pr ( hat, \hat (1 + \epsilon)\ni \theta) \geq 1 - \alpha for \epsilon \geq (1-\alpha)^ - 1 for any unknown but valid \theta, one then chooses the smallest \epsilon possible satisfying the condition above. Note that the interval length depends upon the random variable \hat.


Occurrence and applications

The probabilities for uniform distribution function are simple to calculate due to the simplicity of the function form. Therefore, there are various applications that this distribution can be used for as shown below: hypothesis testing situations, random sampling cases, finance, etc. Furthermore, generally, experiments of physical origin follow a uniform distribution (e.g. emission of radioactive particles). However, it is important to note that in any application, there is the unchanging assumption that the probability of falling in an interval of fixed length is constant.


Economics example for uniform distribution

In the field of economics, usually demand and replenishment may not follow the expected normal distribution. As a result, other distribution models are used to better predict probabilities and trends such as
Bernoulli process In probability and statistics, a Bernoulli process (named after Jacob Bernoulli) is a finite or infinite sequence of binary random variables, so it is a discrete-time stochastic process that takes only two values, canonically 0 and 1. Th ...
. But according to Wanke (2008), in the particular case of investigating
lead-time A lead time is the latency between the initiation and completion of a process. For example, the lead time between the placement of an order and delivery of new cars by a given manufacturer might be between 2 weeks and 6 months, depending on vari ...
for inventory management at the beginning of the life cycle when a completely new product is being analyzed, the uniform distribution proves to be more useful. In this situation, other distribution may not be viable since there is no existing data on the new product or that the demand history is unavailable so there isn't really an appropriate or known distribution. The uniform distribution would be ideal in this situation since the random variable of lead-time (related to demand) is unknown for the new product but the results are likely to range between a plausible range of two values. The
lead-time A lead time is the latency between the initiation and completion of a process. For example, the lead time between the placement of an order and delivery of new cars by a given manufacturer might be between 2 weeks and 6 months, depending on vari ...
would thus represent the random variable. From the uniform distribution model, other factors related to
lead-time A lead time is the latency between the initiation and completion of a process. For example, the lead time between the placement of an order and delivery of new cars by a given manufacturer might be between 2 weeks and 6 months, depending on vari ...
were able to be calculated such as
cycle service level Cycle, cycles, or cyclic may refer to: Anthropology and social sciences * Cyclic history, a theory of history * Cyclical theory, a theory of American political history associated with Arthur Schlesinger, Sr. * Social cycle, various cycles in soc ...
and
shortage per cycle In economics, a shortage or excess demand is a situation in which the demand for a product or service exceeds its supply in a market. It is the opposite of an excess supply (surplus). Definitions In a perfect market (one that matches a simpl ...
. It was also noted that the uniform distribution was also used due to the simplicity of the calculations.


Sampling from an arbitrary distribution

The uniform distribution is useful for sampling from arbitrary distributions. A general method is the inverse transform sampling method, which uses the
cumulative distribution function In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x. Ev ...
(CDF) of the target random variable. This method is very useful in theoretical work. Since simulations using this method require inverting the CDF of the target variable, alternative methods have been devised for the cases where the CDF is not known in closed form. One such method is rejection sampling. The
normal distribution In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is : f(x) = \frac e^ The parameter \mu ...
is an important example where the inverse transform method is not efficient. However, there is an exact method, the Box–Muller transformation, which uses the inverse transform to convert two independent uniform
random variable A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. It is a mapping or a function from possible outcomes (e.g., the po ...
s into two independent normally distributed random variables.


Quantization error

In analog-to-digital conversion a quantization error occurs. This error is either due to rounding or truncation. When the original signal is much larger than one least significant bit (LSB), the quantization error is not significantly correlated with the signal, and has an approximately uniform distribution. The
RMS error The root-mean-square deviation (RMSD) or root-mean-square error (RMSE) is a frequently used measure of the differences between values (sample or population values) predicted by a model or an estimator and the values observed. The RMSD represents ...
therefore follows from the variance of this distribution.


Random variate generation

There are many applications in which it is useful to run simulation experiments. Many programming languages come with implementations to generate pseudo-random numbers which are effectively distributed according to the standard uniform distribution. On the other hand, the uniformly distributed numbers are often used as the basis for non-uniform random variate generation. If ''u'' is a value sampled from the standard uniform distribution, then the value ''a'' + (''b'' − ''a'')''u'' follows the uniform distribution parametrised by ''a'' and ''b'', as described above.


History

While the historical origins in the conception of uniform distribution are inconclusive, it is speculated that the term 'uniform' arose from the concept of
equiprobability Equiprobability is a property for a collection of events that each have the same probability of occurring. In statistics and probability theory it is applied in the discrete uniform distribution and the equidistribution theorem for rational num ...
in dice games (note that the dice games would have discrete and not continuous uniform sample space).
Equiprobability Equiprobability is a property for a collection of events that each have the same probability of occurring. In statistics and probability theory it is applied in the discrete uniform distribution and the equidistribution theorem for rational num ...
was mentioned in Gerolamo Cardano's ''Liber de Ludo Aleae'', a manual written in 16th century and detailed on advanced probability calculus in relation to dice.


See also

*
Discrete uniform distribution In probability theory and statistics, the discrete uniform distribution is a symmetric probability distribution wherein a finite number of values are equally likely to be observed; every one of ''n'' values has equal probability 1/''n''. Anothe ...
*
Beta distribution In probability theory and statistics, the beta distribution is a family of continuous probability distributions defined on the interval , 1in terms of two positive parameters, denoted by ''alpha'' (''α'') and ''beta'' (''β''), that appear as ...
* Box–Muller transform * Probability plot * Q–Q plot * Rectangular function * Irwin–Hall distribution — In the degenerate case where n=1, the Irwin-Hall distribution generates a uniform distribution between 0 and 1. * Bates distribution — Similar to the Irwin-Hall distribution, but rescaled for n. Like the Irwin-Hall distribution, in the degenerate case where n=1, the Bates distribution generates a uniform distribution between 0 and 1.


References


Further reading

*


External links


Online calculator of Uniform distribution (continuous)
{{DEFAULTSORT:Uniform Distribution (Continuous) Continuous distributions Location-scale family probability distributions su:Sebaran seragam#Kasus kontinyu