Programming the statistical procedures from SAS

How does PROC NPAR1WAY handle tied values?

Reply
New Contributor
Posts: 3

How does PROC NPAR1WAY handle tied values?

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.

New Contributor
Posts: 3

How does PROC NPAR1WAY handle tied values?

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)

Super User
Posts: 18,577

How does PROC NPAR1WAY handle tied values?

New Contributor
Posts: 3

How does PROC NPAR1WAY handle tied values?

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?

PROC Star
Posts: 7,416

How does PROC NPAR1WAY handle tied values?

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...

Super User
Posts: 18,577

How does PROC NPAR1WAY handle tied values?

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.

Ask a Question
Discussion stats
  • 5 replies
  • 132 views
  • 0 likes
  • 3 in conversation