Moses CI [Nonparametrics]
Dear Andrew,
the Hodges-Lehmann estimator is just the median of the Walsh averages.1 But obviously you are able to calculate the cumulative distribution function – I guess you are more interested in obtaining the confidence interval (according to Moses)? I used an old reference* (in FORTRAN) to calculate the critical values (α 0.05) for up to 64 subjects (m=n=32) and the exact error probabilities as well.
I uploaded two files (in CSV-format, variable separator semicolon, decimal separator period):
For your example (m=26, n=26) the lower critical value according to the first table is 248 and upper one is calculated according to m × n - 248 + 1 with 429.
The normal approximation is calculated according to
m × n/2 – Z0.05 × √m × n × (m+n+1)/12 (rounded to the next lower integer) with 248.
The normal approximation is always conservative (α ≤0.05); 57.3% of the 900 critical values match the exact ones, the remaining 42.7% would calculate one rank lower than the exact one (hence the CI will be wider). Although some textbooks state that the approximation should be used only if m≥8, n≥8 I can’t see any pattern (i.e., an improvement towards the exact value for higher m,n).
According to the second table the exact error probability for m=n=26 is 0.0498 (1 – 2α = 0.9004).
the Hodges-Lehmann estimator is just the median of the Walsh averages.1 But obviously you are able to calculate the cumulative distribution function – I guess you are more interested in obtaining the confidence interval (according to Moses)? I used an old reference* (in FORTRAN) to calculate the critical values (α 0.05) for up to 64 subjects (m=n=32) and the exact error probabilities as well.
I uploaded two files (in CSV-format, variable separator semicolon, decimal separator period):
- Critical values
- Error probabilies
I take no responsibilities about correctness whatsover!
For your example (m=26, n=26) the lower critical value according to the first table is 248 and upper one is calculated according to m × n - 248 + 1 with 429.
The normal approximation is calculated according to
m × n/2 – Z0.05 × √m × n × (m+n+1)/12 (rounded to the next lower integer) with 248.
The normal approximation is always conservative (α ≤0.05); 57.3% of the 900 critical values match the exact ones, the remaining 42.7% would calculate one rank lower than the exact one (hence the CI will be wider). Although some textbooks state that the approximation should be used only if m≥8, n≥8 I can’t see any pattern (i.e., an improvement towards the exact value for higher m,n).
According to the second table the exact error probability for m=n=26 is 0.0498 (1 – 2α = 0.9004).
- Pairwise averages: (Xi+Xj)/2 for all i≤j.
- Dinneen LC, Blakesley BC. Algorithm AS 62: A Generator for the Sampling Distribution of the Mann-Whitney U Statistic. Appl Stat. 1973;22:269–73.
—
Dif-tor heh smusma 🖖🏼 Довге життя Україна!![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- Hodges-Lehmann Point Estimate Dr Andrew Leary 2009-01-26 18:18 [Nonparametrics]
- Moses CIHelmut 2009-01-26 19:43
- Moses CI Dr Andrew Leary 2009-01-26 19:51
- Moses CI Helmut 2009-01-26 20:08
- Moses CI martin 2009-01-27 11:25
- Moses CI Dr Andrew Leary 2009-01-27 11:41
- Moses CI Helmut 2009-01-27 12:04
- Moses CI in the "power to know" d_labes 2009-01-27 12:10
- Moses CI in the "power to know" Dr Andrew Leary 2009-01-27 12:33
- Moses CI Helmut 2009-01-27 12:39
- Deckerian CI d_labes 2009-01-27 13:22
- Deckerian CI martin 2009-01-27 19:10
- Transformers d_labes 2009-01-28 15:32
- Deckerian CI martin 2009-01-27 19:10
- Deckerian CI d_labes 2009-01-27 13:22
- Moses CI Dr Andrew Leary 2009-01-27 11:41
- Moses CI Dr Andrew Leary 2009-01-26 19:51
- Moses CIHelmut 2009-01-26 19:43