Skip to main content
. 2021 Jul 10;13(7):1055. doi: 10.3390/pharmaceutics13071055
Algorithm 1: Subset Selection
1: Input: Training Data: (xi1, xi2, , xiT;yi)i=1I
2: For each j=1, 2, , J:
3: (a) Fit linear regression model for all combinations (Tj) of predictors.
4: (b) Set the best model BMj as the one with the highest coefficient of determination R2
5: Select overall best models (BMs) among BM1,BM2,…,BMJ as the one(s) that have adjusted R2 ≥ 0.99 and in which all predictors have a statistically significant relationship (p value ≤ 0.01) with the response