[S] Hoadges Lehman Measure of Location

Fouad Abbassi (fabbassi@yahoo.com)
Tue, 27 Oct 1998 21:02:00 -0800 (PST)

function(n, p)
x <- dis(n, p) # dis is a function that #
generates n random variables
y <- rep(0, n)
z <- rep(0, n)
for(i in 1:n) {
y[i] <- median(x[i])
for(j in 1:n) {
z[j] <- outer(x[j], x[j], "+")/2
par(mfrow = c(1, 2))

The S_plus function above should plot the histogram of the median and
the Hoadges Lehmann measure of location of some random variables.

The problem is that the 2 distributions should be different, but the
function above plots exactly 2 similar histograms. I learned that the
distribution of the median should be more spread than the distribution
of the Hoadges Lehmann. Am I wrong? Can somebody help me understand
the above. Thank you in advance.

Get your free @yahoo.com address at http://mail.yahoo.com

This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news