prevsim: Simulated patient dataset.

Description Usage Format Details

Description

A dataset in the format of a disease registry, where the outcome being modelled is death due to the simulated disease. The registry began in January 2003, with 1000 incident cases being recorded over a period of nearly exactly ten years. The patients are followed up for a further two years until 17.03.2015, at which point any subjects alive are marked as right censored.

Usage

1

Format

A data frame with 1000 rows and 6 columns:

time

time between date of diagnosis and death or censorship in days

status

event marker; 1 if patient is deceased and 0 if alive or censored

age

age in years at point of entry into the registry

sex

string with values 'M' and 'F'

entrydate

date of entry into the registry in YYYY-MM-DD format

eventdate

date of death or censorship in YYYY-MM-DD format

Details

Demographic and disease-specific data required for prevalence estimations are included, such as sex, age, and dates of entry and event. eventdate marks the date of the last known follow-up with the patient, corresponding to death (status = 1) or censorship (status = 0).


rprev documentation built on May 4, 2021, 5:08 p.m.