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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1260 views
  • 0 likes
  • 3 in conversation