WinNonlin 5.2.1 vs. 6 beta --> new finding [🇷 for BE/BA]
Dear Helmut,
I tried to eliminate Cmax from data point selection for lambdaz estimation with Ace's method (codes/algorithms). I found something interesting. WinNonlin (WNL) v6 beta does actually exclude Cmax from point selection! I got the same results obtained from modified Ace's method as WNL v6 beta did (your previous post) with Ex.04 (and probably Ex. 06, too).
In my previous post, the algorithm I mentioned about data point selection by WNL may not be correct. As the matter of the fact, WNL v5.x.x calculates each adj. R2 value starting with the last three data points, then the last 4 data points, the last 5 data points... until including Cmax. Finally it picks the dataset which had the maximum adj. R2 value among others to do linear regression for estimation of lambdaz. However, with WNL v6 beta, the calculation or searching will stop at the data point next to Cmax. So I changed the line of
Ex. 04
Ex. 06
Ex. 05 had the same result as the that obtained from previous version. It happened when the dataset that included Cmax did not have the maximum adj. R2. If you like, you can test Ex. 06 (WNL v5.x.x included the Cmax with this example, too) with WNL v6 beta to see if you can get the exact same results as ours. It should, I guess. We will still test more data set. If no other errors, we will include this method into bear. Time to move to TTT method coding...
I tried to eliminate Cmax from data point selection for lambdaz estimation with Ace's method (codes/algorithms). I found something interesting. WinNonlin (WNL) v6 beta does actually exclude Cmax from point selection! I got the same results obtained from modified Ace's method as WNL v6 beta did (your previous post) with Ex.04 (and probably Ex. 06, too).
In my previous post, the algorithm I mentioned about data point selection by WNL may not be correct. As the matter of the fact, WNL v5.x.x calculates each adj. R2 value starting with the last three data points, then the last 4 data points, the last 5 data points... until including Cmax. Finally it picks the dataset which had the maximum adj. R2 value among others to do linear regression for estimation of lambdaz. However, with WNL v6 beta, the calculation or searching will stop at the data point next to Cmax. So I changed the line of
for (i in (nrow(dat)-2):(which.max(dat$conc+1)))
with Ace's method to for (i in (nrow(dat)-2):(which.max(dat$conc))+1)
(R scripts). I found that I could successfully eliminate Cmax from data points selection. Then the results surprised me! We had the same result as those you got from WNL v6 beta! See the following (pasted from R console).Ex. 04
Call:
lm(formula = log(conc) ~ time, data = dat[(nrow(dat) - n_lambda +
1):nrow(dat), ])
Residuals:
10 11 12
0.04664 -0.06218 0.01555
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 7.548030 0.108820 69.36 0.00918 **
time -0.119676 0.006731 -17.78 0.03577 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 0.07927 on 1 degrees of freedom
Multiple R-squared: 0.9968, Adjusted R-squared: 0.9937
F-statistic: 316.1 on 1 and 1 DF, p-value: 0.03577
Ex. 06
Call:
lm(formula = log(conc) ~ time, data = dat[(nrow(dat) - n_lambda +
1):nrow(dat), ])
Residuals:
8 9 10 11 12
0.01676 0.03580 0.04976 -0.15536 0.05303
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 7.962810 0.076072 104.67 1.92e-06 ***
time -0.153656 0.005981 -25.69 0.000129 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 0.1016 on 3 degrees of freedom
Multiple R-squared: 0.9955, Adjusted R-squared: 0.994
F-statistic: 660.1 on 1 and 3 DF, p-value: 0.0001293
Ex. 05 had the same result as the that obtained from previous version. It happened when the dataset that included Cmax did not have the maximum adj. R2. If you like, you can test Ex. 06 (WNL v5.x.x included the Cmax with this example, too) with WNL v6 beta to see if you can get the exact same results as ours. It should, I guess. We will still test more data set. If no other errors, we will include this method into bear. Time to move to TTT method coding...
—
All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here

Complete thread:
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-12 20:53 [🇷 for BE/BA]
- bear v1.0.0 for R - first impressions Helmut 2008-07-14 04:12
- bear v1.0.0 for R - first impressions yjlee168 2008-07-14 10:26
- bear v1.0.0 for R - first impressions Helmut 2008-07-14 14:02
- bear v1.0.0 for R - first impressions yjlee168 2008-07-14 18:12
- bear v1.0.0 for R... Helmut 2008-07-14 18:56
- bear v1.0.0 for R... yjlee168 2008-07-14 19:30
- bear v1.0.0 for R... Helmut 2008-07-14 20:35
- bear v1.0.0 for R... yjlee168 2008-07-14 19:30
- bear v1.0.0 for R... Helmut 2008-07-14 18:56
- bear v1.0.0 for R - first impressions yjlee168 2008-07-15 09:44
- bear v1.0.0 for R - first impressions yjlee168 2008-07-14 18:12
- bear v1.0.0 for R - first impressions Helmut 2008-07-14 14:02
- bear v1.0.0 for R - first impressions yjlee168 2008-07-14 10:26
- bear v1.0.0 - a data analytical tool for ABE in R martin 2008-07-14 12:18
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-14 19:02
- bear v1.0.0 - a data analytical tool for ABE in R Aceto81 2008-07-15 10:07
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-16 07:22
- bear v1.0.0 - a data analytical tool for ABE in R Aceto81 2008-07-16 09:47
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-16 21:32
- bear v1.0.0 - a data analytical tool for ABE in R Aceto81 2008-07-16 09:47
- lambda_z estimation yjlee168 2008-09-23 12:13
- lambda_z estimation d_labes 2008-09-23 14:41
- lambda_z estimation yjlee168 2008-09-24 22:41
- lambda_z estimation Aceto81 2008-09-25 10:56
- lambda_z estimation yjlee168 2008-09-25 21:00
- lambda_z estimation yjlee168 2008-09-26 08:03
- lambda_z estimation Aceto81 2008-09-26 10:25
- lambda_z estimation yjlee168 2008-09-28 00:08
- lambda_z estimation yjlee168 2008-09-29 13:32
- WinNonlin 5.2.1 vs. 6 beta Helmut 2008-09-29 15:54
- WinNonlin 5.2.1 vs. 6 beta yjlee168 2008-09-29 18:45
- WinNonlin 5.2.1 vs. 6 beta --> new findingyjlee168 2008-09-30 08:10
- Example 4 in SASophylistic d_labes 2008-09-30 09:43
- Example 4 in SASophylistic yjlee168 2008-09-30 12:23
- Example 4 in SASophylistic d_labes 2008-09-30 09:43
- WinNonlin 5.2.1 vs. 6 beta Helmut 2008-09-29 15:54
- lambda_z estimation Aceto81 2008-09-26 10:25
- TTT method for lambda_z estimation yjlee168 2008-09-30 12:34
- TTT method for lambda_z estimation d_labes 2008-09-30 14:48
- TTT method for lambda_z estimation yjlee168 2008-09-30 20:28
- TTT method plus best fit combined d_labes 2008-10-01 08:43
- AIC or ARS as the best fit criterion? yjlee168 2008-10-02 12:40
- AIC or ARS as the best fit criterion? d_labes 2008-10-02 13:59
- AIC or ARS as the best fit criterion? yjlee168 2008-10-02 12:40
- TTT method plus best fit combined d_labes 2008-10-01 08:43
- TTT method for lambda_z estimation yjlee168 2008-09-30 20:28
- TTT method for lambda_z estimation Aceto81 2008-09-30 15:11
- TTT method for lambda_z estimation yjlee168 2008-09-30 19:57
- TTT method for lambda_z estimation Aceto81 2008-10-01 14:18
- TTT method for lambda_z estimation yjlee168 2008-10-02 12:29
- TTT method for lambda_z estimation Aceto81 2008-10-03 15:33
- TTT method for lambda_z estimation yjlee168 2008-10-03 21:22
- TTT method for lambda_z estimation Aceto81 2008-10-03 15:33
- TTT method for lambda_z estimation yjlee168 2008-10-02 12:29
- TTT method for lambda_z estimation Aceto81 2008-10-01 14:18
- TTT method for lambda_z estimation yjlee168 2008-09-30 19:57
- TTT method for lambda_z estimation d_labes 2008-09-30 14:48
- lambda_z estimation d_labes 2008-09-23 14:41
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-16 07:22
- bear v1.0.0 - a data analytical tool for ABE in R Aceto81 2008-07-15 10:07
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-14 19:02
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-07-22 14:35
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-23 09:55
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-07-24 10:04
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-25 20:38
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-07-28 08:42
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-25 20:38
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-09-23 16:10
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-09-24 22:00
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-09-25 09:03
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-09-25 13:52
- bear v1.0.0 - a data analytical tool for ABE in R Helmut 2008-09-25 14:39
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-09-25 14:55
- bear v1.0.0 - a data analytical tool for ABE in R Helmut 2008-09-25 15:33
- GLM in R and the power to know d_labes 2008-09-25 16:45
- GLM in R and the power to know ElMaestro 2008-09-25 19:23
- nesting in R? yjlee168 2008-09-25 20:49
- nesting in R? ElMaestro 2008-09-25 22:01
- lm in R Helmut 2008-09-26 00:23
- nesting in R? yjlee168 2008-09-25 20:49
- GLM in R and the power to know ElMaestro 2008-09-25 19:23
- GLM in R and the power to know d_labes 2008-09-25 16:45
- bear v1.0.0 - a data analytical tool for ABE in R Helmut 2008-09-25 15:33
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-09-25 14:55
- bear v1.0.0 - a data analytical tool for ABE in R Helmut 2008-09-25 14:39
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-09-25 13:52
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-09-25 09:03
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-09-24 22:00
- bear v1.0.0 - a data analytical tool for ABE in R ElMaestro 2008-07-24 10:04
- Type III SS in balanced, crossover BE studies? yjlee168 2008-10-18 21:03
- Type III SS in balanced, crossover BE studies? ElMaestro 2008-10-21 13:09
- Type III SS in balanced, crossover BE studies? yjlee168 2008-10-21 13:19
- Only balanced, crossover BE studies? d_labes 2008-10-21 14:31
- Only balanced, crossover BE studies? yjlee168 2008-10-21 19:01
- Only balanced, crossover BE studies? ElMaestro 2008-10-24 11:26
- Thread locked Helmut 2008-10-24 11:58
- Only balanced, crossover BE studies? ElMaestro 2008-10-24 11:26
- Only balanced, crossover BE studies? yjlee168 2008-10-21 19:01
- Only balanced, crossover BE studies? d_labes 2008-10-21 14:31
- Type III SS in balanced, crossover BE studies? yjlee168 2008-10-21 13:19
- Type III SS in balanced, crossover BE studies? ElMaestro 2008-10-21 13:09
- bear v1.0.0 - a data analytical tool for ABE in R yjlee168 2008-07-23 09:55
- bear v1.0.0 for R - first impressions Helmut 2008-07-14 04:12