surgerydat {cgrcusum} | R Documentation |

Data about patients and their surgery procedure from 30 simulated hospitals with patient arrivals in the first 400 days after the start of the study.

Patient failure times are exponentially distributed with exponential hazard rate `h_0(t, \lambda) e^\mu`

. Some hospitals have an increased failure rate:

Hospitals 1-15:

`e^\mu = 1`

Hospitals 16-30:

`e^\mu = 2`

which means that the hazard rate at hospitals 16-30 is twice higher than exponential(`\lambda`

).

The arrival rate `\psi`

of patients at a hospital differs. The arrival rates are:

Hospitals 1-5 & 16-20: 0.5 patients per day

Hospitals 6-10 & 21-25: 1 patient per day

Hospitals 11-15 & 26-30: 1.5 patients per day

These are then respectively small, medium and large hospitals.

```
surgerydat
```

A `data.frame`

with 12010 rows and 9 variables:

- entrytime
numeric Time of entry of patient into study

- survtime
numeric Time from entry until failure of patient

- censorid
integer Censoring indicator (0 - right censored, 1 - observed)

- Hosp_num
integer Hospital number at which patient received treatment

- expmu
numeric True excess hazard used for generating patient survival

- psival
numeric Poisson arrival rate at hospital which the patient was at

- age
numeric Age of the patient

- sex
factor Sex of the patient

- BMI
numeric Body mass index of the patient

[Package *cgrcusum* version 0.1.0 Index]