Skip to main content

Table 2 Comparation of baseline characteristics between training dataset and validation dataset

From: Development and validation of inpatient mortality prediction models for patients with hyperglycemic crisis using machine learning approaches

Variable

Training N = 1335 (80%)

Testing N = 333 (20%)

P-value£

Sex(%)

   Man

697 (52.2)

182 (54.7)

0.460

   Women

638 (47.8)

51 (45.3)

Age(years)

57 (45, 69)

59 (48, 69)

0.176

Length of stay(days)

9 (6, 13)

9 (6, 13)

0.460

Type of diabetes(%)

   Type 1 diabetes

138 (10.3)

24 (7.2)

0.105

   Type 2 diabetes

1197 (89.7)

309 (92.8)

Course of diabetes

4 (1, 10)

4 (0, 10)

0.770

Infection(%)

365 (27.3)

90 (27.0)

0.963

Mechanical ventilation(%)

80 (6.0)

27 (8.1)

0.199

Hypoglycemia(%)

79 (5.9)

18 (5.4)

0.821

Hypokalemia(%)

442 (33.1)

104 (31.2)

0.557

MSOF(%)

51(3.8)

15 (4.5)

0.678

AKI(%)

49 (3.7)

16 (4.8)

0.425

First 24 h insulin dosage

30 (10, 44)

40 (30, 55)

0.140

First 24 h infusion volume

3300 (2100, 5400)

3000 (2000, 5000)

0.155

BMI

22.9 (20.9, 24.5)

23 (21, 25.2)

0.220

CCI

3 (2, 4)

3 (2, 4)

0.113

Hyperglycemic crisis type(%)

   DKA

1097 (82.2)

282 (84.7)

0.147

   HHS

95 (7.1)

27 (8.1)

   DKA&HHS

143 (10.7)

24 (7.2)

Glucose level before treatment

23 (18, 30.5)

23.2 (18.3, 30.4)

0.981

   HbA1c

11.2 (9.76, 13.1)

11.3 (10, 13)

0.968

   pH

7.29 (7.21, 7.3)

7.28 (7.21, 7.3)

0.539

   ABE

-8.7 (-16.6, -3.15)

-9.1 (-16.4, -3)

0.966

   AB

15.2 (10, 20.0)

15.3 (10, 20.8)

0.897

   AG

17 (13.8, 21.8)

17 (14, 20.2)

0.954

   Crea

66 (51, 94.9)

66.7 (51.6, 93.7)

0.729

   Na+

138 (135, 141)

138 (135, 141)

0.453

   K+

4.02 (3.70, 4.5)

4.1 (3.72, 4.5)

0.357

   EPOP

306 (299, 316)

306 (300, 315)

0.989

   Inpatient death

99 (7.4%)

22 (6.6%)

0.6957

  1. Categorical data are presented as n (%),and continuous data as median (interquartile ranges); DKA: diabetic ketoacidosis; HHS: hyperglycemic hyperosmolar state; MSOF: multiple system organ failure; AKI: acute kidney injury; BMI: body mass index; CCI: charlson comorbidity index;
  2. ABE: actual base excess; AB: actual bicarbonate; AG: anion gap; EPOP: Effective plasma osmotic pressure; £:based on univariate analysis