Q: 5.5

Question

The random variable X is said to be a discrete uniform random variable on the integers 1, 2, . . . , n if P{X = i } = 1 n i = 1, 2, . .  , n For any nonnegative real number x, let In t(x) (sometimes written as [x]) be the largest integer that is less than or equal to x. Show that if U is a uniform random variable on (0, 1), then X = In t  (n U) + 1 is a discrete uniform random variable on 1, . . .  , n. 

Step-by-Step Solution

Verified
Answer

To get the claimed, look at the relationship between X and continuous uniform distribution.

1Step:1 Given Information

If PX = I = 1 n I = 1, 2,..., n, the random variable X is said to be a discrete uniform random variable on the integers 1, 2,..., n. Let In t(x) (often written as [x]) be the largest integer that is less than or equal to x for any nonnegative real number x. Demonstrate that if U is a uniform random variable on (0, 1), X = In t (n U) + 1 is a discrete uniform random variable on 1,..., n.

2Step:2 Definition

A uniform probability distribution is a continuous opportunity distribution this is related to occurrences which are equally probably to occur. It has two parameters, x and y, with x denoting the minimal fee and y denoting the most value. The letter u is commonly used to represent it (x, y)

3Step:3 Explanation of the solution

We are given that U~Unif(0,1). That means that nU(0,n)   which implies that Int(nU){0,,n-1}. Finally, we have that X=Int(nU)+1{1,,n}. So, take any k{1,,n}. We have that

P(X=k)=P(Int(nU)+1=k)=P(Int(nU)=k1)=P(nU[k1,k))=PUk1n,kn=k1nkn1dx=knk1n=1n

Hence, we have proved that  X~DUnif(1,,n)