Moses CI [Nonparametrics]

posted by Helmut Homepage – Vienna, Austria, 2009-01-27 13:39 (6347 d 23:40 ago) – Posting: # 3142
Views: 19,558

Dear Martin!

❝ in the case that you have to use SAS, you may find this link of interest.


Haha,[image]
To quote the reference:
Cα is an integer that approximates the ordered value of the lower confidence interval. […] In general the value […] is not an integer, so round to the closest integer and use that in the confidence interval equation above.

Nice, but wrong. Cα from the normal approximation should be rounded to the next lower integer, not to the next closest integer. In the code calpha=round() should be replaced by calpha=int(). Comparing values obtained with the formula from the reference with the 900 (n=m=3 to n=m=32) exact values, one would get the correct value in 815 (90.56%) of cases, a conservative value in 81 (9.00%) of cases, but also in 4 (0.44%) of cases a liberal value (α ≥0.05).
Examples:
  1. n=m=12, Cα 43.51, next lower integer 43, next closest integer 44, exact 43.
  2. n=30, m=29, Cα 326.51, next lower integer 326, next closest integer 327, exact 326.
If int() is used, the confidence interval is always conservative (≤ nominal α), which may not be the case if round() is used.

The reference also states
For large samples (>30) Cα is a integer approximated by […]
but uses the approximation irrespective of the sample size. :-D

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,654 posts in 4,992 threads, 1,570 registered users;
105 visitors (0 registered, 105 guests [including 15 identified bots]).
Forum time: 14:19 CEST (Europe/Vienna)

The idea is to try and give all the information to help others
to judge the value of your contribution;
not just the information that leads to judgment
in one particular direction or another.    Richard Feynman

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5