In this vignette, you’ll find a description of the changes that have been made to the OSDC algorithm since its original validation. The osdc package uses the latest changes to the algorithm. Potential changes to the algorithm, rather than the specific implementation and code details, that we might in the future will also be described in this vignette. We will also provide validation metrics here whenever we make a change, and track these validations over the different versions.
The validity of the OSDC algorithm is tested against self-reported diabetes type in the Health in Central Denmark survey. The results are reported as overall PPV (positive predictive value) and sensitivity for each version of the algorithm and within subsets of the diabetes population reporting onset of diabetes before or after age 40, respectively, similar to tables 1 & 2 of the original validation paper [@Isaksen2023].
This uses the same data as the original validation paper and provides a direct comparison to the original implementation.
| Version | Diabetes type | PPV | Sensitivity |
|---|---|---|---|
| Paper | T1D | 0.943 | 0.773 |
| Paper | T1D >40 yrs | 0.708 | 0.378 |
| Paper | T2D | 0.875 | 0.944 |
| Paper | T2D <40 yrs | 0.471 | 0.863 |
| Version | Diabetes type | PPV | Sensitivity |
|---|---|---|---|
| 1.0 | T1D | 0.944 | 0.783 |
| 1.0 | T1D >40 yrs | 0.708 | 0.378 |
| 1.0 | T2D | 0.879 | 0.944 |
| 1.0 | T2D <40 yrs | 0.480 | 0.863 |
Corresponds to supplementary table S3 of the validation paper.
| Version | Diabetes type | Sensitivity | Specificity | PPV | NPV |
|---|---|---|---|---|---|
| Paper | T1D | 0.774 | 0.999 | 0.951 | 0.997 |
| Paper | T2D | 0.943 | 0.989 | 0.878 | 0.995 |
| Version | Diabetes type | Sensitivity | Specificity | PPV | NPV |
|---|---|---|---|---|---|
| 1.0 | T1D | 0.788 | 0.999 | 0.947 | 0.997 |
| 1.0 | T2D | 0.940 | 0.990 | 0.881 | 0.995 |
This section will contain metrics from validation performed in subsequent survey waves of Health in Central Denmark, as this data becomes available.