Re: MAD shrimp statistics

2002-02-13 Thread Roman Mureika


"Robert J. MacG. Dawson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
>
> "Wuensch, Karl L" wrote:
> >
> > How about simply using the M.A.D.?  No, not the mad spouse who noticed
she
> > was getting short-shrimped, rather the mean absolute deviation of
individual
> > shrimp from the mean of all shrimp.
>
> I thought of this, but IIRC the mean absolute deviation (whether  from
> the mean or from the median - see below) does *not* relate to the mean
> absolute difference over all pairs in the same way that the mean squared
> deviation from the mean [variance or, backtransformed, SD] relates to
> the mean squared difference over all pairs. Please correct me if I'm
> wrong here...
>
> Why from the median? Well, the median is the value from which MAD is
> minimized in the same way that the mean is the value from which squared
> deviation is minimized, and the mode is the value from which "boolean
> deviation" (code 1 if they differ, 0 if they are the same) is minimized.
>
> -Robert Dawson
>
>

To answer thew original problem, the expected value of the difference can be
calculated:

Let wk, k = 1, 2, ..., 2n, be the ordered weights of the shrimp (from
smallest to largest).

Then the expected weight of the heavier shrimp - lighter shrimp is (if I
didn't make an error):

sum ( from 1 to 2n)  { wk ( 2k - 2n - 1) 2n / [2n (2n-1)] }

This can be calculated by looking at all (2n)! orderings in which the shrimp
can be removed from the bowl.

Roman Mureika








=
Instructions for joining and leaving this list, remarks about the
problem of INAPPROPRIATE MESSAGES, and archives are available at
  http://jse.stat.ncsu.edu/
=



RE: shrimp statistics

2002-02-08 Thread Reg Jordan
Title: Message



Well, 
if this had happened in my house, and my wife observed what I was doing, the 
statistic to look at would be spousal homicide in North Carolina, 
2002.
 
reg

  
  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On 
  Behalf Of Karl L. WuenschSent: Friday, February 08, 2002 6:25 
  PMTo: [EMAIL PROTECTED]Subject: shrimp 
  statistics
  I just ate a bowl full of shrimp.  I took out two 
  at a time, shelled them, dipped the larger one in horseradish and ate it, 
  reserving the smaller one for my spouse.  If I had the weight of each 
  shrimp in the bowl, what simple statistic would be a good estimate of 
  the mean difference between the weight of the shrimp I ate and the weight 
  of the shrimp reserved for my spouse? 
  
  
  Karl L. Wuensch, Department of Psychology,East Carolina University, 
  Greenville NC  27858-4353Voice:  
  252-328-4102 Fax:  252-328-6283[EMAIL PROTECTED]http://core.ecu.edu/psyc/wuenschk/klw.htm


shrimp statistics

2002-02-08 Thread Karl L. Wuensch



I just ate a bowl full of shrimp.  I took out two at 
a time, shelled them, dipped the larger one in horseradish and ate it, reserving 
the smaller one for my spouse.  If I had the weight of each shrimp in the 
bowl, what simple statistic would be a good estimate of the mean difference 
between the weight of the shrimp I ate and the weight of the 
shrimp reserved for my spouse? 


Karl L. Wuensch, Department of Psychology,East Carolina University, 
Greenville NC  27858-4353Voice:  
252-328-4102 Fax:  252-328-6283[EMAIL PROTECTED]http://core.ecu.edu/psyc/wuenschk/klw.htm