Question

Let X and Y be independent random variables each of which attains any value between 1...

Let X and Y be independent random variables each of which attains any value between 1 and n with probability 1/n. Compute E(|X − Y|) and simplify your answer.

Homework Answers

Answer #1

X and Y are independent and both attains a value between 1 and n with probability 1/n
Since:


, since X and Y are independent.


Now, each X and Y have n possibilities. That makes n x n = n2 possible pairs.
The minimum value of |x-y| would be 0, in cases where both X and Y attain same value.
|x-y| = 0 would occur 'n' times
|x-y| = 1 would occur '2(n-1)' times, X can take any value between 1 and n-1, Y gets restricted to the ONLY number just bigger than x. So total n-1 possibilities, but since (x,y) is an ordered pair, same is the case when Y takes the values between 1 and n-1. So total 2(n-1) possibilities.
Simillarly,
|x-y| = 2 would occur '2(n-2)' times
...
|x-y| = n-1 would occur 2 times.




In general,

so,

In general,

so,







Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
STAT 180 Let X and Y be independent exponential random variables with mean equals to 4....
STAT 180 Let X and Y be independent exponential random variables with mean equals to 4. 1) What is the covariance between XY and X. 2) Let Z = max ( X, Y). Find the Probability Density Function (PDF) of Z. 3) Use the answer in part 2 to compute the E(Z).
Let X and Y be independent random variables each having the uniform distribution on [0, 1]....
Let X and Y be independent random variables each having the uniform distribution on [0, 1]. (1)Find the conditional densities of X and Y given that X > Y . (2)Find E(X|X>Y) and E(Y|X>Y) .
7. Let X and Y be two independent and identically distributed random variables with expected value...
7. Let X and Y be two independent and identically distributed random variables with expected value 1 and variance 2.56. (i) Find a non-trivial upper bound for P(| X + Y -2 | >= 1) (ii) Now suppose that X and Y are independent and identically distributed N(1;2.56) random variables. What is P(|X+Y=2| >= 1) exactly? Briefly, state your reasoning. (iii) Why is the upper bound you obtained in Part (i) so different from the exact probability you obtained in...
Let fX,Y be the joint density function of the random variables X and Y which is...
Let fX,Y be the joint density function of the random variables X and Y which is equal to fX,Y (x, y) = { x + y if 0 < x, y < 1, 0 otherwise. } Compute the probability density function of X + Y . Referring to the problem above, compute the marginal probability density functions fX(x) and fY (y). Are the random variables X and Y independent?
Topic: Linear Combination Of Random Variables Suppose X and Y are independent random variables with X...
Topic: Linear Combination Of Random Variables Suppose X and Y are independent random variables with X ∼ N(1, 9) and Y ∼ N(2, 16). Find the probability that 2Y ≥ 1; find the probability that X − Y ≥ 0.
Let X, Y be two random variables with a joint pmf f(x,y)=(x+y)/12 x=1,2 and y=1,2 zero...
Let X, Y be two random variables with a joint pmf f(x,y)=(x+y)/12 x=1,2 and y=1,2 zero elsewhere a)Are X and Y discrete or continuous random variables? b)Construct and joint probability distribution table by writing these probabilities in a rectangular array, recording each marginal pmf in the "margins" c)Determine if X and Y are Independent variables d)Find P(X>Y) e)Compute E(X), E(Y), E(X^2) and E(XY) f)Compute var(X) g) Compute cov(X,Y)
Let X and Y be independent discrete random variables with pmf’s: x 1 2 3 y...
Let X and Y be independent discrete random variables with pmf’s: x 1 2 3 y 2 4 6 p(x) 0.2 0.2 0.6 p(y) 0.3 0.1 0.6 What is the probability that X + Y = 7
(a) Given two independent uniform random variables X, Y in the interval (−1, 1), find E...
(a) Given two independent uniform random variables X, Y in the interval (−1, 1), find E |X − Y |. (b) Let X, Y be as in (a). Find the support and density of the random variable Z = |X − Y |. (c) From (b), compute the mean of Z and check whether you get the same answer as in (a)
Let X and Y be independent, identically distributed standard uniform random variables. Compute the probability density...
Let X and Y be independent, identically distributed standard uniform random variables. Compute the probability density function of XY .
Let X and Y be a random variables with the joint probability density function fX,Y (x,...
Let X and Y be a random variables with the joint probability density function fX,Y (x, y) = { cx2y, 0 < x2 < y < x for x > 0 0, otherwise }. compute the marginal probability density functions fX(x) and fY (y). Are the random variables X and Y independent?.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT