The n candidates for a job have been ranked 1, 2, 3,…, n. Let X 5 the rank of a randomly selected candidate, so that X has pmf p(x) 5 5 1yn x 5 1, 2, 3,…, n 0 otherwise (this is called the discrete uniform distribution). Compute E(X) and V(X) using the shortcut formula. [Hint: The sum of the first n positive integers is n(n 1 1)y2, whereas the sum of their squares is n(n 1 1)(2n 1 1)y6.]

Respuesta :

Answer:

A. E(x) = 1/n×n(n+1)/2

B. E(x²) = 1/n

Step-by-step explanation:

The n candidates for a job have been ranked 1,2,3....n. Let x be the rank of a randomly selected candidate. Therefore, the PMF of X is given as

P(x) = {1/n, x = 1,2...n}

Therefore,

Expectation of X

E(x) = summation {xP(×)}

= summation {X×1/n}

= 1/n summation{x}

= 1/n×n(n+1)/2

= n+1/2

Thus, E(x) = 1/n×n(n+1)/2

Value of E(x²)

E(x²) = summation {x²P(×)}

= summation{x²×1/n}

= 1/n