Skip to main content

Table 1 Patient demographics with and without the primary outcome (length of stay > 4 days or readmissions due to “medical” morbidity) in the combined test and training dataset

From: Machine-learning vs. logistic regression for preoperative prediction of medical morbidity after fast-track hip and knee arthroplasty—a comparative study

Preoperative characteristics n (%) unless otherwise specified

training set (n:18,013)

test set (n:3913)

Mean age (SD)

69.0 (62.0–75.0)

70.0 (62.0–76.0)

Mean number of reimbursed prescriptionsa (SD)

2.0 (0.0–3.0)

2.0 (0.0–3.0)

Female gender

755 (64.0)

12,133 (58.2)

Hip arthroplasty

9918 (54.8)

2260 (57.8)

Mean weight in kg (SD)

80.5 (70.0–93.0)

81.0 (70.0–92.0)

Mean height in cm (SD)

170.0 (164.0–177.0)

170.0 (164.0–177.0)

Mean body mass index (SD)

27.5 (24.6–31.2)

27.5 (24.6–31.1)

Regular use of walking aid

552 (46.8)

4398 (21.5)

Missing

29 (2.5)

359 (1.7)

Living alone

5914 (32.9)

1381 (35.7)

With others

11,971 (66.5)

2469 (63.8)

Institution

116 (0.6)

21 (0.5)

Missing

12 (0.6)

42 (1.1)

Hemoglobin (SD)

8.6 (8.1–9.1)

8.6 (8.1–9.2)

Missing

291 (1.5)

55 (1.4)

 > 2 units of alcohol/day

1382 (7.7)

286 (7.4)

Missing

57 (0.8)

36 (0.9)

Active smoker

130 (11.0)

2751 (13.2)

Missing

11 (0.9)

141 (0.7)

Cardiac disease

2527 (14.0)

529 (13.7)

Missing

17 (0.6)

53 (1.4)

Hypercholesterolemia

5396 (29.9%)

1133 (29.3%)

Missing

83 (0.5)

44 (1.2)

Hypertension

9030 (51.4)

1849 (49.5)

Missing

546 (3.0)

179 (4.6)

Pulmonary disease

1668 (9.2)

355 (9.2)

Missing

63 (0.4)

38 (1.0)

Previous cerebral attack

1038 (5.8)

213 (5.6)

Missing

157 (1.3)

77 (2.0)

Previous VTE

1331 (7.5)

283 (7.4)

Missing

283 (1.6)

66 (1.7)

Malignancy (undefined)

1469 (8.1)

134 (3.4)

Previous radically treated malignancy

1752 (9.7)

440 (11.2)

Missing

136 (0.8)

40 (1.0)

Chronic kidney disease

266 (1.5)

57 (1.5)

Missing

276 (1.5)

50 (1.3)

Family member with VTE

2235 (14.1)

430 (12.5)

Missing

2189 (12.6)

479 (12.2)

Regular snoring

266 (22.5)

5522 (26.5)

Uncertain about snoring

208 (17.6)

3781 (18.1)

Missing

259 (21.9)

3309 (15.9)

Not feeling rested

7272 (42.4)

9340 (44.8)

Uncertain about being rested

48 (4.1)

809 (3.9)

Missing

105 (8.9)

1230 (5.9)

Psychiatric disorder

1464 (8.4)

282 (7.6)

Missing

580 (3.2)

182 (4.7)

Characteristic based on combination of questionnaire and DNDRP

Diabetes

Diet treated diabetesb

251 (1.4)

52 (1.3)

Oral antidiabetics

1294 (7.2)

291 (7.5)

Insulin treated diabetesc

405 (2.2)

68 (1.8)

Missing

68 (0.4)

36 (0.9)

  1. SD standard deviation, VTE venous thromboembolic event, DNDRP Danish National Database of Reimbursed Prescriptions
  2. aAntirheumatica, steroids, anticoagulants, cardiac, cholesterol lowering, respiratory and psychotropic drugs
  3. bReported diabetes but no registered prescriptions
  4. c ± oral antidiabetics