Table 2 Hematological parameters in bacterial and viral infections in training and validation cohorts.

From: Leveraging machine learning to distinguish between bacterial and viral induced pharyngitis using hematological markers: a retrospective cohort study

Characteristics

Training cohort

Validation cohort

Bacterial infection (n = 55)

Viral infection (n = 56)

p value

Bacterial infection (n = 19)

Viral infection (n = 18)

p value

Sex, n (%)

 Female

31 (27.9%)

31 (27.9%)

0.915

10 (27%)

7 (18.9%)

0.515

 Male

24 (21.6%)

25 (22.5%)

9 (24.3%)

11 (29.7%)

AgeGroup, n (%)

 18 ~ 34y

32 (28.8%)

25 (22.5%)

0.590

11 (29.7%)

10 (27%)

1.000

 35 ~ 54y

13 (11.7%)

20 (18%)

6 (16.2%)

7 (18.9%)

 65 ~ 74y

5 (4.5%)

7 (6.3%)

1 (2.7%)

0 (0%)

 55 ~ 64y

4 (3.6%)

3 (2.7%)

1 (2.7%)

0 (0%)

 75 ~ 84y

1 (0.9%)

1 (0.9%)

0 (0%)

1 (2.7%)

Type, n (%)

 Outpatient

51 (45.9%)

53 (47.7%)

0.980

17 (45.9%)

17 (45.9%)

1.000

 Inpatient

4 (3.6%)

3 (2.7%)

2 (5.4%)

1 (2.7%)

RBC, mean ± sd

4.6602 ± 0.59088

4.8616 ± 0.547

0.065

4.6 (4.365, 4.9)

5.23 (4.7725, 5.555)

0.053

HGB, mean ± sd

138.44 ± 16.049

146.88 ± 19.301

0.014

137.95 ± 13.571

147.28 ± 26.479

0.193

WBC, median (IQR)

10 (8.415, 11.52)

9.04 (4.935, 10.58)

0.017

9.37 (7.93, 11.085)

9.755 (3.6825, 11.232)

0.533

NEU, median (IQR)

7.46 (6.35, 8.355)

4.94 (2, 6.51)

 < 0.01

6.91 (6.3, 8.08)

6.09 (2.1325, 6.955)

0.018

NEUp, median (IQR)

76.3 (73, 81.45)

56.85 (51.175, 62.25)

 < 0.01

77.779 ± 6.4076

59.372 ± 13.63

 < 0.01

MONO, median (IQR)

0.55 (0.375, 0.63)

0.455 (0.3175, 0.57)

0.137

0.49579 ± 0.20815

0.48 ± 0.21647

0.822

MONOp, median (IQR)

5.3 (4.2, 6.45)

5.75 (4.85, 6.95)

0.053

5.2 (4.3, 6.5)

6.2 (5.15, 6.55)

0.201

LYM, median (IQR)

1.66 (1.015, 2.065)

3.08 (1.8425, 3.475)

 < 0.01

1.45 (1.02, 2.07)

2.065 (1.195, 3.495)

0.086

LYMp, median (IQR)

16.2 (12.05, 19)

34.5 (29.4, 39.575)

 < 0.01

15.826 ± 5.4765

31.461 ± 13.564

 < 0.01

PLT, mean ± sd

258.4 ± 64.522

259.05 ± 75.76

0.961

262.37 ± 43.69

245.28 ± 75.568

0.410

MPV, median (IQR)

9 (8.5, 9.5)

9.1 (8.6, 9.8)

0.224

8.9316 ± 0.70636

8.95 ± 0.92498

0.946

logMLR, median (IQR)

-1.0782 (-1.3508, -0.84269)

-1.8133 (-1.9973, -1.3744)

 < 0.01

− 1.1307 ± 0.44905

− 1.5568 ± 0.45629

 < 0.01

logNLR, median (IQR)

1.5529 (1.316, 1.8971)

0.50511 (0.28874, 0.75537)

 < 0.01

1.6467 ± 0.43002

0.69269 ± 0.68404

 < 0.01

logPLR, mean ± sd

5.1281 ± 0.42824

4.585 ± 0.51646

 < 0.01

5.2478 ± 0.44374

4.7693 ± 0.73847

0.022

logMPVLR, mean ± sd

1.8156 ± 0.48449

1.3021 ± 0.55645

 < 0.01

1.8786 ± 0.49013

1.4979 ± 0.6658

0.055

  1. This table summarizes the hematological parameters and their logarithmically transformed ratios for both bacterial and viral infections in the training and validation cohorts. Variables include red blood cell count (RBC), hemoglobin (HGB), white blood cell count (WBC), neutrophils (NEU), monocytes (MONO), lymphocytes (LYM), platelets (PLT), mean platelet volume (MPV), monocyte to lymphocyte ratio (logMLR), neutrophil to lymphocyte ratio (logNLR), platelet to lymphocyte ratio (logPLR), and mean platelet volume to lymphocyte ratio (logMPVLR). Significance levels (p-values) are reported for each variable, with < 0.05 considered significant.