BookmarkSubscribeRSS Feed
eunrok
Calcite | Level 5

Hello,

does somebody know how the npar1way procedure handles tied values for example using the hl statement to calculate Moses intervals.

The treatment difference has some tied values, I know npar1way does something to them, but unfortunately this is not documented (or I didn't find it).

I appreciate any help, thanks in advance.

5 REPLIES 5
eunrok
Calcite | Level 5

I know that average ranksums are used instead of absolute ranks, but i'd need more exact information, how handling of tied values influences the formula (e.g. of the Moses intervals)

eunrok
Calcite | Level 5

The documentation of the Hodges-Lehmann estimation of location shift (and Moses intervals) is quite incomplete regarding the formula for the variance if tied values occur. There is only one formula (C-alpha = ...) documented, this is for untied values only. My question is, what is npar1way doing exactly if there are tied values?

art297
Opal | Level 21

Does the following provide an explanation that is sufficient for your needs?:

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_npar1way_sec...

Reeza
Super User

From what I'm reading cccording to the documentation and formula's there is NO correction for tied values.

You can test this by running for some data that has no ties and then adding in some tied values around the mid range (this shouldn't change the CL but will change the median) from what i'm seeing.

Hopefully that makes some sense.

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
  • 5 replies
  • 1241 views
  • 0 likes
  • 3 in conversation