modelbuilder_test_data: Model Builder Test Data

modelbuilder_test_dataR Documentation

Model Builder Test Data

Description

A dataset for testing and developing predictive models, particularly for cardiovascular events. It contains patient demographics, clinical risk factors, lab values, and an outcome variable.

Usage

data(modelbuilder_test_data)

Format

A data frame with 600 rows and 16 variables:

patient_id

Character. Unique patient identifier.

hospital

Character. Hospital or study center identifier.

age

Integer. Patient's age in years.

sex

Character. Patient's sex (e.g., "Male", "Female").

diabetes

Character. Diabetes status (e.g., "Yes", "No").

hypertension

Character. Hypertension status (e.g., "Yes", "No").

smoking

Character. Smoking status (e.g., "Yes", "No", "Former").

cholesterol

Integer. Total cholesterol level.

bmi

Numeric. Body Mass Index.

systolic_bp

Integer. Systolic blood pressure.

family_history

Character. Family history of cardiovascular disease (e.g., "Yes", "No").

troponin

Numeric. Cardiac troponin level.

creatinine

Numeric. Serum creatinine level.

cardiovascular_event

Character. Outcome variable indicating if a cardiovascular event occurred (e.g., "Yes", "No").

true_risk

Numeric. A simulated true underlying risk score for the patient.

risk_category

Character. A pre-calculated risk category based on certain criteria.

Examples

data(modelbuilder_test_data)
str(modelbuilder_test_data)
head(modelbuilder_test_data)
summary(modelbuilder_test_data$bmi)
table(modelbuilder_test_data$cardiovascular_event)

sbalci/ClinicoPathJamoviModule documentation built on June 13, 2025, 9:34 a.m.