Misinterpretation [Software]

posted by Helmut Homepage – Vienna, Austria, 2025-11-15 10:38 (201 d 11:43 ago) – Posting: # 24499
Views: 4,217

Hi Shuanghe,

❝ I still cannot believe that I had the false memory for so many years, and I still think I must've have read it somewhere else about the step-wise regression approach


You are not alone. Perhaps in this post?

An indirect a quote of WinNonlin (1.1 of 1996 ‼):

Linear regressions are repeated using the last three points, the last four points, the last five points etc. For each regression, an adjusted R² is computed:$$\small{Adjusted\,R^2=1-\frac{\left(1-R^2\right)\cdot(n-1)}{n-2}}$$where n is the number of data points in the regression and R² is the square of the correlation coefficient. The regression with the largest adjusted R² is selected to estimate the terminal half-life, with one caveat: if the adjusted R² does not improve, but is within .0001 of the largest value, the regression with the larger number of points is used.


Yet another approach. b

One problem is to find an algorithm that identifies an appropriate range over which the linear regression should be done. One such algorithm, which has long served this author well, but always needs to be supplemented by a sanity check, goes as follows:

  1. Use the last three points to make a linear regression on and compute the R2 to this linear regression.
  2. Successively add earlier time points and make the linear regression of these data points until R2 decreases (i.e., degree of explanation decreases).
  3. When a point for which a R2 decrease is encountered, remove that point and add the preceding one. Repeat the analysis. If R2 still decreases, the process is stopped and the data are included in the linear regression up to the first decrease in R2. If however R2 increases, we consider the removed point an outlier and continue the process with that individual point removed.

This is not a fool-proof method but it usually represents a good starting point. However, sometimes one needs to use only the last two points in the estimate of the terminal slope, which this method does not allow for (no R2 can be computed in that cases). Data must therefore always be inspected in order to allow for manual modification of the time interval over which the regression should be made.



  1. Gieschke R. Half-life. In: Cawello W, editor. Parameters for Compartment-free Pharmacokinetics. Aachen: Shaker Verlag; 2003. p. 55.
  2. Källén A. Computational Pharmacokinetics. Boca Raton: Chapman & Hall/CRC; 2008. p. 43

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,653 posts in 4,991 threads, 1,570 registered users;
130 visitors (0 registered, 130 guests [including 45 identified bots]).
Forum time: 23:22 CEST (Europe/Vienna)

I’m all in favor of the democratic principle
that one idiot is as good as one genius, but I draw the line
when someone takes the next step and concludes
that two idiots are better than one genius.    Leo Szilard

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