BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
xtc283x
Quartz | Level 8

Proc NPAR1WAY in v9.4 contains an option for the two sample Hodges-Lehmann location estimate but, based on my survey of the SAS Support literature, there does not appear to be a procedure supporting a univariate HL estimate nor does there appear to be a computationally feasible approach to producing on with large n.

 

Is this correct? 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

I'm sure you are aware that the H-L estimator requires N(N+1)/2 comparisons to estimate the location parameter in the population. In contrast, the sample median estimates the location parameter much faster and is also a robust estimator. For a data set with millions of records, I would expect the median and the H-L estimate (the pseudo-median) to be very close.

View solution in original post

3 REPLIES 3
Rick_SAS
SAS Super FREQ

How big is your sample size, N?

xtc283x
Quartz | Level 8
Quite large...millions of records. Thank you!
Rick_SAS
SAS Super FREQ

I'm sure you are aware that the H-L estimator requires N(N+1)/2 comparisons to estimate the location parameter in the population. In contrast, the sample median estimates the location parameter much faster and is also a robust estimator. For a data set with millions of records, I would expect the median and the H-L estimate (the pseudo-median) to be very close.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1833 views
  • 0 likes
  • 2 in conversation