<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The Handling of Missing Values in Medical Domains with Respect to Pattern Mining Algorithms</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Danilo Schmidt</string-name>
          <email>danilo.schmidt@charite.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matthias Niemann</string-name>
          <email>matthias.niemann@charite.de</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gabriela Lindemann-von Trzebiatowski</string-name>
          <email>gabriela.lindemann@uv.hu-berlin.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Governing Bodies, Humboldt University of Berlin</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Nephrology, University Hospital Charite</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Transfusion Medicine, University Hospital Charite</institution>
        </aff>
      </contrib-group>
      <fpage>147</fpage>
      <lpage>154</lpage>
      <abstract>
        <p>Missing values are a wide spread problem in analyzing large data sets. In the medical domain they are unavoidable and complete analyzing methods fail here. In the paper we give an overview of kinds of missingness and common methods to handle missing values in machine learning algorithms. We introduce the Charité Query Language Toolkit which was developed to find out similar patterns in patient data records with respect to post-kidney-transplant patients. The toolkit uses available case analysis methods combined with a preprocessing of missing values as a compromise of simplicity and functionality.</p>
      </abstract>
      <kwd-group>
        <kwd>data mining</kwd>
        <kwd>medical data</kwd>
        <kwd>missing values</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Missing values are a wide spread problem for analyzing methods, such as machine
learning, pattern recognition or data-mining algorithms, in many domains. For medical
data sets missing values are unfortunately unavoidable. In a complete case analysis for
these data sets all patient records with missing data would excluded. Performing
clinical studies only with complete patient data sets lead to a significantly smaller sample
size with reduced statistical expressiveness.</p>
      <p>Depending of the choosen method for the statistical analysis missing values can restrict
the cohort so much that the whole study is endangered.</p>
      <p>In the last decades the amount of electronically collected patient data has grown rapidly
and the demand of researchers and physicians for the development of analyzing
methods and tools for data-sets with missing values is obvious.</p>
      <p>
        In our work, we will describe the different kinds of missing values and follow here
in principle the systematic of Pigott [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and de Goeij et.al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. We give an impression
how to deal with missing values by example of pattern mining algorithms and introduce
some useful preprocessing methods for medical data. At last we present a short example
for including these methods in our frequent pattern mining toolkit.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Kinds of Missingness</title>
      <p>
        Missing values are a common issue when analyzing data in a wide range of research
fields. In the medical domain it seems unavoidable, especially in long-term treatments.
De Goeij et.al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] define a missing value as "hiding the value of an attribute". While
analyzing a dataset a missing value occurs when the specific value is not available. This
does not necessarily mean that the value does not exist, but it is unknown. The missing
value may be one of the attribute values (e.g. a categorical value) or a unique value (e.g.
a numerical value). To quantify missingness, a ratio of missing values and all values
can formed over all attributes by a simple formula:
missingness(B) = |Bmissing | (1)
|B|
There are several reasons for the missingness of values in medical data-sets.
Depending on the ratio missingness(B) and the applied analyzing method, missing values may
distort the final result and the underlying data missing mechanism may cause a biased
statistical analysis. Therefore it is appropriate to spend some considerations into the
kind of missingness of the values of a special data-set before choosing an adequate
analyzing algorithm. With respect to the reasons of missingness there are distinguished
three categories MCAR, MAR and NMAR.
      </p>
      <p>MCAR U˝ missing completely at random - is the strongest assumption for missing
values of a dataset. The missing of a value neither depends on the observed parameters nor
on the unknown value itself. MCAR will not bias the analysis of data, because the
missing data has the same distribution as the available data. In medical domain it occurs e.g.
if it was forgotten to induce an examination or there were problems in the transmission
of laboratory data.</p>
      <p>A less strict mechanism is MAR U˝ missing at random. The missing of a value is
allowed to be dependent on the observed parameters but not on the missing value itself.
In long-term treatment of a patient it happens e.g. if the patient was not motivated to
come to a medical control round because he had no health problems.</p>
      <p>When adjusting a set of variables, MAR can be avoided by selecting highly correlated
variables to be observed.</p>
      <p>But clearly, this requires a specialist with domain-specific knowledge. To the third
category of missingness belong data where values are not missing at random U˝ NMAR.
Here the missing of a value depends on the value itself. E.g. a creatinine value of a
kidney transplanted patient was not measured because of rejection and loss of the
transplant.</p>
      <p>Without evaluating the dataset, no type of missing value can be ruled out. Even worse,
each type of missingness can occur in a single dataset where different mechanisms
overlay as our instances above show. Furthermore, it is not trivial to find out what kind of
missingness applies.</p>
    </sec>
    <sec id="sec-3">
      <title>Preprocessing Missing Values for Application in Pattern Mining</title>
    </sec>
    <sec id="sec-4">
      <title>Algorithms</title>
      <p>
        There are several ways to handle missing values in pattern mining and data-analysis
algorithms. Especially in the medical domain there are several studies on different
approaches of dealing with missing values. Van der Heijden et. al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and Marlin [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
developed methods for handling missing values for several machine learning techniques.
The most common methods are:
1. Complete Case Analysis (only for remaining complete rows),
2. Available Case Analysis (complete rows for current pattern),
3. Single Unconditional Mean Imputation (impute column’s mean),
4. Single Conditional Mean Imputation (impute mean based on conditional columns),
5. Multiple Imputation (regression model generates complete sets),
6. Maximum Likelihood (estimate underlying distributions),
7. Pattern-Mixture Model (user defined patterns of missingness).
      </p>
      <p>All methods are suitable for MCAR data-sets. Furthermore, Single Conditional
Mean Imputation, Multiple Imputation, Maximum Likelihood and Pattern-Mixture
Model are additional usable for MAR data-sets, but only the last one is practicable for
NMAR data-sets. In the following we will introduce in short the handling of missing
values for the mentioned methods.
3.1</p>
      <sec id="sec-4-1">
        <title>Complete Case Analysis</title>
        <p>The easiest way to handle missing values is to delete all cases (rows) that contain
missing values. The remaining data will be complete and all methods requiring complete
data sets can be applied without further issues. When applying Complete Case analysis
(CC) to table 1, the patients 2, 3 and 4 would be discarded. In subsequent operations,
only patient 1 would be considered. If the missing values were not missing completely
at random, Complete Case analysis will be biased. Unfortunately MCAR applies rarely
(see table 2).</p>
        <p>
          Furthermore, the deletion of many cases is not applicable if there are missing values
in almost every case. The loss of information would increase while the significance
decreases [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ].
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>Available Case Analysis</title>
        <p>
          Available Case analysis (AC), which is sometimes referred to as pair wise deletion,
is less strictly than Complete Case analysis. When analyzing a subset of the observed
variables, all complete cases for that subset are viewed. That means only missing values
are ignored [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Considering tests B and C of table 1, patients 2 and 4 are discarded
because for the given set of tests only patients 1 and 3 are complete. This method is
rather easily applicable but has some drawbacks as mentioned by [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Because of the
varying number of observations, errors in estimated covariance matrices might occur.
Furthermore, only if missing values are MCAR, the estimates are consistent. It has been
shown that Available Case analysis is superior to complete case analysis for weakly
correlated variables. For strong correlations, AC is inferior to CC.
A contrary approach to CC and AC is imputation. Generally spoken, missing values
will be filled up (imputed) with calculated values. After that procedure the data can be
handled like a complete set. There are different methods of imputing values, which will
be introduced briefly in the following.
        </p>
        <p>
          The Single Unconditional Mean Imputation (sometimes referred to as single value
imputation) replaces all missing of an observed variable by the mean of the available
values of that variable [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. In table 1, the mean of test A is 2.0. Hence the missing
values of patients 3 and 4 would be replaced with 2.0.
        </p>
        <p>There are several drawbacks of that method: The variance of the imputed variables
decreases while the precision is overrated. The results of an unconditional mean
imputation will always be biased. This method is rather easily applicable as there is no
further information about the dataset required. Adapting this approach to categorical
data, the most frequent value of a column is imputed. In order to avoid precision
overrating, the unconditional imputation may be extended to analyze columns in order to
find the underlying random distribution. The imputation is then based on the columns
distribution.</p>
      </sec>
      <sec id="sec-4-3">
        <title>Single Conditional Mean Imputation</title>
        <p>An improvement to unconditional imputation is the conditional imputation method.
By linear regression on the conditional (observed) variables with complete data, the
missing values are imputed. When considering test B as the condition for test A in table
1, the mean of column A is calculated for all patients where test B is negative (mean
= 3.0) and once more for all patients where test B is positive (mean = 1.0). Hence the
imputed value for test A of patient 3 would be 3.0. The selection of conditional variables
is not trivial. When selecting too many columns, the imputed value may be over fitted.
3.5</p>
      </sec>
      <sec id="sec-4-4">
        <title>Multiple Imputation</title>
        <p>In contrast to the previously mentioned single imputation methods, Multiple
Imputation (MI) does not calculate a single mean of an observed variable in order to impute a
missing value, but creates a set of possible complete data sets. Each imputed parameter
is selected by the columns underlying random distribution that was determined by
regression. On each complete set the analysis is done. Finally, the results will be brought
together. Practical tests show that MI often performs better than CC and AC, especially
in the field of nephrology. This holds for MCAR and MAR data as long as the model
specification is suitable. An overrated precision is avoided by imputing data several
times, while biasing is avoided by applying regression.
3.6</p>
      </sec>
      <sec id="sec-4-5">
        <title>Maximum Likelihood</title>
        <p>Maximum Likelihood (ML) methods estimate the parameters of the underlying
distributions of the observed variables.</p>
        <p>
          To get the most probable parameters, an EM algorithm can be used. If the algorithm
converges, the coefficients with the highest likelihood can be used in linear regression
models [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. In contrast to imputation methods, there are no estimated values filled into
the gaps of the data set. Instead, ML methods can help to provide significant estimates
for regression models. ML is unbiased for data that is MCAR or MAR and outperforms
CC, AC and single imputations methods. But a proper statistical model is fundamental.
3.7
        </p>
      </sec>
      <sec id="sec-4-6">
        <title>Pattern-Mixture Model</title>
        <p>For pattern-mixture models the missing data mechanism may remain unknown. Instead,
a mixture of different patterns describes the missingness in the data set, whereas each
pattern describes a subset of the missing values. These patterns support the statistical
model and can therefore improve the analysis. Hence pattern mixture models can
produce good estimates for data that is MCAR, MAR and NMAR. Unfortunately, creating
patterns requires a lot of domain specific knowledge about the data.
4</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>The Charité Query Language Toolkit</title>
      <p>The Charité Query Language Toolkit was developed to find out similar patterns in
patient data records with respect to post-kidney-transplant patients. Physicians should be
enabled to find out similar courses of diseases and treatments to infer from it for actual
cases.</p>
      <p>
        For the development of a toolkit, it might be disappointing that there is no simple
general purpose method that handles all missing values in each imaginable query, especially
if the data missing mechanism is unknown. Calders et.al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] summarizes the common
methods and proposes to use different approaches in order to estimate the robustness.
Applying multiple methods handling missing values might be confusing for future users
of the software, so a compromise has to be found. The toolkit focuses on an easy
usage. The user is not expected to provide additional information about the data. For that
reason the user cannot be asked for selecting variables to impute the data. Model based
approaches introduce better estimations at the cost of higher complexity and therefore
have to be avoided too. Since there are different data sources, lots of missing values
can be expected. In complex queries, complete case analysis can lead to a drop of all
transactions. Even in simple queries the missingness may be very high. That is why
complete case analysis has to be avoided either.
      </p>
      <p>The toolkit uses available case analysis methods combined with a preprocessing of
missing values as a compromise of simplicity and functionality. It does not focus on
creating statistically faultless results. Biased correlations caused by violations of the
MCAR-property can be expected and are accepted for that purpose.</p>
      <p>When searching for new correlations, the user may not be interested in strong and
therefore possibly known rules but in weaker or overlooked associations.</p>
      <p>In the design phase of the toolkit, two essential settings have to be done. Firstly, the
definition of time slices in order to discretize the time axis is required (see figure 1).
In the second step, the definition of norms in order to provide a discretization of the
parameters is necessary.</p>
      <p>Norm values of parameters can be set in the norms tab (see figure 2). A group of
norms for the same parameter was named norm family. This classification is necessary
in order to recognize missing values. The norm type depends on the detected parameter
as some tests generate qualitative (e.g. HCV, CMV, etc.) and some result in quantitative
values (e.g. heart rate, creatinine, etc.). Qualitative norms are simply a mapping of a
string value to the norm’s name.</p>
      <p>This allows to assign several values to the same category (e.g. weak and positive are
both mapped to not negative). Quantitative norms are ranges for numeric parameters
that are mapped to the name of a norm (e.g. a creatinine value of 1.2 to 6.0 is mapped
to bad).</p>
      <p>Norms can be created automatically as well. The database contains references for
several parameters that may be loaded. Furthermore, a function calculating quartiles and
creating norms by these is available.
5</p>
    </sec>
    <sec id="sec-6">
      <title>Discussion and Conclusion</title>
      <p>In our paper we give a survey of kinds of missing values and common methods to
handle them in pattern mining algorithms. We introduce the Charité Query Language
Toolkit which was configured to work on post-kidney-transplant patient data. Since
the data does not differ from other medical domains, the toolkit may be used in other
departments as well. Either a separate database is provided or the data is loaded into the
current database. Depending on the domain, individual preprocessing plug-ins might be
necessary in order to provide proper data transformation abilities.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>de Goeij</surname>
            <given-names>MC</given-names>
          </string-name>
          ,
          <string-name>
            <surname>van Diepen</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jager</surname>
            <given-names>KJ</given-names>
          </string-name>
          , et al.
          <article-title>Multiple imputation: dealing with missing data</article-title>
          .
          <source>Nephrol Dial Transplant</source>
          . 2013 Oct;
          <volume>28</volume>
          (
          <issue>10</issue>
          ):
          <fpage>2415</fpage>
          -
          <lpage>2420</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Pigott</given-names>
            <surname>TD</surname>
          </string-name>
          .
          <article-title>A Review of Methods for Missing Data</article-title>
          .
          <source>Edicational Research and Evaluation</source>
          .
          <year>2001</year>
          ;
          <volume>7</volume>
          (
          <issue>4</issue>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>van der Heijden</surname>
            <given-names>GJMG</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Donders</surname>
            <given-names>ART</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stijnen</surname>
            <given-names>T</given-names>
          </string-name>
          , et al.
          <article-title>Imputation of missing values is superior to complete case analysis and the missingindicator method in multivariable diagnostic reaearch: A clinical example</article-title>
          .
          <source>Journal of Clinical Epidemiology</source>
          .
          <year>2006</year>
          ;
          <volume>59</volume>
          :1102U˝
          <fpage>1109</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Marlin</surname>
            <given-names>BM</given-names>
          </string-name>
          .
          <article-title>Missing Data Problems in Machine Learning</article-title>
          .
          <source>Canadian theses. Library</source>
          and Archives Canada U˝ Bibliotheque et Archives Canada;
          <year>2008</year>
          . http://books.google.de/books?id=5FlBPwAACAAJ (accessed
          <issue>25</issue>
          <year>June 2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Calders</surname>
            <given-names>T</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goethals</surname>
            <given-names>B</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mampaey</surname>
            <given-names>M. Mining</given-names>
          </string-name>
          <article-title>Itemsets in the Presence of Missing Values</article-title>
          .
          <source>In: Proceedings of the 2007 ACM Symposium on Applied Computing. SAC Š07</source>
          . New York, USA: ACM;
          <year>2007</year>
          :404U˝
          <fpage>408</fpage>
          . http://doi.acm.
          <source>org/10</source>
          .1145/1244002.1244097 (accessed
          <issue>25</issue>
          <year>June 2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Niemann</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmidt</surname>
            <given-names>D</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lindemann von Trzebiatowski</surname>
            <given-names>G</given-names>
          </string-name>
          , et al.
          <article-title>First Steps towards a Frequent Pattern Mining with Nephrology Data in the Medical Domain</article-title>
          . In: CSP, editor.
          <source>Proceedings of the 21th International Workshop on Concurrency, Specification and Programming</source>
          . vol.
          <volume>2</volume>
          ;
          <year>2012</year>
          :
          <fpage>261</fpage>
          -
          <lpage>268</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>