Synthetic dataset comparing glucose measurements from two analytical methods:
a reference hexokinase-based laboratory analyzer and a point-of-care (POC)
glucose meter. The data mimics realistic patterns observed in clinical
laboratory method validation studies.
Usage
glucose_methods
Arguments
Format
A data frame with 60 observations and 3 variables:
sample_id
Character. Unique sample identifier.
reference
Numeric. Glucose concentration (mg/dL) measured by the
reference hexokinase method.
poc_meter
Numeric. Glucose concentration (mg/dL) measured by the
point-of-care glucose meter.
Details
This synthetic dataset was designed to illustrate common patterns in glucose
method comparisons:
Concentration range: 50-350 mg/dL, covering hypoglycemia through
severe hyperglycemia
Bias pattern: The POC meter shows a small positive bias (~3-5 mg/dL)
with slight proportional error at higher concentrations
Precision: Reference method CV ~2.5%, POC meter CV ~4.5%
The data is suitable for demonstrating Bland-Altman analysis, Passing-Bablok
regression, and other method comparison techniques.
# Bland-Altman analysisba <- ba_analysis(reference ~ poc_meter, data = glucose_methods)
summary(ba)
plot(ba)
# Check for proportional biasplot(ba, title = "POC Glucose Meter vs Reference")