Table 4.
Accuracy and F1 scores of fibromyalgia medication-prediction models that were trained and tested using the Medical Expenditure Panel Survey dataset. Models were created for varying medication refill–adherence thresholds.
| MRAa threshold (%) | Patients in the training dataset, n (%) | Patients in the testing dataset, n (%) | Model accuracy (%) | F1 score |
| 80 | 1143 (80) | 285 (20) | 70.2 | 72.5 |
| 65 | 1450 (80) | 362 (20) | 69.9 | 70.0 |
| 45 | 2103 (80) | 525 (20) | 73.0 | 74.6 |
| 35 | 2436 (80) | 609 (20) | 76.2 | 77.1 |
aMRA: medication-refill adherence.