Skip to main content

Table 3 Baseline features of the dataset

From: A study on predicting the length of hospital stay for Chinese patients with ischemic stroke based on the XGBoost algorithm

Variables

Value

Length of stay (LOS)

P-value

1–7 days (n = 4133)

8–14 days (n = 11624)

More than 14 days (n = 2402)

BMI

22.76

23.57

24.39

.000***

Age

56

60

62

.000***

Sex

Male

2127

6112

1566

.000***

Female

2006

5512

836

Marriage status

Married

4015

11316

2345

.004**

Unmarried

89

184

25

Divorced or widowed

29

124

32

Occupation

Civil servant

54

90

31

.000***

Personnel of enterprises and institutions

236

471

84

Worker

139

360

77

Farmer

2957

7592

1617

Retiree

448

2141

419

Student

37

74

4

Individual household

33

115

17

Others

229

781

153

Hospital payment method

Basic medical insurance for urban employees

849

3073

609

.000***

Health insurance for urban and rural residents

2965

7757

1628

Commercial medical insurance

292

732

151

Others

27

62

14

Basic medical insurance for urban employees

849

3073

609

Health insurance for urbanand rural residents

2965

7757

1628

Commercial medical insurance

292

732

151

Smoking history

No

2837

8066

1457

.000***

Yes

1296

3558

945

Transient ischemic attack (TIA)

No

1661

6675

2204

.000***

Yes

2472

4949

198

Hypertension

No

2192

4319

702

.000***

Yes

1941

7305

1700

Hyperlipidemia

No

3419

9562

2053

.001**

Yes

714

2062

349

Diabetes

No

3662

9386

1658

.000***

Yes

471

2238

744

Coronary heart disease

No

3605

9557

1785

.000***

Yes

528

2067

617

Peripheral arterial disease

No

3097

7570

1353

.000***

Yes

1036

4054

1049

Atrial fibrillation

No

4107

11468

2315

.000***

Yes

26

156

87

Hyper homocysteinemia

No

3708

10171

2136

.000***

Yes

425

1453

266

Epilepsy

No

4028

11480

2337

.000***

Yes

105

144

65

Admission MRS

1

1

2

.000***

Admission NIHSS

9.20

12.21

15.23

.000***

Coma index

15

15

15

> 0.05

Cognitive impairment

No

4078

11567

2392

.000***

Yes

55

57

10

Hemiplegia aphasia

No

4128

11616

2302

.000***

Yes

5

8

100

Trauma

No

4109

11592

2376

.000***

Yes

24

32

26

Respiratory infection

No

3899

10817

2061

.000***

Yes

234

807

341

Dizziness

No

3678

11172

2374

.000***

Yes

455

452

28

Whether it critical or not

No

4108

11595

2336

.000***

Yes

25

29

66

Admission path

Outpatient

3760

10387

2022

.000***

Hospital transfer

370

1230

377

Operation or not

No

4122

11567

2215

.000***

Yes

11

57

187

Postoperative sequelae

No

3712

9981

1979

.000***

Yes

421

1643

423

  1. **P < 0.01; ***P < 0.001