# Clustering of a Health Dataset Using Diagnosis Co-Occurrences
## 3 Results
### Sensitivity Analysis  
A sensitivity analysis on a ten times shorter period, that is a nine-week period going from 2 December 2018 to 27 January 2019 during the winter epidemics, was performed to show the robustness of the algorithm regarding the duration of design period. A total of 9796 visits were depicted and filtered to 9317 after excluding 66 out of the 162 blocks (leading to 96 blocks) that had number of occurrences below 10. The HAC-cooc rule (b) approach found an optimal MR of 2.37 (1.72/0.73) at 26 clusters indicating clusters with better quality but with less aggregation than the 2-years period. Using the same number of clusters, the solution at 16 clusters had an MR of 2.04 (1.07/0.525), which is a little bit better than 1.81 (1.40/0.77).  
\begin{table}
\begin{tabular}{p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt} p{113.8 pt}} \hline \hline
**Cluster Name** & **Visits, n (\%)** & **Age, Mean** & **Females Ratio, Vits per Patient, Mean** & **Number of Vits per Patient, Mean** & **Biological Means** & **Radiological Evans Probability (\%)** & **Ratio of Short Probability (\%)** & **Number Circuit to Long** & **Admitted to Hospital, n (\%)** \\ \hline
**1: Digestive disorders, pregnancy, mensturation** & 17,005 (5\%) & 36.57 & 71\% & 1.34 & 1.76 & 64.6\% & 34.5\% & 1.17 & 3800 (21\%) \\ \hline
**2: General symptoms and mental disorders** & 14,336 (3\%) & 49.58 & 53\% & 1.17 & 2.08 & 66.6\% & 55.3\% & 0.61 & 4810 (34\%) \\ \hline
**3** Infectious diseases & 14,336 (3\%) & 20.84 & 49\% & 1.28 & 0.97 & 26.2\% & 15.4\% & 3.94 & 1781 (12\%) \\ \hline
**4: General symptoms of chronic conditions** & 13,893 (12\%) & 57.86 & 49\% & 1.24 & 2.96 & 82.2\% & 74.5\% & 0.24 & 6149 (44\%) \\ \hline
**5**: Mental disorders and “risk behaviours & 12,139 (11\%) & 38.63 & 50\% & 1.27 & 0.91 & 36.4\% & 27.8\% & 1.97 & 2693 (22\%) \\
**6**: Wist and band trauma & 6777 (6\%) & 32.23 & 38\% & 1.07 & 0.35 & 5.6\% & 5.0\% & 135.55 & 372 (5\%) \\ \hline
**7**: Head Trauma & 6112 (5\%) & 32.26 & 39\% & 1.06 & 0.56 & 12.0\% & 11.3\% & 9.36 & 526 (9\%) \\ \hline
**8**: Hip related trauma and disorders** & 5781 (5\%) & 55.33 & 40\% & 1.18 & 2.46 & 60.3\% & 39.7\% & 1.12 & 2119 (37\%) \\ \hline
**9**: Feet Trauma & 5224 (5\%) & 29.80 & 48\% & 1.08 & 0.25 & 4.0\% & 3.7\% & 66.84 & 137 (3\%) \\ \hline
**10**: Back and Spine disorders & 3777 (5\%) & 45.58 & 55\% & 1.09 & 1.79 & 33.3\% & 24.4\% & 2.87 & 682 (18\%) \\ \hline
**11**: Occommoder disorders & 3235 (3\%) & 39.43 & 39\% & 1.06 & 0.44 & 7.5\% & 6.0\% & 13.95 & 152 (5\%) \\ \hline
**12**: Lower limb trauma & 3074 (5\%) & 36.18 & 43\% & 1.05 & 0.62 & 11.2\% & 10.2\% & 35.93 & 323 (11\%) \\ \hline
**13**: Cutaneous infections, wounds, and skin disorders** & 2787 (2\%) & 34.72 & 48\% & 1.17 & 0.78 & 26.9\% & 9.9\% & 9.04 & 414 (15\%) \\ \hline
**14**: Anthropatics & 2760 (2\%) & 45.84 & 48\% & 1.05 & 1.22 & 29.1\% & 25.0\% & 3.58 & 473 (17\%) \\ \hline
**15**: Shoulder and arm trauma & 1930 (2\%) & 40.96 & 43\% & 1.05 & 1.08 & 17.4\% & 16.8\% & 22.68 & 305 (16\%) \\ \hline
**16**: Chest trauma and other diseases of the pleura & 1151 (1\%) & 48.98 & 36\% & 1.04 & 1.71 & 38.1\% & 37.5\% & 2.17 & 303 (26\%) \\ \hline \hline \end{tabular}
\end{table}
Table 3: Sc sociodemographic and clinical characteristics of the 16 clusters.