The uniform distribution describes a random variable that is equally likely to take any value in its sample space.

learn more… | top users | synonyms

1
vote
1answer
36 views

Uniform with dependent parameters

I was helping a student with a question I couldn't solve. We have the following process: X is sampled from a $U(0,1)$ distribution. Then Y is sampled from a $U(-x,x)$ distribution. Therefore I have ...
0
votes
0answers
24 views

Why small values produce undulating densities when ploting logarithm of a loguniform prior (in R)?

I am using a program that draws random values in a log-uniform distribution let say between 1 and 100. When I plot the density of the produced values with R it looks like a log-uniform distribution ...
0
votes
0answers
45 views

Estimator of The Mean of the Ratio of Uniformly Distributed Variables

Given two random variables, $ X \sim U \left[ {\mu}_{x} - \frac{{l}_{x}}{2} > 0, {\mu}_{x} + \frac{{l}_{x}}{2} \right] $ and $ Y \sim U \left[ {\mu}_{y} - \frac{{l}_{y}}{2} > 0, {\mu}_{y} + ...
4
votes
1answer
77 views

Joint PDF of a Uniform Distribution

The Question I have a sample X1,...,Xn i.i.d. drawn from a uniform distribution $unif[0,\theta]$, θ ∈ Θ = R+; And I'd just like to compute the joint PDF The Solution I have the following solution ...
0
votes
2answers
36 views

Return value of uniform distributions for MCMC simulations

I am confused about how what value should be returned from a uniform distribution when using MCMC simulations. The proper normal distribution is define as $$ p(\theta) = \left\{ \begin{array}{cc} ...
6
votes
2answers
91 views

PDF of a sum of dependent variables

This is a direct continuation of my recent question. The thing that I actually want to get is the distribution of $a+d+\sqrt{(a-d)^2+4bc}$, where $a,b,c,d$ are uniform in $[0,1]$. Now, the ...
3
votes
1answer
33 views

Apparent inconsistency arising from showing that $x_{(n)}$ is sufficient for $\theta$ where $X \sim \frac{1}{\theta}\mathbb{I}_{(0, \theta)}$

The problem is to show that the largest order statistic $x_{(n)}$ is sufficient for $\theta$ where $X \sim \frac{1}{\theta}\mathbb{I}_{x \in (0, \theta)}$ is a uniform distribution. I believe I have ...
13
votes
2answers
220 views

What's the distribution of $(a-d)^2+4bc$, where $a,b,c,d$ are uniform distributions?

I have four independent uniformly distributed variables $a,b,c,d$, each in $[0,1]$. I want to calculate the distribution of $(a-d)^2+4bc$. I computed the distribution of $u_2=4bc$ to be ...
1
vote
0answers
19 views

Probability distribution function with risk parameter

I'm looking for a way to adjust the probability distribution of a uniform random function I'm using in a program. I need to find a discrete probability distribution that accepts a "risk-aversion ...
7
votes
1answer
76 views

conditional difference between 2 uniform random variables. Surely Breiman can't be wrong?

I've already searched and don't find this particular case in XValidated. Statement: "Electricity is turned on uniform-randomly at a given time of day (in 24 hour window). Once it has been turned on, ...
3
votes
1answer
250 views

Can I use Kolmogorov Smirnov test to check if my data are uniformly distributed?

I'd like to check if distribution of my data is significantly different from a uniform distribution. I know that the K-S test is used for checking the normality of data, but I wonder if it can be ...
2
votes
0answers
35 views

Unbiased Estimator for Uniform Distribution

$X_1$ , a sample size 1 is drawn from a uniform distribution over $[0,\theta]$. Find an unbiased estimator for the variance of the population. Find a function for $X_1$, $\tau(X_1)$ such that ...
1
vote
0answers
23 views

Finding a discrete distribution for the minimum number of times needed for all events to occur

Is there a distribution that describes the number of trials before all the events of a random variable with a discrete uniform distribution occurs? Examples: The number of rolls before getting all ...
2
votes
0answers
41 views

Finding MLE with ordered statistics?

Let Y1 < Y2 < ... < Yn be the order statistics of a random sample of size n from the uniform distribution of the continuous type over the closed interval: $$[\theta - \rho, \theta + \rho]$$ ...
0
votes
2answers
118 views

Probability of finding a point in the unit circle?

Consider the experiment where a pair of numbers (x,y) is chosen at random in the unit square; that is, x and y are uniform (0,1) random variables. What is the probability of (x,y) lying within the ...
3
votes
1answer
98 views

One sample test of uniformity in R

I have a dataset of two columns: one with IDs and one with a column of single digits (0-9) (see below). I would like a statistical significance test for whether the data is uniform. Ideally, I would ...
0
votes
0answers
32 views

Finding expected value

I am not sure of how to find the value asked in below question. Any help would be appreciated. Suppose that the joint distribution of X and Y is the uniform distribution on the circle x2 + y2 ...
8
votes
3answers
199 views

Conditional probability of continuous variable

Suppose that random variable $U$ follows a continuous Uniform distribution with parameters 0 and 10 (i.e. $U \sim \rm{U}(0,10)$ ) Now let's denote A the event that $U$ = 5 and B the event that ...
0
votes
0answers
24 views

Uniformly choosing from a list of samples which are normally distributed?

What kind of distribution do we get if I have a list of let's say 100 numbers which were generated by a normal distribution [mean$=0$, variance$=1$], and I now choose $k$ times uniformly from this ...
3
votes
0answers
63 views

Copulas for generating uniform random variables with correlations

I want to generate uniform random variables which have a correlation structure defined by a graph i.e. a variable is only correlated with its neighbors in the graph and is uncorrelated with the rest ...
1
vote
1answer
52 views

Find the sampling distribution of the MLE of the uniform distribution [duplicate]

The MLE is $ \theta = max [x1,...,xn] $ And $ P(max [Xi] < t) = P(Xi < t)^n = P(t/\theta) $ But the question asks me to show that $ P(max[Xi]< t) = (min[\theta, t]/ \theta)^n * I[t>0] $ ...
3
votes
1answer
164 views

Show that $\min(U,1-U)$ and that $\max(U,1-U)$ are uniform

Let $U$ be uniform on $(0,\ 1)$. Show that $\min(U,\ 1-U)$ is uniform on $(0,\ 1/2)$ and that $\max(U,\ 1-U)$ is uniform on $(1/2,\ 1)$. I'm not sure how to approach... the only hint i have is that a ...
10
votes
1answer
226 views

Advantages of Box-muller over inverse CDF method for simulating Normal distribution?

In order to simulate a normal distribution, from a set of uniform variables, there are several techniques: The box muller; in which one samples two independent uniform distributions $(0,1]$ and ...
4
votes
2answers
184 views

Determine the limiting distribution of Uniform Order Statistic

I have a random sample of size $n$ from a uniform distribution $$U(0, \theta)$$ And I've proven that the pdf of $Y_n$, the n-th order statistic of the sample is: $$ f_{Y_n}(y) = \frac{n}{\theta^n} ...
1
vote
1answer
65 views

Maximum of uniformly distributed random variables using iterated expectations

I'm working through the problems in Wasserman's 'All of Statistics'. The chapter on expectations and conditional expectations ends with a (seemingly) easy problem: Let $Y$ be the maximum of $n$ iid ...
1
vote
3answers
55 views

Remapping the Sum of two Normal Random variables?

I have a problem where I have sum of two random variables 1). Each distributed independently normally with different means ($\mu_1$, $\mu_2$) and sds ($\sigma_1$, $\sigma_2$). $Z=R_1+R_2$ 2). Each ...
0
votes
1answer
28 views

Algorithm for uniform sampling with bounded replacement

Is there a simple algorithm to sample from the uniform distribution on sequences of $n$ numbers, each taking one of $m$ integer values from $0$ to $m-1$, where each value can be repeated at most $r$ ...
4
votes
1answer
97 views

Probability of uniformly drawing N numbers less than the expected second highest value

In the case of 3 draws (N=3) from Uniform[0,1], the expected second highest value would be 1/2. Although unlikely it could happen that all three numbers were less than 1/2. It is exactly this ...
3
votes
1answer
80 views

Conditional expectation of $\mathbb{E}(X - Y | (X, Y)\in\mathcal{A})$

Given two independent random variables $X \sim \mathcal{U}[-1,5]$ and $Y \sim \mathcal{U}[-5,5]$, what is $$\mathbb{E}\{Y - X | X \le 1, Y > X, Y \in [-1,1] \}\,?$$ I managed to compute the ...
1
vote
2answers
79 views

Finding the distribution of $\frac{min(X,Y)}{max(X,Y)}$

Just need some hints on finding the distribution of $Z =\frac{min(X,Y)}{max(X,Y)}$ Where X and Y are iid ~ Unif(0,1). $P(Z \gt z) = P(\frac{min(X,Y)}{max(X,Y)} \gt z) = P(min(X,Y) \gt z*max(X,Y))$ ...
13
votes
3answers
375 views

Uniform random variable as sum of two random variables

Taken from Grimmet and Stirzaker: Show that it cannot be the case that $U=X+Y$ where $U$ is uniformly distributed on [0,1] and $X$ and $Y$ are independent and identically distributed. You should not ...
4
votes
1answer
104 views

estimating the upper bound on a uniform distribution from max order statistic

I have a question. Suppose that $X_1,\ldots,X_n$ are iid $U(0,\lambda)$ and let $X(n)$ denote the nth order statistic. Suppose $\lambda$ is unknown and should be estimated from the sample. Take ...
2
votes
1answer
109 views

Convergence of $X_{{\lfloor n/3 \rfloor}}^ \space\small{(n)}$ if $X_1, \dotsc , X_n \sim U(0,1)$

$X_1,X_2,\dotsc ,X_n$ are independent, uniformly distributed random variables on the interval $[0,1]$ The question is the convergence of the sequence: $X_{{\lfloor n/3 \rfloor}}^ \space\small{(n)}$. ...
2
votes
0answers
39 views

A question regarding symmetry properties of a uniform distribution [duplicate]

Was anyone able to explain why $$E(U_2) = 0$$ I don't quite understand what the relevance of the underlined statement - "by the symmetry of $U_1$" in determining $E(U_2)$ is edit: I get it now, ...
0
votes
0answers
20 views

UMP test for two different distributions

My question: UMP test for H0: X~u(0,1) vs H1: X~Exp(1) My attempt : By nayman pearson lemma The best critical region is Y >= c Where Y has Irwin-Hall distribution (sum of uniform distribution) and c ...
1
vote
0answers
49 views

Why there is no uniform prior for Box-Cox Power Transformed Normal Models

I am trying to get intuition why uniform prior like below will not work for the box-cox model. Box-cox model: $y^{(\phi)}_i \sim N(\mu, \sigma^{2})$ where $y^{(\phi)}_i = (y^{\phi}_i-1)/\phi $ if ...
1
vote
1answer
85 views

Expectations of the geometric mean of a random sample from a uniform distribution

If I have a random sample of size n from a Uniform(0,1) and I define the geometric mean as G can anyone give me insight in to how I can find the expected value of G, E[G]? Once I can get my head ...
0
votes
0answers
52 views

The GPD part of transforming standardized residuals to uniform variates

I need help (or clarity) with transforming a series of standardized residuals, through their parametric CDF, into uniform variates. I started with the awesome R-package, "rugarch": spec <- ...
7
votes
2answers
541 views

Why doesn't runif generate the same result every time?

Why is it that random number generators like runif() in R don't generate the same result every time? For example: ...
0
votes
0answers
25 views

How to I find the distributions for these two random variables?

$X = \min\{U_1, U_2\}$ where $U_1$, $U_2$ are iid ${\rm Unif}(0, 1)$. and $Y = \max\{U_1, U_2\}$ where $U_1$, $U_2$ are iid ${\rm Unif}(0, 1)$.
0
votes
0answers
112 views

Testing uniformity of data

I need to test if a vector of observed values are uniform distribution. Lets assume: This values are not a sample, but my entire universe. I have a dataset of 12000 observations, where most of the ...
13
votes
2answers
1k views

Simulating draws from a Uniform Distribution using draws from a Normal Distribution

I recently purchased a data science interview resource in which one of the probability questions was as follows: Given draws from a normal distribution with known parameters, how can you simulate ...
0
votes
0answers
56 views

validity of MCM proposal distribution? uniform prior?

I am writing a program to compute estimated values. Suppose I I have a prior (discrete) distribution T that I can sample from, but don't know the analytic PMF. That is to say I have a program that ...
1
vote
0answers
17 views

Unifirom distribution from secure random number generator?

I'm testing a Range function from big integer software libraries. The function will return an integer in the range [0,k), where ...
1
vote
0answers
89 views

Distribution of correlation coefficients for uniform random variables

Let $n>1$, let $X$ be uniformly distributed on $[-\frac12,\frac12]$, and consider the sequence $X_1,\ldots,X_{n+1}$ of independent copies of $X$. R implements ...
2
votes
1answer
44 views

Are all sequences of of random (uniform) numbers also uniformly distributed?

If I take some sequences of random numbers generated by a random number generator with uniform distribution, will the resulting sequences be uniformly distributed as well? By example, if I have a ...
3
votes
1answer
79 views

Asymptotic distribution of uniform order statistics

It can be shown that for an iid sample from a Uniform(0, 1) distribution, \begin{equation} n(1-U_{(n)}) \rightarrow exp(1) \\ n(U_{(1)}) \rightarrow exp(1) \end{equation} To see this just try finding ...
1
vote
1answer
83 views

How do I compute the density of this data set that is made up of two different 3D-distributions?

A sequel to this question. I have a dataset where: $\frac{4}{5}$ of the points are drawn from: $(x, y) \sim \mathcal{U}_{2}(0,30)$, $(z) \sim \mathcal{U}_{1}(14.5, 15.5)$. $\frac{1}{5}$ of the ...
2
votes
0answers
35 views

Where is the uniform distribution with one parameter ($U(\theta, k \theta)$) useful for modelling?

I recently came across the distribution $U(\theta, k \theta)$ (where k is known) in the context of statistical theory (as a nice toy example for finding MLE and the likes). However, I was wondering ...
2
votes
1answer
39 views

Scale parameter MLE scheme known but how to find according distribution PDF?

For known location, we can find the scale parameter of a normal distribution by calculating the sum of squared differences to the location, then dividing by n-1 and taking the square root. This is the ...