<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "JATS-journalpublishing1.dtd"[]>
<article xml:lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" dtd-version="1.2"  article-type="abstract">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">IJPDS</journal-id>
      <journal-title-group>
        <journal-title>International Journal of Population Data Science</journal-title>
        <abbrev-journal-title>IJPDS</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">2399-4908</issn>
      <publisher>
        <publisher-name>Swansea University</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.23889/ijpds.v7i3.1847</article-id>
      <article-id pub-id-type="publisher-id">7:03:074</article-id>
      <title-group>
        <article-title>Care trajectory in homes care users across mortality-risk profiles: an observational study.</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Murmann</surname>
            <given-names initials="M">Maya</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Manuel</surname>
            <given-names initials="D">Douglas</given-names>
          </name>
          <xref ref-type="aff" rid="affil-2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Tanuseputro</surname>
            <given-names initials="P">Peter</given-names>
          </name>
          <xref ref-type="aff" rid="affil-3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Bennett</surname>
            <given-names initials="C">Carol</given-names>
          </name>
          <xref ref-type="aff" rid="affil-2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Pugliese</surname>
            <given-names initials="M">Michael</given-names>
          </name>
          <xref ref-type="aff" rid="affil-4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Roberts</surname>
            <given-names initials="R">Rhiannon</given-names>
          </name>
          <xref ref-type="aff" rid="affil-2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Li</surname>
            <given-names initials="W">Wenshan</given-names>
          </name>
          <xref ref-type="aff" rid="affil-2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Hsu</surname>
            <given-names initials="AT">Amy T.</given-names>
          </name>
          <xref ref-type="aff" rid="affil-1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="affil-1"><label>1</label>
        <institution>Bruyère Research Institute</institution>
      </aff>
      <aff id="affil-2"><label>2</label>
        <institution>Ottawa Hospital Research Institute</institution>
      </aff>
      <aff id="affil-3"><label>3</label>
        <institution>Faculty of Medicine, University of Ottawa</institution>
      </aff>
      <aff id="affil-4"><label>4</label>
        <institution>ICES uOttawa</institution>
      </aff>
      <pub-date date-type="pub" publication-format="electronic"><day></day><month>09</month><year>2022</year></pub-date>
      <pub-date date-type="collection" publication-format="electronic"><year>2022</year></pub-date>
      <volume>7</volume>
      <issue>3</issue>
      <elocation-id>1847</elocation-id>
      <permissions>
        <license license-type="open-access" xlink:href="https://creativecommons.org/licences/by/4.0/">
          <license-p>This work is licenced under a Creative Commons Attribution 4.0 International License.</license-p>
        </license>
      </permissions>
      <self-uri xlink:href="https://ijpds.org/article/view/1847">This article is available from the IJPDS website at: https://ijpds.org/article/view/1847</self-uri>
    </article-meta>
  </front>
  <body>
    <sec>
      <title>Objectives</title>
      <p>Clustering algorithms are commonly used to identify disease clusters. New Clustering algorithms are benchmarked on synthetic data to assess their accuracy. These datasets lack the complexities of real electronic health record (EHR) producing a partial assessment of the algorithm. We developed a synthetic EHR cluster generator for benchmarking clustering algorithms.</p>
    </sec>
    <sec>
      <title>Approach</title>
      <p>We have created a synthetic EHR cluster generator, clustEHR, based on Synthea, a synthetic EHR generator that produces datasets (with parameterized noise and cluster separation) of known clusters and with clinically relevant patient outcomes. We evaluated clustEHR by generating multiple datasets of variable cluster separation and percentage of noise variables to reflect easy and hard clustering problems. We used a linear model to assess the relationship between these parameters and cluster problem difficulty. K-means accuracy was used as a proxy to measure cluster problem difficulty.</p>
    </sec>
    <sec>
      <title>Results</title>
      <p>We have developed a tool for generating synthetic EHR cluster data with clinically relevant outcomes based on the rate of decline of medical observations (e.g. blood pressure). The following parameters are supported: a) number of clusters, b) number of patients in each cluster, c) number and data type of features, d) separation through defining clusters as either diseases such as COPD or dementia (high separability) or inter-disease conditions such as emphysema and chronic bronchitis within COPD (low separability), and e) noise variables through identifying variables not predictive of true cluster outcomes random forest feature importance metric. We show that high cluster separation significantly increases k-means accuracy (coefficient of 0.33). Smaller percent of noise variables increase accuracy though not significantly (coefficient 0.42).</p>
    </sec>
    <sec>
      <title>Conclusion</title>
      <p>ClustEHR offers realistic mixed data types as well as outcomes which are frequently used to evaluate clusters when subtyping diseases. The evaluating results suggest that the difficulty of the cluster data can be user determined. The tool can be used to create realistic datasets for evaluating clustering approaches.</p>
    </sec>
  </body>
</article>