qt in WinNonlin [Software]

posted by mittyri – Russia, 2018-01-05 00:13 (2331 d 04:10 ago) – Posting: # 18144
Views: 11,083

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,035 posts in 4,835 threads, 1,645 registered users;
57 visitors (0 registered, 57 guests [including 4 identified bots]).
Forum time: 05:23 CEST (Europe/Vienna)

The mediocre teacher tells.
The good teacher explains.
The superior teacher demonstrates.
The great teacher inspires.    William Arthur Ward

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