NHANES

 [1] "D:/RDirectory/NHANES/05-10,15-16/BMX_D.xpt" 
 [2] "D:/RDirectory/NHANES/05-10,15-16/BMX_E.xpt" 
 [3] "D:/RDirectory/NHANES/05-10,15-16/BMX_F.xpt" 
 [4] "D:/RDirectory/NHANES/05-10,15-16/BMX_I.xpt" 
 [5] "D:/RDirectory/NHANES/05-10,15-16/BPX_D.xpt" 
 [6] "D:/RDirectory/NHANES/05-10,15-16/BPX_E.xpt" 
 [7] "D:/RDirectory/NHANES/05-10,15-16/BPX_F.xpt" 
 [8] "D:/RDirectory/NHANES/05-10,15-16/BPX_I.xpt" 
 [9] "D:/RDirectory/NHANES/05-10,15-16/DEMO_D.xpt"
[10] "D:/RDirectory/NHANES/05-10,15-16/DEMO_E.xpt"
[11] "D:/RDirectory/NHANES/05-10,15-16/DEMO_F.xpt"
[12] "D:/RDirectory/NHANES/05-10,15-16/DEMO_I.xpt"
[13] "D:/RDirectory/NHANES/05-10,15-16/GHB_D.xpt" 
[14] "D:/RDirectory/NHANES/05-10,15-16/GHB_E.xpt" 
[15] "D:/RDirectory/NHANES/05-10,15-16/GHB_F.xpt" 
[16] "D:/RDirectory/NHANES/05-10,15-16/GHB_I.xpt" 
[17] "D:/RDirectory/NHANES/05-10,15-16/GLU_D.xpt" 
[18] "D:/RDirectory/NHANES/05-10,15-16/GLU_E.xpt" 
[19] "D:/RDirectory/NHANES/05-10,15-16/GLU_F.xpt" 
[20] "D:/RDirectory/NHANES/05-10,15-16/GLU_I.xpt" 
[21] "D:/RDirectory/NHANES/05-10,15-16/INS_I.xpt" 
[22] "D:/RDirectory/NHANES/ALQ_H.xpt"             
[23] "D:/RDirectory/NHANES/BMX_G.xpt"             
[24] "D:/RDirectory/NHANES/BMX_H.xpt"             
[25] "D:/RDirectory/NHANES/BPQ_H.xpt"             
[26] "D:/RDirectory/NHANES/BPX_G.xpt"             
[27] "D:/RDirectory/NHANES/BPX_H.xpt"             
[28] "D:/RDirectory/NHANES/CDQ_H.xpt"             
[29] "D:/RDirectory/NHANES/CKQ_H.xpt"             
[30] "D:/RDirectory/NHANES/DEMO_G.xpt"            
[31] "D:/RDirectory/NHANES/DEMO_H.xpt"            
[32] "D:/RDirectory/NHANES/DIQ_H.xpt"             
[33] "D:/RDirectory/NHANES/DR1TOT_H.xpt"          
[34] "D:/RDirectory/NHANES/DR2TOT_H.xpt"          
[35] "D:/RDirectory/NHANES/DXX_H.xpt"             
[36] "D:/RDirectory/NHANES/DXXAG_H.xpt"           
[37] "D:/RDirectory/NHANES/GHB_G.xpt"             
[38] "D:/RDirectory/NHANES/GHB_H.xpt"             
[39] "D:/RDirectory/NHANES/GLU_G.xpt"             
[40] "D:/RDirectory/NHANES/GLU_H.xpt"             
[41] "D:/RDirectory/NHANES/HDL_H.xpt"             
[42] "D:/RDirectory/NHANES/INS_H.xpt"             
[43] "D:/RDirectory/NHANES/MGX_H.xpt"             
[44] "D:/RDirectory/NHANES/PAQ_H.xpt"             
[45] "D:/RDirectory/NHANES/PFQ_H.xpt"             
[46] "D:/RDirectory/NHANES/SMQ_H.xpt"             
[47] "D:/RDirectory/NHANES/TCHOL_H.xpt"           
[48] "D:/RDirectory/NHANES/TRIGLY_H.xpt"          
[1] "D:/RDirectory/NHANES/05-10,15-16/BMX_D.xpt" 
[2] "D:/RDirectory/NHANES/05-10,15-16/BPX_D.xpt" 
[3] "D:/RDirectory/NHANES/05-10,15-16/DEMO_D.xpt"
[4] "D:/RDirectory/NHANES/05-10,15-16/GHB_D.xpt" 
[5] "D:/RDirectory/NHANES/05-10,15-16/GLU_D.xpt" 
[1] "D:/RDirectory/NHANES/05-10,15-16/BMX_E.xpt" 
[2] "D:/RDirectory/NHANES/05-10,15-16/BPX_E.xpt" 
[3] "D:/RDirectory/NHANES/05-10,15-16/DEMO_E.xpt"
[4] "D:/RDirectory/NHANES/05-10,15-16/GHB_E.xpt" 
[5] "D:/RDirectory/NHANES/05-10,15-16/GLU_E.xpt" 
[1] "D:/RDirectory/NHANES/05-10,15-16/BMX_F.xpt" 
[2] "D:/RDirectory/NHANES/05-10,15-16/BPX_F.xpt" 
[3] "D:/RDirectory/NHANES/05-10,15-16/DEMO_F.xpt"
[4] "D:/RDirectory/NHANES/05-10,15-16/GHB_F.xpt" 
[5] "D:/RDirectory/NHANES/05-10,15-16/GLU_F.xpt" 
[1] "D:/RDirectory/NHANES/BMX_G.xpt"  "D:/RDirectory/NHANES/BPX_G.xpt" 
[3] "D:/RDirectory/NHANES/DEMO_G.xpt" "D:/RDirectory/NHANES/GHB_G.xpt" 
[5] "D:/RDirectory/NHANES/GLU_G.xpt" 
[1] "D:/RDirectory/NHANES/05-10,15-16/INS_I.xpt"
[2] "D:/RDirectory/NHANES/BMX_H.xpt"            
[3] "D:/RDirectory/NHANES/BPX_H.xpt"            
[4] "D:/RDirectory/NHANES/DEMO_H.xpt"           
[5] "D:/RDirectory/NHANES/GHB_H.xpt"            
[6] "D:/RDirectory/NHANES/GLU_H.xpt"            
[1] "D:/RDirectory/NHANES/05-10,15-16/BMX_I.xpt" 
[2] "D:/RDirectory/NHANES/05-10,15-16/BPX_I.xpt" 
[3] "D:/RDirectory/NHANES/05-10,15-16/DEMO_I.xpt"
[4] "D:/RDirectory/NHANES/05-10,15-16/GHB_I.xpt" 
[5] "D:/RDirectory/NHANES/05-10,15-16/GLU_I.xpt" 
[6] "D:/RDirectory/NHANES/05-10,15-16/INS_I.xpt" 
[1] "SEQN"         "ELIGSTAT"     "MORTSTAT"     "UCOD_LEADING" "DIABETES"    
[6] "HYPERTEN"     "PERMTH_INT"   "PERMTH_EXM"   "TIME"        
Call:
coxph(formula = Surv(MORTMONTH, MORTSTAT) ~ prediabetic_label, 
    data = prediabetic_labeled_data)

  n= 10805, number of events= 1098 

                      coef exp(coef) se(coef)     z Pr(>|z|)    
prediabetic_label1 0.79648   2.21772  0.06831 11.66   <2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

                   exp(coef) exp(-coef) lower .95 upper .95
prediabetic_label1     2.218     0.4509      1.94     2.535

Concordance= 0.564  (se = 0.007 )
Likelihood ratio test= 118.6  on 1 df,   p=<2e-16
Wald test            = 136  on 1 df,   p=<2e-16
Score (logrank) test = 143.3  on 1 df,   p=<2e-16

Call:
coxph(formula = Surv(MORTMONTH, MORTSTAT) ~ RIAGENDR, data = prediabetic_labeled_data)

  n= 10805, number of events= 1098 

             coef exp(coef) se(coef)      z Pr(>|z|)    
RIAGENDR -0.37647   0.68628  0.06101 -6.171  6.8e-10 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

         exp(coef) exp(-coef) lower .95 upper .95
RIAGENDR    0.6863      1.457    0.6089    0.7734

Concordance= 0.552  (se = 0.008 )
Likelihood ratio test= 38.56  on 1 df,   p=5e-10
Wald test            = 38.08  on 1 df,   p=7e-10
Score (logrank) test = 38.53  on 1 df,   p=5e-10

Call:
coxph(formula = Surv(MORTMONTH, MORTSTAT) ~ LBXGLU, data = prediabetic_labeled_data)

  n= 10805, number of events= 1098 

           coef exp(coef) se(coef)     z Pr(>|z|)    
LBXGLU 0.035713  1.036359 0.002809 12.71   <2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

       exp(coef) exp(-coef) lower .95 upper .95
LBXGLU     1.036     0.9649     1.031     1.042

Concordance= 0.606  (se = 0.009 )
Likelihood ratio test= 160.3  on 1 df,   p=<2e-16
Wald test            = 161.6  on 1 df,   p=<2e-16
Score (logrank) test = 161.1  on 1 df,   p=<2e-16

Call:
coxph(formula = Surv(MORTMONTH, MORTSTAT) ~ LBDINSI, data = prediabetic_labeled_data)

  n= 10805, number of events= 1098 

              coef  exp(coef)   se(coef)      z Pr(>|z|)
LBDINSI -0.0004703  0.9995298  0.0005098 -0.923    0.356

        exp(coef) exp(-coef) lower .95 upper .95
LBDINSI    0.9995          1    0.9985     1.001

Concordance= 0.517  (se = 0.01 )
Likelihood ratio test= 0.88  on 1 df,   p=0.3
Wald test            = 0.85  on 1 df,   p=0.4
Score (logrank) test = 0.85  on 1 df,   p=0.4

Call:
coxph(formula = Surv(MORTMONTH, MORTSTAT) ~ LBXGH, data = prediabetic_labeled_data)

  n= 10805, number of events= 1098 

         coef exp(coef) se(coef)     z Pr(>|z|)    
LBXGH 0.70003   2.01382  0.03582 19.54   <2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

      exp(coef) exp(-coef) lower .95 upper .95
LBXGH     2.014     0.4966     1.877      2.16

Concordance= 0.649  (se = 0.009 )
Likelihood ratio test= 243.8  on 1 df,   p=<2e-16
Wald test            = 382  on 1 df,   p=<2e-16
Score (logrank) test = 335.9  on 1 df,   p=<2e-16

Call:
coxph(formula = Surv(MORTMONTH, MORTSTAT) ~ BMXBMI, data = prediabetic_labeled_data)

  n= 10805, number of events= 1098 

            coef exp(coef)  se(coef)      z Pr(>|z|)  
BMXBMI -0.008865  0.991175  0.004801 -1.846   0.0648 .
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

       exp(coef) exp(-coef) lower .95 upper .95
BMXBMI    0.9912      1.009    0.9819     1.001

Concordance= 0.52  (se = 0.009 )
Likelihood ratio test= 3.5  on 1 df,   p=0.06
Wald test            = 3.41  on 1 df,   p=0.06
Score (logrank) test = 3.4  on 1 df,   p=0.07

Call:
coxph(formula = Surv(MORTMONTH, MORTSTAT) ~ DBP_mean, data = prediabetic_labeled_data)

  n= 10805, number of events= 1098 

             coef exp(coef) se(coef)      z Pr(>|z|)    
DBP_mean -0.02324   0.97703  0.00203 -11.45   <2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

         exp(coef) exp(-coef) lower .95 upper .95
DBP_mean     0.977      1.024    0.9731    0.9809

Concordance= 0.587  (se = 0.01 )
Likelihood ratio test= 114.3  on 1 df,   p=<2e-16
Wald test            = 131.1  on 1 df,   p=<2e-16
Score (logrank) test = 125.8  on 1 df,   p=<2e-16


    Shapiro-Wilk normality test

data:  group_1
W = 0.60339, p-value < 2.2e-16

    Shapiro-Wilk normality test

data:  group_0
W = 0.76122, p-value < 2.2e-16

    F test to compare two variances

data:  group_1 and group_0
F = 3.7016, num df = 1684, denom df = 1684, p-value < 2.2e-16
alternative hypothesis: true ratio of variances is not equal to 1
95 percent confidence interval:
 3.364269 4.072760
sample estimates:
ratio of variances 
          3.701602 

    Wilcoxon rank sum test with continuity correction

data:  group_1 and group_0
W = 1917168, p-value < 2.2e-16
alternative hypothesis: true location shift is not equal to 0
[1] 1.582008
     25%      50%      75% 
1.500000 1.566038 1.554217 

Rows: 10,805
Columns: 8
$ prediabetic_label <fct> 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0…
$ LBXGH             <dbl> 6.0, 5.9, 5.0, 5.8, 4.6, 4.9, 5.9, 7.3, 5.9, 5.5, 4.…
$ BMXBMI            <dbl> 31, 31, 29, 30, 39, 26, 22, 30, 34, 20, 26, 27, 23, …
$ LBDINSI           <dbl> 60, 87, 23, 36, 126, 39, 19, 254, 57, 33, 44, 27, 20…
$ RIAGENDR          <fct> 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 2, 2…
$ RIDAGEYR          <dbl> 44, 73, 79, 59, 44, 38, 71, 71, 37, 18, 33, 51, 73, …
$ DBP_mean          <dbl> 73, 67, 75, 73, 79, 63, 73, 55, 76, 78, 64, 75, 63, …
$ SBP_mean          <dbl> 139, 120, 137, 139, 121, 125, 146, 101, 143, 119, 10…
<TaskClassif:task_data> (10805 x 8)
* Target: prediabetic_label
* Properties: twoclass
* Features (7):
  - dbl (6): BMXBMI, DBP_mean, LBDINSI, LBXGH, RIDAGEYR, SBP_mean
  - fct (1): RIAGENDR
prediabetic_label            BMXBMI          DBP_mean           LBDINSI 
                0                 0                 0                 0 
            LBXGH          RIAGENDR          RIDAGEYR          SBP_mean 
                0                 0                 0                 0 

[1] "predy"                "calibrated.orig"      "calibrated.corrected"
[4] "index.orig"           "training"             "test"                
[7] "optimism"             "index.corrected"      "n"                   

INFO  [01:54:57.557] [mlr3] Running benchmark with 30 resampling iterations
INFO  [01:54:57.592] [mlr3] Applying learner 'classif.log_reg' on task 'task_data' (iter 1/5)
INFO  [01:54:57.637] [mlr3] Applying learner 'classif.log_reg' on task 'task_data' (iter 2/5)
INFO  [01:54:57.678] [mlr3] Applying learner 'classif.log_reg' on task 'task_data' (iter 3/5)
INFO  [01:54:57.723] [mlr3] Applying learner 'classif.log_reg' on task 'task_data' (iter 4/5)
INFO  [01:54:57.782] [mlr3] Applying learner 'classif.log_reg' on task 'task_data' (iter 5/5)
INFO  [01:54:57.822] [mlr3] Applying learner 'classif.ranger' on task 'task_data' (iter 1/5)
INFO  [01:55:04.738] [mlr3] Applying learner 'classif.ranger' on task 'task_data' (iter 2/5)
INFO  [01:55:11.733] [mlr3] Applying learner 'classif.ranger' on task 'task_data' (iter 3/5)
INFO  [01:55:18.653] [mlr3] Applying learner 'classif.ranger' on task 'task_data' (iter 4/5)
INFO  [01:55:25.926] [mlr3] Applying learner 'classif.ranger' on task 'task_data' (iter 5/5)
INFO  [01:55:33.193] [mlr3] Applying learner 'classif.svm' on task 'task_data' (iter 1/5)
INFO  [01:55:41.089] [mlr3] Applying learner 'classif.svm' on task 'task_data' (iter 2/5)
INFO  [01:55:49.193] [mlr3] Applying learner 'classif.svm' on task 'task_data' (iter 3/5)
INFO  [01:55:57.105] [mlr3] Applying learner 'classif.svm' on task 'task_data' (iter 4/5)
INFO  [01:56:04.938] [mlr3] Applying learner 'classif.svm' on task 'task_data' (iter 5/5)
INFO  [01:56:12.760] [mlr3] Applying learner 'classif.rpart' on task 'task_data' (iter 1/5)
INFO  [01:56:12.843] [mlr3] Applying learner 'classif.rpart' on task 'task_data' (iter 2/5)
INFO  [01:56:12.927] [mlr3] Applying learner 'classif.rpart' on task 'task_data' (iter 3/5)
INFO  [01:56:13.010] [mlr3] Applying learner 'classif.rpart' on task 'task_data' (iter 4/5)
INFO  [01:56:13.092] [mlr3] Applying learner 'classif.rpart' on task 'task_data' (iter 5/5)
INFO  [01:56:13.177] [mlr3] Applying learner 'classif.kknn' on task 'task_data' (iter 1/5)
INFO  [01:56:13.480] [mlr3] Applying learner 'classif.kknn' on task 'task_data' (iter 2/5)
INFO  [01:56:13.790] [mlr3] Applying learner 'classif.kknn' on task 'task_data' (iter 3/5)
INFO  [01:56:14.113] [mlr3] Applying learner 'classif.kknn' on task 'task_data' (iter 4/5)
INFO  [01:56:14.428] [mlr3] Applying learner 'classif.kknn' on task 'task_data' (iter 5/5)
INFO  [01:56:14.726] [mlr3] Applying learner 'classif.xgboost' on task 'task_data' (iter 1/5)
INFO  [01:56:15.243] [mlr3] Applying learner 'classif.xgboost' on task 'task_data' (iter 2/5)
INFO  [01:56:15.757] [mlr3] Applying learner 'classif.xgboost' on task 'task_data' (iter 3/5)
INFO  [01:56:16.276] [mlr3] Applying learner 'classif.xgboost' on task 'task_data' (iter 4/5)
INFO  [01:56:16.794] [mlr3] Applying learner 'classif.xgboost' on task 'task_data' (iter 5/5)
INFO  [01:56:17.334] [mlr3] Finished benchmark

INFO  [01:56:30.856] [mlr3] Running benchmark with 6 resampling iterations
INFO  [01:56:30.869] [mlr3] Applying learner 'classif.log_reg' on task 'task_data' (iter 1/1)
INFO  [01:56:30.916] [mlr3] Applying learner 'classif.ranger' on task 'task_data' (iter 1/1)
INFO  [01:56:38.355] [mlr3] Applying learner 'classif.svm' on task 'task_data' (iter 1/1)
INFO  [01:56:44.610] [mlr3] Applying learner 'classif.rpart' on task 'task_data' (iter 1/1)
INFO  [01:56:44.673] [mlr3] Applying learner 'classif.kknn' on task 'task_data' (iter 1/1)
INFO  [01:56:44.858] [mlr3] Applying learner 'classif.xgboost' on task 'task_data' (iter 1/1)
INFO  [01:56:45.370] [mlr3] Finished benchmark