qt in WinNonlin [Software]

posted by mittyri  – Russia, 2018-01-05 00:13 (2684 d 07:15 ago) – Posting: # 18144
Views: 12,797

Hi Antigoni and Helmut,

That's really weird.
As I see the problem is in quantile function, looks like approximation is not correct for low DF.

R:
qt(0.025, 1:7)
[1] -12.706205  -4.302653  -3.182446  -2.776445  -2.570582
[6]  -2.446912  -2.364624

WNL 502:
-16.50068
-4.327589
-3.18348
-2.7764075
-2.5705446
-2.4469136
-2.3646432


For compliance the same solution could be implemented as R did:
For central qt, a C translation of
Hill, G. W. (1970) Algorithm 396: Student's t-quantiles. Communications of the ACM, 13(10), 619–620.
altered to take account of
Hill, G. W. (1981) Remark on Algorithm 396, ACM Transactions on Mathematical Software, 7, 250–1.

Kind regards,
Mittyri

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,671 registered users;
103 visitors (0 registered, 103 guests [including 7 identified bots]).
Forum time: 08:28 CEST (Europe/Vienna)

If you shut your door to all errors
truth will be shut out.    Rabindranath Tagore

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