function (hlml,n,p)
{ x0<-rep(0,n)
z<rep(0,n)
x<-rnorm(n)
for (i in 1:n)
{ x0[i]<-rnorm(1)
y<-c(x,x0[i])
z{i]<-hlml(y) #hlml computes the Hodges Lehman measure of
#location
}
plot (x0,z)
}
Is the above correct? If not why?
Also I am desperate trying to figure out how to compare the median of a
sample X and the Hodges Lehman measure of location of the same sample
(in SPLUS).
Thanks of your suggestions.
Ellen Parzynski.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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