qt in WinNonlin [Software]

posted by mittyri – Russia, 2018-01-04 23:13 (1480 d 05:14 ago) – Posting: # 18144
Views: 9,595

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:

Activity
 Admin contact
21,844 posts in 4,571 threads, 1,555 registered users;
online 5 (0 registered, 5 guests [including 5 identified bots]).
Forum time: Monday 04:27 CET (Europe/Vienna)

Do, or do not.
There is no ‘try’.    Yoda

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