Calculating Expected Absolute Deviation for Independent Random Variables

  • Thread starter Thread starter mattclgn
  • Start date Start date
Click For Summary
The discussion focuses on calculating the expected absolute deviation between two independent random variables, X and Y, both uniformly distributed over the integers 1 to m. The goal is to demonstrate that E[|X-Y|] equals ((m-1)(m+1)) / 3m. Participants suggest starting with small values of m to understand the concept better, emphasizing the importance of examining specific cases and using a conditioning argument for clarity. The conversation highlights the challenge of deriving the formula and the need for a structured approach to tackle the problem. Overall, the thread encourages practical experimentation with smaller numbers to grasp the underlying principles.
mattclgn
Messages
19
Reaction score
0

Homework Statement


Let X and Y be independent random variables, both being equally likely to be any of the numbers 1, 2, ..., m. Show that E[(absolute value(X-Y))] = ((m-l)(m+1)) / 3m.

Homework Equations



None, I guess

The Attempt at a Solution


[/B]
Okay so for sample space, since x and y can be any m; total possible combinations are m*m...and then, wasn't really sure where to go...tried talking through bunch of ideas with friends, but...to no avail.
 
Physics news on Phys.org
mattclgn said:

Homework Statement


Let X and Y be independent random variables, both being equally likely to be any of the numbers 1, 2, ..., m. Show that E[(absolute value(X-Y))] = ((m-l)(m+1)) / 3m.

Homework Equations



None, I guess

The Attempt at a Solution


[/B]
Okay so for sample space, since x and y can be any m; total possible combinations are m*m...and then, wasn't really sure where to go...tried talking through bunch of ideas with friends, but...to no avail.

I'd suggest you start by working through the cases explicitly with small numbers. m=1 is no challenge. It's just 0 for the expectation value. m=2 is a little better, you've got the 2^2 cases 1,1 1,2 2,1 2,2. What's the expectation value? Does it match the formula? Now try m=3. Arrange the cases in a square matrix and see if you can think of something to do.
 
mattclgn said:

Homework Statement


Let X and Y be independent random variables, both being equally likely to be any of the numbers 1, 2, ..., m. Show that E[(absolute value(X-Y))] = ((m-l)(m+1)) / 3m.

Homework Equations



None, I guess

The Attempt at a Solution


[/B]
Okay so for sample space, since x and y can be any m; total possible combinations are m*m...and then, wasn't really sure where to go...tried talking through bunch of ideas with friends, but...to no avail.

Much of Ross' book emphasizes a "conditioning argument", and this is one case where you can profitably use that approach:
E |X-Y| = \sum_{j=1}^m E\left( |X-Y|\; | Y = j \right) P(Y = j) = \sum_{j=1}^m E |X-j| \, P(Y=j)
The somewhat unfortunate notation ##E(|X-Y| |Y=j)## means ##E(g(X,Y)|Y=j)##, where ##g(X,Y) = |X-Y|##.
 
Last edited:
Okay, cool, I'll give it a shot.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K