vdra_data: Simulated data from a weight loss study.

Description Usage Format

Description

Simulated data based on a weight loss study performed by Harvard School of Medicine. The original study was looking for comorbidities to predict weight loss / weight gain in obese subjects. The various outcomes in this simulated data set don't really correlate to each other. The purpose of this simulated data set is to illustrate the funcationality of the package, not to draw valid statistical inferences.

Usage

1

Format

Change_BMI: Continuous response used for linear regression.
WtLost: Binary response used for logistic regression.
Time: Used for time to event in Cox regression. Continuous. Ranges from 1 to 459.
Status: Used for censoring in Cox regression. A binary categroical variable.
Exposure: A binary categorical variable.
Age: A continuous variable ranging from 3 to 80.
ComorbidScore: A ordinal variable with 11 variables: 0 to 10.
NumRx: A ordinal varible with 15 levels: -2 to 12.
BMI_pre: A continuous variable ranging from 35.01 to 92.79.
Race: A factor with 6 levels: "Race 0" to "Race 5".
Sex: A binary factor with 2 levels: M and F.

vdra documentation built on Sept. 9, 2021, 9:10 a.m.