<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d3 20150301//EN" "http://jats.nlm.nih.gov/publishing/1.1d3/JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1d3" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">PLoS ONE</journal-id>
<journal-id journal-id-type="publisher-id">plos</journal-id>
<journal-id journal-id-type="pmc">plosone</journal-id>
<journal-title-group>
<journal-title>PLOS ONE</journal-title>
</journal-title-group>
<issn pub-type="epub">1932-6203</issn>
<publisher>
<publisher-name>Public Library of Science</publisher-name>
<publisher-loc>San Francisco, CA USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">PONE-D-18-06081</article-id>
<article-id pub-id-type="doi">10.1371/journal.pone.0208793</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Research Article</subject>
</subj-group>
<subj-group subj-group-type="Discipline-v3"><subject>Biology and life sciences</subject><subj-group><subject>Nutrition</subject><subj-group><subject>Diet</subject><subj-group><subject>Beverages</subject><subj-group><subject>Alcoholic beverages</subject><subj-group><subject>Wine</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Medicine and health sciences</subject><subj-group><subject>Nutrition</subject><subj-group><subject>Diet</subject><subj-group><subject>Beverages</subject><subj-group><subject>Alcoholic beverages</subject><subj-group><subject>Wine</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Research and analysis methods</subject><subj-group><subject>Mathematical and statistical techniques</subject><subj-group><subject>Statistical methods</subject><subj-group><subject>Multivariate analysis</subject><subj-group><subject>Principal component analysis</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Physical sciences</subject><subj-group><subject>Mathematics</subject><subj-group><subject>Statistics</subject><subj-group><subject>Statistical methods</subject><subj-group><subject>Multivariate analysis</subject><subj-group><subject>Principal component analysis</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Physical sciences</subject><subj-group><subject>Chemistry</subject><subj-group><subject>Chemical elements</subject><subj-group><subject>Sulfur</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Physical sciences</subject><subj-group><subject>Physics</subject><subj-group><subject>Classical mechanics</subject><subj-group><subject>Reflection</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Research and analysis methods</subject><subj-group><subject>Mathematical and statistical techniques</subject><subj-group><subject>Statistical methods</subject><subj-group><subject>Regression analysis</subject><subj-group><subject>Linear regression analysis</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Physical sciences</subject><subj-group><subject>Mathematics</subject><subj-group><subject>Statistics</subject><subj-group><subject>Statistical methods</subject><subj-group><subject>Regression analysis</subject><subj-group><subject>Linear regression analysis</subject></subj-group></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Social sciences</subject><subj-group><subject>Sociology</subject><subj-group><subject>Criminology</subject><subj-group><subject>Crime</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Physical sciences</subject><subj-group><subject>Chemistry</subject><subj-group><subject>Chemical properties</subject><subj-group><subject>Physicochemical properties</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Physical sciences</subject><subj-group><subject>Chemistry</subject><subj-group><subject>Physical chemistry</subject><subj-group><subject>Chemical properties</subject><subj-group><subject>Physicochemical properties</subject></subj-group></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Physical sciences</subject><subj-group><subject>Physics</subject><subj-group><subject>Physical properties</subject><subj-group><subject>Physicochemical properties</subject></subj-group></subj-group></subj-group></subj-group><subj-group subj-group-type="Discipline-v3"><subject>Earth sciences</subject><subj-group><subject>Atmospheric science</subject><subj-group><subject>Meteorology</subject><subj-group><subject>Wind</subject></subj-group></subj-group></subj-group></subj-group></article-categories>
<title-group>
<article-title>Invariance properties for the error function used for multilinear regression</article-title>
<alt-title alt-title-type="running-head">Invariance properties for the error function used for multilinear regression</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">http://orcid.org/0000-0002-1904-5749</contrib-id>
<name name-style="western">
<surname>Holmes</surname> <given-names>Mark H.</given-names></name>
<role content-type="http://credit.casrai.org/">Conceptualization</role>
<role content-type="http://credit.casrai.org/">Data curation</role>
<role content-type="http://credit.casrai.org/">Formal analysis</role>
<role content-type="http://credit.casrai.org/">Funding acquisition</role>
<role content-type="http://credit.casrai.org/">Investigation</role>
<role content-type="http://credit.casrai.org/">Methodology</role>
<role content-type="http://credit.casrai.org/">Project administration</role>
<role content-type="http://credit.casrai.org/">Resources</role>
<role content-type="http://credit.casrai.org/">Software</role>
<role content-type="http://credit.casrai.org/">Supervision</role>
<role content-type="http://credit.casrai.org/">Validation</role>
<role content-type="http://credit.casrai.org/">Visualization</role>
<role content-type="http://credit.casrai.org/">Writing – original draft</role>
<role content-type="http://credit.casrai.org/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff001"><sup>1</sup></xref>
<xref ref-type="corresp" rid="cor001">*</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple">
<contrib-id authenticated="true" contrib-id-type="orcid">http://orcid.org/0000-0001-6355-7963</contrib-id>
<name name-style="western">
<surname>Caiola</surname> <given-names>Michael</given-names></name>
<role content-type="http://credit.casrai.org/">Conceptualization</role>
<role content-type="http://credit.casrai.org/">Investigation</role>
<role content-type="http://credit.casrai.org/">Writing – review &amp; editing</role>
<xref ref-type="aff" rid="aff002"><sup>2</sup></xref>
</contrib>
</contrib-group>
<aff id="aff001">
<label>1</label>
<addr-line>Department of Mathematical Sciences, Rensselaer Polytechnic Institute, Troy, New York, United States of America</addr-line>
</aff>
<aff id="aff002">
<label>2</label>
<addr-line>Yerkes National Primate Laboratory/Udall Center, Emory University, Atlanta, Georgia, United States of America</addr-line>
</aff>
<contrib-group>
<contrib contrib-type="editor" xlink:type="simple">
<name name-style="western">
<surname>Malo</surname> <given-names>J</given-names></name>
<role>Editor</role>
<xref ref-type="aff" rid="edit1"/>
</contrib>
</contrib-group>
<aff id="edit1">
<addr-line>Universitat de Valencia, SPAIN</addr-line>
</aff>
<author-notes>
<fn fn-type="conflict" id="coi001">
<p>The authors have declared that no competing interests exist.</p>
</fn>
<corresp id="cor001">* E-mail: <email xlink:type="simple">holmes@rpi.edu</email></corresp>
</author-notes>
<pub-date pub-type="collection">
<year>2018</year>
</pub-date>
<pub-date pub-type="epub">
<day>26</day>
<month>12</month>
<year>2018</year>
</pub-date>
<volume>13</volume>
<issue>12</issue>
<elocation-id>e0208793</elocation-id>
<history>
<date date-type="received">
<day>27</day>
<month>2</month>
<year>2018</year>
</date>
<date date-type="accepted">
<day>26</day>
<month>11</month>
<year>2018</year>
</date>
</history>
<permissions>
<copyright-year>2018</copyright-year>
<copyright-holder>Holmes, Caiola</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
<license-p>This is an open access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">Creative Commons Attribution License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="info:doi/10.1371/journal.pone.0208793"/>
<abstract>
<p>The connections between the error function used in multilinear regression and the expected, or assumed, properties of the data are investigated. It is shown that two of the most basic properties often required in data analysis, scale and rotational invariance, are incompatible. With this, it is established that multilinear regression using an error function derived from a geometric mean is both scale and reflectively invariant. The resulting error function is also shown to have the property that its minimizer, under certain conditions, is well approximated using the centroid of the error simplex. It is then applied to several multidimensional real world data sets, and compared to other regression methods.</p>
</abstract>
<funding-group>
<award-group id="award001">
<funding-source>
<institution-wrap>
<institution-id institution-id-type="funder-id">http://dx.doi.org/10.13039/100000121</institution-id>
<institution>Division of Mathematical Sciences</institution>
</institution-wrap>
</funding-source>
<award-id>DMS-1122279</award-id>
<principal-award-recipient>
<contrib-id authenticated="true" contrib-id-type="orcid">http://orcid.org/0000-0002-1904-5749</contrib-id>
<name name-style="western">
<surname>Holmes</surname> <given-names>Mark H.</given-names></name>
</principal-award-recipient>
</award-group>
<funding-statement>This work was supported by National Science Foundation (MH and MC received funding) (<ext-link ext-link-type="uri" xlink:href="https://www.nsf.gov/div/index.jsp?div=DMS" xlink:type="simple">https://www.nsf.gov/div/index.jsp?div=DMS</ext-link>). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</funding-statement>
</funding-group>
<counts>
<fig-count count="10"/>
<table-count count="2"/>
<page-count count="25"/>
</counts>
<custom-meta-group>
<custom-meta id="data-availability">
<meta-name>Data Availability</meta-name>
<meta-value>The data sets used are all publicly available: EMAP Surface Waters Lake Database: 1991-1994 Northeast Lakes Water Chemistry Data Summarized by Lake <ext-link ext-link-type="uri" xlink:href="https://archive.epa.gov/emap/archive-emap/web/html/nelakes.html" xlink:type="simple">https://archive.epa.gov/emap/archive-emap/web/html/nelakes.html</ext-link> MAIA-Estuaries Summary Database: 1997 and 1998 Stations <ext-link ext-link-type="uri" xlink:href="https://archive.epa.gov/emap/archive-emap/web/html/index-70.html" xlink:type="simple">https://archive.epa.gov/emap/archive-emap/web/html/index-70.html</ext-link> National Data Buoy Center: Historical Meteorological Data - Station 46006 <ext-link ext-link-type="uri" xlink:href="http://www.ndbc.noaa.gov/histsearch.php?station=46006" xlink:type="simple">www.ndbc.noaa.gov/histsearch.php?station=46006</ext-link> U.S. Census Bureau Statistical Abstract of the United States: 2012 Modeling wine preferences by data mining from physicochemical properties <ext-link ext-link-type="uri" xlink:href="http://www.sciencedirect.com/science/article/pii/S0167923609001377" xlink:type="simple">http://www.sciencedirect.com/science/article/pii/S0167923609001377</ext-link>.</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="sec001" sec-type="intro">
<title>Introduction</title>
<p>The problem considered here concerns the modeling assumptions made in multilinear regression, and their role in determining the error function. To provide a simple example, a principal component analysis (PCA) is used to find low dimensional subspace approximations of a data set. It has the property that if the data set is rotated, and a PCA is used, the rotated versions of the same low dimensional subspace approximations are obtained. This means that a PCA is rotationally invariant. This is one of the reasons that it is often used in face recognition [<xref ref-type="bibr" rid="pone.0208793.ref001">1</xref>, <xref ref-type="bibr" rid="pone.0208793.ref002">2</xref>], visual tracking [<xref ref-type="bibr" rid="pone.0208793.ref003">3</xref>], and other pattern recognition problems.</p>
<p>In contrast, linear least squares is not rotationally invariant. However, unlike a PCA, it is scale invariant. What this means is that if you scale the variables in the data set, the resulting minimizer is the scaled version of what is obtained for the unscaled case (this is explained more precisely in the next section). Scale invariance is important, for example, if you want your minimizer to be independent of what units are used (e.g., inches versus centimeters). The fact that a PCA is scale dependent, and that it is possible to be fairly sensitive to the scaling, is well-known [<xref ref-type="bibr" rid="pone.0208793.ref004">4</xref>, <xref ref-type="bibr" rid="pone.0208793.ref005">5</xref>].</p>
<p>A third type of invariance, which will play a central role in this paper, concerns the order the variables are listed or labeled. Specifically, if the minimizer is unaffected by the reordering of the variables, the result is said to be reflectively invariant. A simple example of where this is important is edge detection, where the minimizer should be unaffected by which axis is labeled <italic>x</italic>, <italic>y</italic> or <italic>z</italic>. It is not hard to show that a PCA is reflectively invariant, but that linear least squares is not. It needs to be pointed out that there are different forms of reflective invariance depending on the hyperplane used for the reflection. As an example, in computer vision it is desirable to be able to recognize an object regardless of whether you are looking at it, or at its horizontal reflection as seen when looking in a mirror [<xref ref-type="bibr" rid="pone.0208793.ref006">6</xref>]. In this case the reflection is through the vertical plane. There is also some variation in how to refer to reflective invariance as used here. As a case in point, it has been referred to as neutral data fitting because, for this form of invariance, the variables must be treated symmetrically [<xref ref-type="bibr" rid="pone.0208793.ref007">7</xref>, <xref ref-type="bibr" rid="pone.0208793.ref008">8</xref>].</p>
<p>Obtaining a regression result with particular invariance properties has been considered earlier, although often framed in somewhat different language. One of the earliest studies concerned reflective invariance for a bivariate problem using area as a measure of error [<xref ref-type="bibr" rid="pone.0208793.ref009">9</xref>]. This is the <italic>E</italic><sub><italic>A</italic></sub> example illustrated in <xref ref-type="fig" rid="pone.0208793.g001">Fig 1</xref>. This was the impetus for Samuelson [<xref ref-type="bibr" rid="pone.0208793.ref010">10</xref>] to propose certain invariant properties one might expect, or require, of the error function. Since then numerous attempts have been made to find error functions that have one or more of these properties. An example of a straightforward approach for two variable linear regression is to concentrate on the slope of the regression line. It has been proposed that, after determining the lines for vertical and horizontal least squares, <italic>E</italic><sub><italic>y</italic></sub> and <italic>E</italic><sub><italic>x</italic></sub> in <xref ref-type="fig" rid="pone.0208793.g001">Fig 1</xref>, to simply use the line whose slope is determined using an averaging method involving the two slopes. A review and comparison of these, and similar methods, can be found in [<xref ref-type="bibr" rid="pone.0208793.ref011">11</xref>, <xref ref-type="bibr" rid="pone.0208793.ref012">12</xref>].</p>
<fig id="pone.0208793.g001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g001</object-id>
<label>Fig 1</label>
<caption>
<title>Error functions for bivariate regression.</title>
<p>Shown are: <inline-formula id="pone.0208793.e001"><alternatives><graphic id="pone.0208793.e001g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e001" xlink:type="simple"/><mml:math display="inline" id="M1"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mo>∑</mml:mo> <mml:msubsup><mml:mi>d</mml:mi> <mml:mi>i</mml:mi> <mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:math></alternatives></inline-formula>, <inline-formula id="pone.0208793.e002"><alternatives><graphic id="pone.0208793.e002g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e002" xlink:type="simple"/><mml:math display="inline" id="M2"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>D</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mo>∑</mml:mo> <mml:msubsup><mml:mi>D</mml:mi> <mml:mi>i</mml:mi> <mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:math></alternatives></inline-formula>, <inline-formula id="pone.0208793.e003"><alternatives><graphic id="pone.0208793.e003g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e003" xlink:type="simple"/><mml:math display="inline" id="M3"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mo>∑</mml:mo> <mml:msubsup><mml:mi>h</mml:mi> <mml:mi>i</mml:mi> <mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:math></alternatives></inline-formula>, and <inline-formula id="pone.0208793.e004"><alternatives><graphic id="pone.0208793.e004g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e004" xlink:type="simple"/><mml:math display="inline" id="M4"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>A</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mn>2</mml:mn></mml:mfrac> <mml:mo>∑</mml:mo> <mml:msub><mml:mi>d</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:msub><mml:mi>h</mml:mi> <mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g001" xlink:type="simple"/>
</fig>
<p>A more fundamental approach is to concentrate on the error function. One possibility is to use true distance, <italic>E</italic><sub><italic>D</italic></sub> in <xref ref-type="fig" rid="pone.0208793.g001">Fig 1</xref>, and this is easily generalized to multilinear regression (a PCA is an example). Another possibility is to use area, <italic>E</italic><sub><italic>A</italic></sub> in <xref ref-type="fig" rid="pone.0208793.g001">Fig 1</xref>, which is what Woolley used, and this gives rise to what is called least product regression, or least area regression. Work has been done on how to generalize Woolley’s idea, and use symmetry methods to obtain invariant error functions in two and three dimensions [<xref ref-type="bibr" rid="pone.0208793.ref007">7</xref>, <xref ref-type="bibr" rid="pone.0208793.ref008">8</xref>]. However, this is not easily generalized to multilinear regression. An alternative, which is most relevant to the present study, is to use the geometric mean for each data point and then find the least squares value for this function [<xref ref-type="bibr" rid="pone.0208793.ref013">13</xref>]. This differs from the geometric mean considered here, which involves the geometric mean of the ordinary least squares error functions. The exception to this statement occurs when a hyperplane approximation is used, in which case the two formulations are equivalent. In the current study a hyperplane approximation is considered, but so are the other lower dimensional approximations that are possible (similar to what is done using a PCA).</p>
<p>In the next section it is shown that scale and rotational invariance are incompatible. This is done, for the case of two variables, by first characterizing mathematically what is needed to obtain particular invariant properties, and then to use similarity methods to demonstrate the incompatibility. In addition, in this two-dimensional setting, an error function that has several important invariance properties is formulated and discussed. In the subsequent two sections, the extension of this function to multilinear linear regression problems is considered, which includes showing that the minimizer is well-approximated using the centroid of an error simplex. With this, the error function is used to analyze real world data sets and compared to other regression methods.</p>
</sec>
<sec id="sec002">
<title>Two variables</title>
<p>To begin, we start with the case of two variables. Assume that the data are (<italic>x</italic><sub>1</sub>, <italic>y</italic><sub>1</sub>), (<italic>x</italic><sub>2</sub>, <italic>y</italic><sub>2</sub>), ⋯, (<italic>x</italic><sub><italic>n</italic></sub>, <italic>y</italic><sub><italic>n</italic></sub>), and they are centered. This means that ∑<italic>x</italic><sub><italic>i</italic></sub> = ∑<italic>y</italic><sub><italic>i</italic></sub> = 0. It is assumed in what follows that the data vectors <bold>x</bold> = (<italic>x</italic><sub>1</sub>, <italic>x</italic><sub>2</sub>, ⋯, <italic>x</italic><sub><italic>n</italic></sub>)<sup><italic>T</italic></sup> and <bold>y</bold> = (<italic>y</italic><sub>1</sub>, <italic>y</italic><sub>2</sub>, ⋯, <italic>y</italic><sub><italic>n</italic></sub>)<sup><italic>T</italic></sup> are not orthogonal.</p>
<p>For the model function <italic>y</italic> = <italic>αx</italic>, there are numerous ways to measure the error and four possibilities are shown in <xref ref-type="fig" rid="pone.0208793.g001">Fig 1</xref>. For a PCA the true distance is used, and this leads to the error function
<disp-formula id="pone.0208793.e005"><alternatives><graphic id="pone.0208793.e005g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e005" xlink:type="simple"/><mml:math display="block" id="M5"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>D</mml:mi></mml:msub> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msubsup><mml:mi>D</mml:mi> <mml:mi>i</mml:mi> <mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac> <mml:mrow><mml:mo>(</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>+</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Because of the denominator, for this expression to be defined, <italic>α</italic> must be dimensionless. What this means is that, when <italic>x</italic> and <italic>y</italic> have different dimensions, it is first necessary to nondimensionalize the variables before writing down the formula for the error function. So, suppose the data are scaled as <italic>X</italic><sub><italic>i</italic></sub> = <italic>x</italic><sub><italic>i</italic></sub>/<italic>S</italic><sub><italic>x</italic></sub> and <italic>Y</italic><sub><italic>i</italic></sub> = <italic>y</italic><sub><italic>i</italic></sub>/<italic>S</italic><sub><italic>y</italic></sub>, where <italic>S</italic><sub><italic>x</italic></sub> and <italic>S</italic><sub><italic>y</italic></sub> are positive. The model function is now <inline-formula id="pone.0208793.e006"><alternatives><graphic id="pone.0208793.e006g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e006" xlink:type="simple"/><mml:math display="inline" id="M6"><mml:mrow><mml:mi>Y</mml:mi> <mml:mo>=</mml:mo> <mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:mi>X</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>, and the corresponding error function is
<disp-formula id="pone.0208793.e007"><alternatives><graphic id="pone.0208793.e007g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e007" xlink:type="simple"/><mml:math display="block" id="M7"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:msup><mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:msub><mml:mi>X</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>Y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Minimizing this, and then transforming back to dimensional variables, one finds that
<disp-formula id="pone.0208793.e008"><alternatives><graphic id="pone.0208793.e008g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e008" xlink:type="simple"/><mml:math display="block" id="M8"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>α</mml:mi> <mml:mo>=</mml:mo> <mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:mspace width="0.166667em"/><mml:mfrac><mml:msub><mml:mi>S</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:msub><mml:mi>S</mml:mi> <mml:mi>x</mml:mi></mml:msub></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(1)</label></disp-formula>
where
<disp-formula id="pone.0208793.e009"><alternatives><graphic id="pone.0208793.e009g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e009" xlink:type="simple"/><mml:math display="block" id="M9"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mn>2</mml:mn></mml:mfrac> <mml:mo>(</mml:mo> <mml:mo>-</mml:mo> <mml:mo>λ</mml:mo> <mml:mo>±</mml:mo> <mml:msqrt><mml:mrow><mml:msup><mml:mo>λ</mml:mo> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mn>4</mml:mn></mml:mrow></mml:msqrt> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(2)</label></disp-formula>
for
<disp-formula id="pone.0208793.e010"><alternatives><graphic id="pone.0208793.e010g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e010" xlink:type="simple"/><mml:math display="block" id="M10"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>λ</mml:mo> <mml:mo>=</mml:mo> <mml:mfrac><mml:mrow><mml:mi mathvariant="bold">X</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">X</mml:mi> <mml:mo>-</mml:mo> <mml:mi mathvariant="bold">Y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">Y</mml:mi></mml:mrow> <mml:mrow><mml:mi mathvariant="bold">X</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">Y</mml:mi></mml:mrow></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(3)</label></disp-formula></p>
<p>In the above expression, the + is used if <bold>X</bold> ⋅ <bold>Y</bold> &gt; 0 and the − is used if <bold>X</bold> ⋅ <bold>Y</bold> &lt; 0. What is evident from this calculation is that <italic>α</italic> depends on <italic>S</italic><sub><italic>x</italic></sub> and <italic>S</italic><sub><italic>y</italic></sub>. Typical choices for these scaling factors include <italic>S</italic><sub><italic>x</italic></sub> = ||<bold>x</bold>||<sub>∞</sub>, <inline-formula id="pone.0208793.e011"><alternatives><graphic id="pone.0208793.e011g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e011" xlink:type="simple"/><mml:math display="inline" id="M11"><mml:mrow><mml:msub><mml:mi>S</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:msub><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>|</mml:mo> <mml:mo>|</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msub> <mml:mo>/</mml:mo> <mml:msqrt><mml:mi>n</mml:mi></mml:msqrt></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>S</italic><sub><italic>x</italic></sub> = ||<bold>x</bold>||<sub>1</sub>/<italic>n</italic> (with similar expressions for <italic>S</italic><sub><italic>y</italic></sub>). Depending on the scatter in the data, the values of these quantities can be significantly different and this can result in rather dramatic differences in the corresponding value of <italic>α</italic>.</p>
<sec id="sec003">
<title>Scale invariance</title>
<p>There is a simple test for scale invariance that comes from the above analysis. To derive it, in the original <italic>x</italic>, <italic>y</italic>-coordinates and using the model equation <italic>y</italic> = <italic>αx</italic>, whatever regression procedure is used will result in the slope <italic>α</italic> depending on the data. This is written as <italic>α</italic> = <italic>α</italic>(<bold>x</bold>, <bold>y</bold>). Using the scaling <italic>X</italic> = <italic>x</italic>/<italic>S</italic><sub><italic>x</italic></sub> and <italic>Y</italic> = <italic>y</italic>/<italic>S</italic><sub><italic>y</italic></sub>, the model equation becomes <inline-formula id="pone.0208793.e012"><alternatives><graphic id="pone.0208793.e012g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e012" xlink:type="simple"/><mml:math display="inline" id="M12"><mml:mrow><mml:mi>Y</mml:mi> <mml:mo>=</mml:mo> <mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:mi>X</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>, where <inline-formula id="pone.0208793.e013"><alternatives><graphic id="pone.0208793.e013g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e013" xlink:type="simple"/><mml:math display="inline" id="M13"><mml:mrow><mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:mo>=</mml:mo> <mml:mi>α</mml:mi> <mml:msub><mml:mi>S</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>S</mml:mi> <mml:mi>y</mml:mi></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>. Now, scale invariance requires that <inline-formula id="pone.0208793.e014"><alternatives><graphic id="pone.0208793.e014g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e014" xlink:type="simple"/><mml:math display="inline" id="M14"><mml:mrow><mml:mover><mml:mi>α</mml:mi> <mml:mo>¯</mml:mo></mml:mover> <mml:mo>=</mml:mo> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">X</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">Y</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:math></alternatives></inline-formula>. Combining these two results, the requirement for scale invariance is that
<disp-formula id="pone.0208793.e015"><alternatives><graphic id="pone.0208793.e015g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e015" xlink:type="simple"/><mml:math display="block" id="M15"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:mfrac><mml:msub><mml:mi>S</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:msub><mml:mi>S</mml:mi> <mml:mi>y</mml:mi></mml:msub></mml:mfrac> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>/</mml:mo> <mml:msub><mml:mi>S</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>/</mml:mo> <mml:msub><mml:mi>S</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(4)</label></disp-formula>
for any positive values of <italic>S</italic><sub><italic>x</italic></sub> and <italic>S</italic><sub><italic>y</italic></sub>. Using the infinitesimal generators <italic>S</italic><sub><italic>x</italic></sub> = 1 + <italic>ε</italic> and <italic>S</italic><sub><italic>y</italic></sub> = 1 + <italic>δ</italic>, then the above equation takes the form [<xref ref-type="bibr" rid="pone.0208793.ref014">14</xref>]
<disp-formula id="pone.0208793.e016"><alternatives><graphic id="pone.0208793.e016g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e016" xlink:type="simple"/><mml:math display="block" id="M16"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>α</mml:mi> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mfrac><mml:mrow><mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi></mml:mrow> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:mi>δ</mml:mi></mml:mrow></mml:mfrac> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>/</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>/</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:mi>δ</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:mo>[</mml:mo> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>-</mml:mo> <mml:msub><mml:mo>∇</mml:mo> <mml:mi>x</mml:mi></mml:msub> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>]</mml:mo> <mml:mo>-</mml:mo> <mml:mi>δ</mml:mi> <mml:mo>[</mml:mo> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>+</mml:mo> <mml:msub><mml:mo>∇</mml:mo> <mml:mi>y</mml:mi></mml:msub> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>]</mml:mo> <mml:mo>+</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
where ∇<sub><italic>x</italic></sub> is the gradient in the <bold>x</bold> variables (and similarly for ∇<sub><italic>y</italic></sub>). The <italic>O</italic>(<italic>ε</italic>) and <italic>O</italic>(<italic>δ</italic>) requirements are that
<disp-formula id="pone.0208793.e017"><alternatives><graphic id="pone.0208793.e017g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e017" xlink:type="simple"/><mml:math display="block" id="M17"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:msub><mml:mo>∇</mml:mo> <mml:mi>x</mml:mi></mml:msub> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:mo>-</mml:mo> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>,</mml:mo> <mml:mspace width="1.em"/><mml:mspace width="4.pt"/><mml:mtext>and</mml:mtext> <mml:mspace width="4.pt"/><mml:mspace width="1.em"/><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:msub><mml:mo>∇</mml:mo> <mml:mi>y</mml:mi></mml:msub> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>These are easily solved using the <italic>n</italic>-dimensional version of spherical coordinates. Specifically, letting
<disp-formula id="pone.0208793.e018"><alternatives><graphic id="pone.0208793.e018g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e018" xlink:type="simple"/><mml:math display="block" id="M18"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>=</mml:mo> <mml:mi>r</mml:mi> <mml:mi mathvariant="bold">X</mml:mi> <mml:mo>(</mml:mo> <mml:msub><mml:mi>ϕ</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>,</mml:mo> <mml:msub><mml:mi>ϕ</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>,</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>,</mml:mo> <mml:msub><mml:mi>ϕ</mml:mi> <mml:mrow><mml:mi>n</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
where <italic>r</italic> = ||<bold>x</bold>||<sub>2</sub> and the <italic>ϕ</italic><sub><italic>i</italic></sub>’s are the angular coordinates, then <bold>x</bold> ⋅ ∇<sub><italic>x</italic></sub> <italic>α</italic> = −<italic>α</italic> reduces to <italic>r</italic>∂<sub><italic>r</italic></sub> <italic>α</italic> = −<italic>α</italic>. The general solution of this is <italic>α</italic> = <italic>c</italic>/<italic>r</italic>, where <italic>c</italic> can depend on the <italic>ϕ</italic><sub><italic>i</italic></sub>’s. Doing something similar for <bold>y</bold>, the conclusion is that, to be scale invariant, the minimizer must depend on the data as
<disp-formula id="pone.0208793.e019"><alternatives><graphic id="pone.0208793.e019g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e019" xlink:type="simple"/><mml:math display="block" id="M19"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>α</mml:mi> <mml:mo>=</mml:mo> <mml:mfrac><mml:msub><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>|</mml:mo> <mml:mo>|</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>|</mml:mo> <mml:mo>|</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msub></mml:mfrac> <mml:mi>F</mml:mi> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(5)</label></disp-formula>
where <italic>F</italic> can depend on the values of the angular coordinates for <bold>x</bold> and <bold>y</bold>.</p>
</sec>
<sec id="sec004">
<title>Rotational invariance</title>
<p>To determine the requirement for rotational invariance, assuming the angle of rotation is <italic>θ</italic>, then
<disp-formula id="pone.0208793.e020"><alternatives><graphic id="pone.0208793.e020g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e020" xlink:type="simple"/><mml:math display="block" id="M20"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:msup><mml:mi>x</mml:mi> <mml:mo>′</mml:mo></mml:msup></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:msup><mml:mi>y</mml:mi> <mml:mo>′</mml:mo></mml:msup></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mo>(</mml:mo> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mtable><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/><mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>-</mml:mo> <mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/><mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mspace width="-0.166667em"/><mml:mo>)</mml:mo> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>x</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>y</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>The model function now has the form <italic>y</italic>′ = <italic>α</italic>′ <italic>x</italic>′, and invariance requires that
<disp-formula id="pone.0208793.e021"><alternatives><graphic id="pone.0208793.e021g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e021" xlink:type="simple"/><mml:math display="block" id="M21"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msup><mml:mi>α</mml:mi> <mml:mo>′</mml:mo></mml:msup> <mml:mo>=</mml:mo> <mml:mfrac><mml:mrow><mml:mi>α</mml:mi> <mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>-</mml:mo> <mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi></mml:mrow> <mml:mrow><mml:mi>α</mml:mi> <mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>+</mml:mo> <mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi></mml:mrow></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Writing the minimizer of the error function as <italic>α</italic> = <italic>f</italic>(<bold>x</bold>, <bold>y</bold>), then <italic>α</italic>′ = <italic>f</italic>(<bold>x</bold>′, <bold>y</bold>′) results in the requirement that
<disp-formula id="pone.0208793.e022"><alternatives><graphic id="pone.0208793.e022g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e022" xlink:type="simple"/><mml:math display="block" id="M22"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mfrac><mml:mrow><mml:mi>f</mml:mi> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo> <mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>-</mml:mo> <mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi></mml:mrow> <mml:mrow><mml:mi>f</mml:mi> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo> <mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>+</mml:mo> <mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi></mml:mrow></mml:mfrac> <mml:mo>=</mml:mo> <mml:mi>f</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>+</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>,</mml:mo> <mml:mo>-</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo form="prefix">sin</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>+</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo form="prefix">cos</mml:mo> <mml:mi>θ</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Using the infinitesimal generator <italic>θ</italic> = <italic>ε</italic>, then the <italic>O</italic>(<italic>ε</italic>) requirement is
<disp-formula id="pone.0208793.e023"><alternatives><graphic id="pone.0208793.e023g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e023" xlink:type="simple"/><mml:math display="block" id="M23"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:msub><mml:mo>∇</mml:mo> <mml:mi>x</mml:mi></mml:msub> <mml:mi>f</mml:mi> <mml:mo>-</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:msub><mml:mo>∇</mml:mo> <mml:mi>y</mml:mi></mml:msub> <mml:mi>f</mml:mi> <mml:mo>+</mml:mo> <mml:msup><mml:mi>f</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mn>1</mml:mn> <mml:mo>=</mml:mo> <mml:mn>0</mml:mn> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(6)</label></disp-formula>
where <italic>f</italic> = <italic>f</italic>(<bold>x</bold>, <bold>y</bold>). As it should, the solution in Eqs <xref ref-type="disp-formula" rid="pone.0208793.e009">(2)</xref> and <xref ref-type="disp-formula" rid="pone.0208793.e010">(3)</xref> satisfies this nonlinear partial differential equation. What does not satisfy the equation is <xref ref-type="disp-formula" rid="pone.0208793.e019">Eq (5)</xref>. It is easiest to illustrate this assuming there are only two data points. In this case, the 2-dimensional spherical coordinates used in <xref ref-type="disp-formula" rid="pone.0208793.e019">Eq (5)</xref> can be written as <italic>x</italic><sub>1</sub> = <italic>r</italic> cos <italic>k</italic>, <italic>x</italic><sub>2</sub> = <italic>r</italic> sin <italic>k</italic>, <italic>y</italic><sub>1</sub> = <italic>R</italic> cos <italic>K</italic>, and <italic>y</italic><sub>2</sub> = <italic>R</italic> sin <italic>K</italic>. Substituting <xref ref-type="disp-formula" rid="pone.0208793.e019">Eq (5)</xref> into <xref ref-type="disp-formula" rid="pone.0208793.e023">Eq (6)</xref>, and reducing gives
<disp-formula id="pone.0208793.e024"><alternatives><graphic id="pone.0208793.e024g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e024" xlink:type="simple"/><mml:math display="block" id="M24"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>(</mml:mo> <mml:mfrac><mml:msup><mml:mi>R</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:msup><mml:mi>r</mml:mi> <mml:mn>2</mml:mn></mml:msup></mml:mfrac> <mml:mo>+</mml:mo> <mml:mn>1</mml:mn> <mml:mo>)</mml:mo> <mml:mo form="prefix">cos</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>k</mml:mi> <mml:mo>-</mml:mo> <mml:mi>K</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mi>F</mml:mi> <mml:mo>+</mml:mo> <mml:mo form="prefix">sin</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>k</mml:mi> <mml:mo>-</mml:mo> <mml:mi>K</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>(</mml:mo> <mml:mfrac><mml:msup><mml:mi>R</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:msup><mml:mi>r</mml:mi> <mml:mn>2</mml:mn></mml:msup></mml:mfrac> <mml:msub><mml:mi>∂</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mi>F</mml:mi> <mml:mo>+</mml:mo> <mml:msub><mml:mi>∂</mml:mi> <mml:mi>K</mml:mi></mml:msub> <mml:mi>F</mml:mi> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:mfrac><mml:msup><mml:mi>R</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:msup><mml:mi>r</mml:mi> <mml:mn>2</mml:mn></mml:msup></mml:mfrac> <mml:msup><mml:mi>F</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Given that <italic>F</italic> is independent of <italic>r</italic> and <italic>R</italic>, the above equation leads to the following two equations
<disp-formula id="pone.0208793.e025"><alternatives><graphic id="pone.0208793.e025g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e025" xlink:type="simple"/><mml:math display="block" id="M25"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo form="prefix">cos</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>k</mml:mi> <mml:mo>-</mml:mo> <mml:mi>K</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mi>F</mml:mi> <mml:mo>+</mml:mo> <mml:mo form="prefix">sin</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>k</mml:mi> <mml:mo>-</mml:mo> <mml:mi>K</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:msub><mml:mi>∂</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mi>F</mml:mi> <mml:mo>=</mml:mo> <mml:msup><mml:mi>F</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
and
<disp-formula id="pone.0208793.e026"><alternatives><graphic id="pone.0208793.e026g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e026" xlink:type="simple"/><mml:math display="block" id="M26"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo form="prefix">cos</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>k</mml:mi> <mml:mo>-</mml:mo> <mml:mi>K</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mi>F</mml:mi> <mml:mo>+</mml:mo> <mml:mo form="prefix">sin</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>k</mml:mi> <mml:mo>-</mml:mo> <mml:mi>K</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:msub><mml:mi>∂</mml:mi> <mml:mi>K</mml:mi></mml:msub> <mml:mi>F</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>These equations are solvable by introducing the change of variables <italic>s</italic> = <italic>k</italic> − <italic>K</italic>, <italic>t</italic> = <italic>k</italic> + <italic>K</italic>, and from this one finds that it is not possible to find a function <italic>F</italic> that satisfies both equations. In other words, there is no function which satisfies both Eqs <xref ref-type="disp-formula" rid="pone.0208793.e019">(5)</xref> and <xref ref-type="disp-formula" rid="pone.0208793.e023">(6)</xref>.</p>
</sec>
<sec id="sec005">
<title>Scale and reflectively invariant error function</title>
<p>The conclusion from the above analysis is that it is not possible for the minimizer to be both scale and rotationally invariant. It is known that there are rotation and reflectively invariant error functions, and an example is one that uses true distance (<italic>E</italic><sub><italic>D</italic></sub> in <xref ref-type="fig" rid="pone.0208793.g001">Fig 1</xref>). So, the question considered here is whether there are error functions which satisfy all of the stated conditions except for rotational invariance.</p>
<p>It is relatively easy to find scale invariant error functions. For example, using the usual (vertical) least squares error
<disp-formula id="pone.0208793.e027"><alternatives><graphic id="pone.0208793.e027g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e027" xlink:type="simple"/><mml:math display="block" id="M27"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>=</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>+</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(7)</label></disp-formula>
the minimum occurs when <italic>α</italic> = <bold>x</bold> ⋅ <bold>y</bold>/<bold>x</bold> ⋅ <bold>x</bold>. Similarly, using the (horizontal) least squares error
<disp-formula id="pone.0208793.e028"><alternatives><graphic id="pone.0208793.e028g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e028" xlink:type="simple"/><mml:math display="block" id="M28"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>/</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>/</mml:mo> <mml:mi>α</mml:mi> <mml:mo>+</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>/</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(8)</label></disp-formula>
the minimum occurs when <italic>α</italic> = <bold>y</bold> ⋅ <bold>y</bold>/<bold>x</bold> ⋅ <bold>y</bold>. Both of these are scale invariant. What <italic>E</italic><sub><italic>x</italic></sub> and <italic>E</italic><sub><italic>y</italic></sub> are not, however, are reflectively invariant. To be reflectively invariant it is required that irrespective of which variables are considered independent or dependent, that an equivalent result is obtained. This means that the minimizer of <italic>E</italic><sub><italic>x</italic></sub> is the same as the one obtained for <italic>E</italic><sub><italic>y</italic></sub>. Mathematically, the requirement is that
<disp-formula id="pone.0208793.e029"><alternatives><graphic id="pone.0208793.e029g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e029" xlink:type="simple"/><mml:math display="block" id="M29"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:mi>α</mml:mi> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(9)</label></disp-formula></p>
<p>The error function to be considered here is based on the geometric mean of the ordinary least squares error functions. In the case of two variables, the error function is
<disp-formula id="pone.0208793.e030"><alternatives><graphic id="pone.0208793.e030g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e030" xlink:type="simple"/><mml:math display="block" id="M30"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>E</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:msqrt><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:msub><mml:mi>E</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:mrow><mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msqrt> <mml:mspace width="0.166667em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(10)</label></disp-formula>
where <italic>E</italic><sub><italic>x</italic></sub> and <italic>E</italic><sub><italic>y</italic></sub> are given in Eqs <xref ref-type="disp-formula" rid="pone.0208793.e027">(7)</xref> and <xref ref-type="disp-formula" rid="pone.0208793.e028">(8)</xref>, respectively. Minimizing this one finds that
<disp-formula id="pone.0208793.e031"><alternatives><graphic id="pone.0208793.e031g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e031" xlink:type="simple"/><mml:math display="block" id="M31"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>α</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>,</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:mo>±</mml:mo> <mml:mspace width="0.166667em"/><mml:msqrt><mml:mfrac><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi></mml:mrow> <mml:mrow><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi></mml:mrow></mml:mfrac></mml:msqrt> <mml:mspace width="0.166667em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(11)</label></disp-formula>
where the + is used if <bold>x</bold> ⋅ <bold>y</bold> &gt; 0 and the − is used if <bold>x</bold> ⋅ <bold>y</bold> &lt; 0. This satisfies the change of variables condition <xref ref-type="disp-formula" rid="pone.0208793.e015">Eq (4)</xref>, and this guarantees <italic>α</italic> is scale invariant. It is also reflectively invariant because it satisfies <xref ref-type="disp-formula" rid="pone.0208793.e029">Eq (9)</xref>. Another way to conclude that it is reflectively invariant is to note that the error function <xref ref-type="disp-formula" rid="pone.0208793.e030">Eq (10)</xref> is a symmetric function of <italic>E</italic><sub><italic>x</italic></sub> and <italic>E</italic><sub><italic>y</italic></sub>.</p>
<p>The minimizer in <xref ref-type="disp-formula" rid="pone.0208793.e031">Eq (11)</xref> is well-known and can be obtained in a number of ways. This includes using geometric mean regression [<xref ref-type="bibr" rid="pone.0208793.ref009">9</xref>], using the geometric means of the minimizers for Eqs <xref ref-type="disp-formula" rid="pone.0208793.e027">(7)</xref> and <xref ref-type="disp-formula" rid="pone.0208793.e028">(8)</xref>, and by using simple symmetry arguments [<xref ref-type="bibr" rid="pone.0208793.ref010">10</xref>]. What is not known is a way to generalize it to multilinear regression to obtain scale and reflectively invariant low dimensional approximations of data. What is presented below is one way this might be possible.</p>
<p>For ordinary least squares, one of the standard measures on how well the linear model fits the data is the coefficient of determination <italic>R</italic><sup>2</sup>. For the multidimensional generalizations of <xref ref-type="disp-formula" rid="pone.0208793.e030">Eq (10)</xref> considered later, a natural measure of fit involves the centroid of the error simplex. To explain what this is for this two dimensional problem, and connect it with <italic>R</italic>, let <italic>α</italic><sub><italic>x</italic></sub> and <italic>α</italic><sub><italic>y</italic></sub> be the minimizers of <italic>E</italic><sub><italic>x</italic></sub> and <italic>E</italic><sub><italic>y</italic></sub>, respectively. The centroid in this case is <italic>α</italic><sub><italic>c</italic></sub> = (<italic>α</italic><sub><italic>x</italic></sub> + <italic>α</italic><sub><italic>y</italic></sub>)/2. The error measure to be introduced concerns how <italic>α</italic>, the minimizer of <italic>E</italic>, differs from the centroid, relative to the width of the simplex. The resulting formula is
<disp-formula id="pone.0208793.e032"><alternatives><graphic id="pone.0208793.e032g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e032" xlink:type="simple"/><mml:math display="block" id="M32"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>C</mml:mi> <mml:mi>F</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mo>|</mml:mo> <mml:mfrac><mml:mrow><mml:mi>α</mml:mi> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>c</mml:mi></mml:msub></mml:mrow> <mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>x</mml:mi></mml:msub></mml:mrow></mml:mfrac> <mml:mo>|</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Now, using the law of cosines <bold>x</bold> ⋅ <bold>y</bold> = ||<bold>x</bold>||<sub>2</sub> ⋅ ||<bold>y</bold>||<sub>2</sub>cos <italic>θ</italic>, where <italic>θ</italic> is the angle between <bold>x</bold> and <bold>y</bold>, then <italic>α</italic><sub><italic>x</italic></sub> = <italic>α</italic>/cos <italic>θ</italic> and <italic>α</italic><sub><italic>y</italic></sub> = <italic>α</italic> cos <italic>θ</italic>. Moreover, <italic>R</italic><sup>2</sup> = cos<sup>2</sup> <italic>θ</italic>, which gives a (signed) value of <italic>R</italic> = cos <italic>θ</italic>. Combining these formulas, the result is
<disp-formula id="pone.0208793.e033"><alternatives><graphic id="pone.0208793.e033g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e033" xlink:type="simple"/><mml:math display="block" id="M33"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>C</mml:mi> <mml:mi>F</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mn>2</mml:mn></mml:mfrac> <mml:mo>·</mml:mo> <mml:mfrac><mml:mrow><mml:mn>1</mml:mn> <mml:mo>-</mml:mo> <mml:mo>|</mml:mo> <mml:mi>R</mml:mi> <mml:mo>|</mml:mo></mml:mrow> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>+</mml:mo> <mml:mo>|</mml:mo> <mml:mi>R</mml:mi> <mml:mo>|</mml:mo></mml:mrow></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Consequently, the better the fit (the closer <italic>R</italic><sup>2</sup> is to one), the closer the minimizer of <italic>E</italic> is to the centroid of the error simplex formed from the minimizers of <italic>E</italic><sub><italic>x</italic></sub> and <italic>E</italic><sub><italic>y</italic></sub>.</p>
</sec>
</sec>
<sec id="sec006">
<title>Multilinear regression: Single component approximation</title>
<p>It is now assumed that there are <italic>m</italic> variables, so <bold>p</bold> = (<italic>p</italic><sub>1</sub>, <italic>p</italic><sub>2</sub>, ⋯, <italic>p</italic><sub><italic>m</italic></sub>)<sup><italic>T</italic></sup>. The centered data vectors for each variable are <bold>p</bold><sub>1</sub> = (<italic>p</italic><sub>11</sub>, <italic>p</italic><sub>12</sub>, ⋯, <italic>p</italic><sub>1<italic>n</italic></sub>)<sup><italic>T</italic></sup>, <bold>p</bold><sub>2</sub> = (<italic>p</italic><sub>21</sub>, <italic>p</italic><sub>22</sub>, ⋯, <italic>p</italic><sub>2<italic>n</italic></sub>)<sup><italic>T</italic></sup>, ⋯, <bold>p</bold><sub><italic>m</italic></sub> = (<italic>p</italic><sub><italic>m</italic>1</sub>, <italic>p</italic><sub><italic>m</italic>2</sub>, ⋯, <italic>p</italic><sub><italic>mn</italic></sub>)<sup><italic>T</italic></sup>. It is assumed that no two of these vectors are orthogonal.</p>
<p>One of the central components of a PCA is the ability to find low dimensional approximations of the form <bold>p</bold> = <italic>α</italic><sub>1</sub><bold>v</bold><sub>1</sub> + ⋯+ <italic>α</italic><sub><italic>k</italic></sub><bold>v</bold><sub><italic>k</italic></sub>, where 1 ≤ <italic>k</italic> &lt; <italic>m</italic>. The question is whether something similar can be done for a scale and reflectively invariant approximation. One possibility, which is pursued here, is to use the geometric mean of the ordinary least squares functions.</p>
<p>We begin with a one dimensional subspace, which means that <bold>p</bold> = <italic>α</italic><bold>v</bold>. In what follows this is rewritten as <italic>p</italic><sub>2</sub> = <italic>α</italic><sub>2</sub><italic>p</italic><sub>1</sub>, <italic>p</italic><sub>3</sub> = <italic>α</italic><sub>3</sub><italic>p</italic><sub>1</sub>, ⋯, <italic>p</italic><sub><italic>m</italic></sub> = <italic>α</italic><sub><italic>m</italic></sub><italic>p</italic><sub>1</sub>. The corresponding individual error functions are then
<disp-formula id="pone.0208793.e034"><alternatives><graphic id="pone.0208793.e034g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e034" xlink:type="simple"/><mml:math display="block" id="M34"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mi>E</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:mo>[</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>3</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>3</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>]</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mi>E</mml:mi> <mml:mn>2</mml:mn></mml:msub></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:mo>[</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>3</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>3</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>]</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>⋮</mml:mo> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mspace width="2.em"/><mml:mspace width="2.em"/><mml:mo>⋮</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mi>E</mml:mi> <mml:mi>m</mml:mi></mml:msub></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:mo>[</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>]</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Letting <italic>α</italic><sub>1</sub> = 1, the general form of the above can be written as
<disp-formula id="pone.0208793.e035"><alternatives><graphic id="pone.0208793.e035g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e035" xlink:type="simple"/><mml:math display="block" id="M35"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mi>E</mml:mi> <mml:mi>j</mml:mi></mml:msub></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:mo>[</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>j</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>j</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>j</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msubsup><mml:mi>α</mml:mi> <mml:mrow><mml:mi>j</mml:mi></mml:mrow> <mml:mn>2</mml:mn></mml:msubsup> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>/</mml:mo> <mml:msubsup><mml:mi>α</mml:mi> <mml:mn>1</mml:mn> <mml:mn>2</mml:mn></mml:msubsup> <mml:mo>+</mml:mo> <mml:mo>⋯</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mspace width="2.em"/><mml:mspace width="2.em"/><mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>+</mml:mo> <mml:msubsup><mml:mi>α</mml:mi> <mml:mrow><mml:mi>j</mml:mi></mml:mrow> <mml:mn>2</mml:mn></mml:msubsup> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>/</mml:mo> <mml:msubsup><mml:mi>α</mml:mi> <mml:mi>m</mml:mi> <mml:mn>2</mml:mn></mml:msubsup> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(12)</label></disp-formula></p>
<p>After factoring, this can be written in the more compact form
<disp-formula id="pone.0208793.e036"><alternatives><graphic id="pone.0208793.e036g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e036" xlink:type="simple"/><mml:math display="block" id="M36"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>k</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>m</mml:mi></mml:munderover><mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mfrac><mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mi>k</mml:mi></mml:msub></mml:mfrac> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mo>)</mml:mo> <mml:mo>·</mml:mo> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mfrac><mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mi>k</mml:mi></mml:msub></mml:mfrac> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(13)</label></disp-formula></p>
<p>It is worth pointing out that if one of the <italic>E</italic><sub><italic>j</italic></sub>’s is zero, then they are all zero.</p>
<p>The resulting error function, which comes from the geometric mean of the <italic>E</italic><sub><italic>j</italic></sub>’s, is <italic>E</italic> = (<italic>E</italic><sub>1</sub> <italic>E</italic><sub>2</sub>⋯<italic>E</italic><sub><italic>m</italic></sub>)<sup>1/<italic>m</italic></sup>. As stated earlier, this is reflectively invariant because of the symmetric dependence of <italic>E</italic> on the individual error functions.</p>
<p>To make the connection between the minimizer of <italic>E</italic> and the error centroid, the minimizer for each <italic>E</italic><sub><italic>j</italic></sub> is needed. Finding them is straightforward. Namely, setting the first partials of <italic>E</italic><sub><italic>j</italic></sub> to zero, one finds that
<disp-formula id="pone.0208793.e037"><alternatives><graphic id="pone.0208793.e037g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e037" xlink:type="simple"/><mml:math display="block" id="M37"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mrow> <mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(14)</label></disp-formula>
and, for <italic>i</italic> ≠ <italic>j</italic>,
<disp-formula id="pone.0208793.e038"><alternatives><graphic id="pone.0208793.e038g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e038" xlink:type="simple"/><mml:math display="block" id="M38"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>i</mml:mi></mml:msub></mml:mrow> <mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac> <mml:mspace width="0.166667em"/><mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(15)</label></disp-formula></p>
<p>Note that these use the stated assumption that the data vectors are not orthogonal. Also, the above expressions hold in the case of when <italic>j</italic> = 1 because <italic>α</italic><sub>1</sub> = 1.</p>
<p>Assume now that the data are close to linear, which means that <bold>p</bold><sub><italic>i</italic></sub> = <italic>α</italic><sub><italic>i</italic>0</sub><bold>p</bold><sub>10</sub> + <italic>ε</italic><bold>p</bold><sub><italic>i</italic>1</sub>, for <italic>i</italic> = 1, 2, ⋯, <italic>m</italic>. Given a value for <italic>j</italic> in <xref ref-type="disp-formula" rid="pone.0208793.e036">Eq (13)</xref>, the corresponding asymptotic expansions of its minimizing coefficients, for small <italic>ε</italic>, have the form
<disp-formula id="pone.0208793.e039"><alternatives><graphic id="pone.0208793.e039g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e039" xlink:type="simple"/><mml:math display="block" id="M39"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>∼</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:msup><mml:mi>ε</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>2</mml:mn></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>,</mml:mo> <mml:mspace width="0.166667em"/><mml:mspace width="4.pt"/><mml:mtext>for</mml:mtext> <mml:mspace width="4.pt"/><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mn>2</mml:mn> <mml:mo>,</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>,</mml:mo> <mml:mi>m</mml:mi> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Note that in the case <italic>i</italic> = 1, the coefficients are <italic>α</italic><sub>10</sub> = 1 and <italic>α</italic><sub>11</sub> = <italic>α</italic><sub>12</sub> = 0. The <italic>α</italic><sub><italic>i</italic>0</sub>’s are assumed to be known, and the other coefficients are determined by minimizing the error. In preparation for this, note that
<disp-formula id="pone.0208793.e040"><alternatives><graphic id="pone.0208793.e040g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e040" xlink:type="simple"/><mml:math display="block" id="M40"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mfrac><mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mi>k</mml:mi></mml:msub></mml:mfrac> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>∼</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>10</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:mfrac><mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow> <mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>k</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>k</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac> <mml:mo>(</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>k</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>10</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>k</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>∼</mml:mo> <mml:mi>ε</mml:mi> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>j</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">q</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi mathvariant="bold">q</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
where (<italic>i</italic> = <italic>j</italic>, <italic>k</italic>)
<disp-formula id="pone.0208793.e041"><alternatives><graphic id="pone.0208793.e041g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e041" xlink:type="simple"/><mml:math display="block" id="M41"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold">q</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mfrac> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>10</mml:mn></mml:msub> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>From <xref ref-type="disp-formula" rid="pone.0208793.e036">Eq (13)</xref> it follows that
<disp-formula id="pone.0208793.e042"><alternatives><graphic id="pone.0208793.e042g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e042" xlink:type="simple"/><mml:math display="block" id="M42"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>∼</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:msubsup><mml:mi>α</mml:mi> <mml:mrow><mml:mi>j</mml:mi> <mml:mn>0</mml:mn></mml:mrow> <mml:mn>2</mml:mn></mml:msubsup></mml:mfrac> <mml:msup><mml:mi>ε</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>k</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>m</mml:mi></mml:munderover> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">q</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi mathvariant="bold">q</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mo>)</mml:mo> <mml:mo>·</mml:mo> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">q</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi mathvariant="bold">q</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Minimizing this determines the <italic>α</italic><sub><italic>i</italic>1</sub>’s, and this yields
<disp-formula id="pone.0208793.e043"><alternatives><graphic id="pone.0208793.e043g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e043" xlink:type="simple"/><mml:math display="block" id="M43"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>∼</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mi>ε</mml:mi> <mml:mfrac><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>10</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>i</mml:mi> <mml:mn>0</mml:mn></mml:mrow></mml:msub> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow></mml:mrow> <mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>10</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>10</mml:mn></mml:msub></mml:mrow></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>,</mml:mo> <mml:mspace width="4.pt"/><mml:mtext>for</mml:mtext> <mml:mspace width="4.pt"/><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>2</mml:mn> <mml:mo>,</mml:mo> <mml:mn>3</mml:mn> <mml:mo>,</mml:mo> <mml:mo>⋯</mml:mo> <mml:mi>m</mml:mi> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(16)</label></disp-formula></p>
<p>What is significant about this is that the first two terms in the expansions for the <italic>α</italic><sub><italic>i</italic></sub>’s do not depend on <italic>j</italic>. In other words, to <italic>O</italic>(<italic>ε</italic>), the <italic>E</italic><sub><italic>j</italic></sub>’s have the same minimizer. Because of this, it immediately follows that through terms of order <italic>ε</italic>, the minimizer of the error function <italic>E</italic> equals the centroid formed from the minimizers of the <italic>E</italic><sub><italic>j</italic></sub>’s. Expressed mathematically, if <bold><italic>α</italic></bold> is the minimizer of <italic>E</italic>, and <bold><italic>α</italic></bold><sub><italic>j</italic></sub> the minimizer of <italic>E</italic><sub><italic>j</italic></sub>, then
<disp-formula id="pone.0208793.e044"><alternatives><graphic id="pone.0208793.e044g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e044" xlink:type="simple"/><mml:math display="block" id="M44"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mi>m</mml:mi></mml:mfrac> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>j</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>m</mml:mi></mml:munderover> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>+</mml:mo> <mml:mi>O</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:msup><mml:mi>ε</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(17)</label></disp-formula></p>
<p>It also follows from this analysis that, for small <italic>ε</italic>, the error function <italic>E</italic> is strictly convex in the neighborhood of the minimum.</p>
<sec id="sec007">
<title>Example in <inline-formula id="pone.0208793.e045"><alternatives><graphic id="pone.0208793.e045g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e045" xlink:type="simple"/><mml:math display="inline" id="M45"><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi> <mml:mn>3</mml:mn></mml:msup></mml:math></alternatives></inline-formula></title>
<p>As an example, in <inline-formula id="pone.0208793.e046"><alternatives><graphic id="pone.0208793.e046g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e046" xlink:type="simple"/><mml:math display="inline" id="M46"><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi> <mml:mn>3</mml:mn></mml:msup></mml:math></alternatives></inline-formula>, for the line with <italic>α</italic><sub>2</sub> = 3 and <italic>α</italic><sub>3</sub> = 5, 40 randomized points within a distance of 0.2 of the line are used for the data (see <xref ref-type="fig" rid="pone.0208793.g002">Fig 2</xref>). For notational simplicity, let <italic>p</italic><sub>1</sub> = <italic>x</italic>, <italic>p</italic><sub>2</sub> = <italic>y</italic>, <italic>p</italic><sub>3</sub> = <italic>z</italic>, <italic>α</italic><sub>2</sub> = <italic>α</italic>, and <italic>α</italic><sub>3</sub> = <italic>β</italic>. The location of the minimizer of <italic>E</italic> was found using MATLAB’s <italic>fminsearch</italic> command, and the location is shown in <xref ref-type="fig" rid="pone.0208793.g003">Fig 3</xref>. Also shown are the locations of the minimizers for <italic>E</italic><sub><italic>x</italic></sub>, <italic>E</italic><sub><italic>y</italic></sub>, and <italic>E</italic><sub><italic>z</italic></sub>, determined by Eqs <xref ref-type="disp-formula" rid="pone.0208793.e037">(14)</xref> and <xref ref-type="disp-formula" rid="pone.0208793.e038">(15)</xref>, as well as the associated triangular region formed by these three points. For comparison, the location of the solution as determined using an unscaled PCA is shown. An important observation coming from this figure is that the minimizer for the scale (and reflectively) invariant error function <italic>E</italic> = (<italic>E</italic><sub><italic>x</italic></sub><italic>E</italic><sub><italic>y</italic></sub><italic>E</italic><sub><italic>z</italic></sub>)<sup>1/3</sup> is located near the centroid of the triangle. This is expected because of <xref ref-type="disp-formula" rid="pone.0208793.e044">Eq (17)</xref>.</p>
<fig id="pone.0208793.g002" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g002</object-id>
<label>Fig 2</label>
<caption>
<title>Data used for line fitting example in <inline-formula id="pone.0208793.e047"><alternatives><graphic id="pone.0208793.e047g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e047" xlink:type="simple"/><mml:math display="inline" id="M47"><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi> <mml:mn>3</mml:mn></mml:msup></mml:math></alternatives></inline-formula>.</title>
<p>The red line is the linear fit determined by minimizing <italic>E</italic> = (<italic>E</italic><sub><italic>x</italic></sub><italic>E</italic><sub><italic>y</italic></sub><italic>E</italic><sub><italic>z</italic></sub>)<sup>1/3</sup>.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g002" xlink:type="simple"/>
</fig>
<fig id="pone.0208793.g003" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g003</object-id>
<label>Fig 3</label>
<caption>
<title>Location of minimizer for the error function <italic>E</italic> = (<italic>E</italic><sub><italic>x</italic></sub><italic>E</italic><sub><italic>y</italic></sub><italic>E</italic><sub><italic>z</italic></sub>)<sup>1/3</sup>, as well as the location determined using an unscaled PCA.</title>
<p>Vertices of the triangle (simplex) are the locations of the minimizers of <italic>E</italic><sub><italic>x</italic></sub>, <italic>E</italic><sub><italic>y</italic></sub>, and <italic>E</italic><sub><italic>z</italic></sub>.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g003" xlink:type="simple"/>
</fig>
<p>It is worth having a way to characterize how close the minimizer and centroid are, to provide a measure for the goodness of fit. One possibility is to use the maximum distance relative to the width of the simplex, as given by the formula
<disp-formula id="pone.0208793.e048"><alternatives><graphic id="pone.0208793.e048g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e048" xlink:type="simple"/><mml:math display="block" id="M48"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>C</mml:mi> <mml:mi>F</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mo form="prefix" movablelimits="true">max</mml:mo> <mml:mo>{</mml:mo> <mml:mfrac><mml:mrow><mml:mrow><mml:mo>|</mml:mo> <mml:mi>α</mml:mi> <mml:mo>-</mml:mo></mml:mrow> <mml:msub><mml:mi>α</mml:mi> <mml:mi>c</mml:mi></mml:msub> <mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mrow> <mml:msub><mml:mi>w</mml:mi> <mml:mi>α</mml:mi></mml:msub></mml:mfrac> <mml:mspace width="0.166667em"/><mml:mo>,</mml:mo> <mml:mfrac><mml:mrow><mml:mrow><mml:mo>|</mml:mo> <mml:mi>β</mml:mi> <mml:mo>-</mml:mo></mml:mrow> <mml:msub><mml:mi>β</mml:mi> <mml:mi>c</mml:mi></mml:msub> <mml:mrow><mml:mo>|</mml:mo></mml:mrow></mml:mrow> <mml:msub><mml:mi>w</mml:mi> <mml:mi>β</mml:mi></mml:msub></mml:mfrac> <mml:mo>}</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(18)</label></disp-formula>
where (<italic>α</italic><sub><italic>c</italic></sub>, <italic>β</italic><sub><italic>c</italic></sub>) is the centroid, <italic>w</italic><sub><italic>α</italic></sub> = max{<italic>α</italic><sub><italic>x</italic></sub>, <italic>α</italic><sub><italic>y</italic></sub>, <italic>α</italic><sub><italic>z</italic></sub>} − min{<italic>α</italic><sub><italic>x</italic></sub>, <italic>α</italic><sub><italic>y</italic></sub>, <italic>α</italic><sub><italic>z</italic></sub>}, <italic>w</italic><sub><italic>β</italic></sub> = max{<italic>β</italic><sub><italic>x</italic></sub>, <italic>β</italic><sub><italic>y</italic></sub>, <italic>β</italic><sub><italic>z</italic></sub>} − min{<italic>β</italic><sub><italic>x</italic></sub>, <italic>β</italic><sub><italic>y</italic></sub>, <italic>β</italic><sub><italic>z</italic></sub>}. In these expressions, (<italic>α</italic><sub><italic>x</italic></sub>, <italic>β</italic><sub><italic>x</italic></sub>), (<italic>α</italic><sub><italic>y</italic></sub>, <italic>β</italic><sub><italic>y</italic></sub>), and (<italic>α</italic><sub><italic>z</italic></sub>, <italic>β</italic><sub><italic>z</italic></sub>) are the minimizers of <italic>E</italic><sub><italic>x</italic></sub>, <italic>E</italic><sub><italic>y</italic></sub>, and <italic>E</italic><sub><italic>z</italic></sub>, respectively, and they determine the error simplex in <xref ref-type="fig" rid="pone.0208793.g003">Fig 3</xref>. For the solution shown in <xref ref-type="fig" rid="pone.0208793.g003">Fig 3</xref>, <italic>C</italic><sub><italic>F</italic></sub> ≈ 0.01.</p>
<p>Finally, in finding the minimizer the question of whether or not the error function is convex arises. To verify this, its contour and surface plot are shown in <xref ref-type="fig" rid="pone.0208793.g004">Fig 4</xref>. Note that, because of the assumed form of the model function in this example, the error functions <italic>E</italic><sub><italic>x</italic></sub>, <italic>E</italic><sub><italic>y</italic></sub>, and <italic>E</italic><sub><italic>z</italic></sub>, and <italic>E</italic> are undefined when either <italic>α</italic> or <italic>β</italic> are zero. The statement that <italic>E</italic> is convex refers to its dependence on <italic>α</italic> and <italic>β</italic> in the quadrant in which the minimizers are located.</p>
<fig id="pone.0208793.g004" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g004</object-id>
<label>Fig 4</label>
<caption>
<title>Contour and surface plots for error function <italic>E</italic> = (<italic>E</italic><sub><italic>x</italic></sub><italic>E</italic><sub><italic>y</italic></sub><italic>E</italic><sub><italic>z</italic></sub>)<sup>1/3</sup>, using the the data in <xref ref-type="fig" rid="pone.0208793.g002">Fig 2</xref>.</title>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g004" xlink:type="simple"/>
</fig>
</sec>
</sec>
<sec id="sec008">
<title>Multilinear regression: (<italic>m</italic> − 1)-component approximation</title>
<p>The assumptions on the data are the same as for the one-dimensional approximation considered above. As for the model function, it is a hyperplane that is written as <italic>p</italic><sub><italic>m</italic></sub> = <italic>α</italic><sub>1</sub><italic>p</italic><sub>1</sub> + <italic>α</italic><sub>2</sub> <italic>p</italic><sub>2</sub>+ ⋯+ <italic>α</italic><sub><italic>m</italic>−1</sub> <italic>p</italic><sub><italic>m</italic>−1</sub>. The associated individual error functions are
<disp-formula id="pone.0208793.e049"><alternatives><graphic id="pone.0208793.e049g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e049" xlink:type="simple"/><mml:math display="block" id="M49"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:msubsup><mml:mi>α</mml:mi> <mml:mi>j</mml:mi> <mml:mn>2</mml:mn></mml:msubsup></mml:mfrac> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>,</mml:mo> <mml:mspace width="1.em"/><mml:mspace width="4.pt"/><mml:mtext>for</mml:mtext> <mml:mspace width="4.pt"/><mml:mi>j</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mn>2</mml:mn> <mml:mo>,</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>,</mml:mo> <mml:mi>m</mml:mi> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(19)</label></disp-formula>
where <italic>α</italic><sub><italic>m</italic></sub> = 1. With this, the composite error function is
<disp-formula id="pone.0208793.e050"><alternatives><graphic id="pone.0208793.e050g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e050" xlink:type="simple"/><mml:math display="block" id="M50"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>E</mml:mi> <mml:mo>(</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>,</mml:mo></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>,</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>,</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mrow><mml:mo>)</mml:mo> <mml:mo>=</mml:mo></mml:mrow> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>E</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi>E</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>⋯</mml:mo> <mml:msub><mml:mi>E</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:mi>m</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>⋯</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>2</mml:mn> <mml:mo>/</mml:mo> <mml:mi>m</mml:mi></mml:mrow></mml:msup></mml:mfrac> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>1</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>-</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mi>i</mml:mi></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(20)</label></disp-formula></p>
<p>Letting <bold><italic>α</italic></bold> = (<italic>α</italic><sub>1</sub>, <italic>α</italic><sub>2</sub>, ⋯, <italic>α</italic><sub><italic>m</italic>−1</sub>, −1)<sup><italic>T</italic></sup> and <bold>P</bold> = (<bold>p</bold><sub>1</sub> <bold>p</bold><sub>2</sub> ⋯ <bold>p</bold><sub><italic>m</italic></sub>), then this error function can be written as
<disp-formula id="pone.0208793.e051"><alternatives><graphic id="pone.0208793.e051g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e051" xlink:type="simple"/><mml:math display="block" id="M51"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>E</mml:mi> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>⋯</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>2</mml:mn> <mml:mo>/</mml:mo> <mml:mi>m</mml:mi></mml:mrow></mml:msup></mml:mfrac> <mml:msubsup><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>|</mml:mo> <mml:mo>|</mml:mo></mml:mrow> <mml:mn>2</mml:mn> <mml:mn>2</mml:mn></mml:msubsup> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(21)</label></disp-formula></p>
<p>To obtain the connection between the minimizer of <italic>E</italic> and the centroid of the error simplex we need the minimizers for the <italic>E</italic><sub><italic>j</italic></sub>’s. To determine them, note that for <italic>k</italic> = 1, 2, ⋯, <italic>m</italic> − 1,
<disp-formula id="pone.0208793.e052"><alternatives><graphic id="pone.0208793.e052g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e052" xlink:type="simple"/><mml:math display="block" id="M52"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>∂</mml:mi> <mml:msub><mml:mi>α</mml:mi> <mml:mi>k</mml:mi></mml:msub></mml:msub> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>=</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Also, from <xref ref-type="disp-formula" rid="pone.0208793.e049">Eq (19)</xref>, <inline-formula id="pone.0208793.e053"><alternatives><graphic id="pone.0208793.e053g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e053" xlink:type="simple"/><mml:math display="inline" id="M53"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>/</mml:mo> <mml:msubsup><mml:mi>α</mml:mi> <mml:mi>j</mml:mi> <mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:math></alternatives></inline-formula>. Consequently,
<disp-formula id="pone.0208793.e054"><alternatives><graphic id="pone.0208793.e054g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e054" xlink:type="simple"/><mml:math display="block" id="M54"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>∂</mml:mi> <mml:msub><mml:mi>α</mml:mi> <mml:mi>k</mml:mi></mml:msub></mml:msub> <mml:msub><mml:mi>E</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>2</mml:mn> <mml:msubsup><mml:mi>α</mml:mi> <mml:mi>j</mml:mi> <mml:mn>2</mml:mn></mml:msubsup></mml:mfrac> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>·</mml:mo> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>k</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mfrac><mml:msub><mml:mi>δ</mml:mi> <mml:mrow><mml:mi>k</mml:mi> <mml:mi>j</mml:mi></mml:mrow></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mi>j</mml:mi></mml:msub></mml:mfrac> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
where <italic>δ</italic><sub><italic>kj</italic></sub> is the Kronecker delta. To determine the equation to solve to find the minimizer, consider the case for <italic>E</italic><sub>1</sub>. Setting ∇<sub><italic>α</italic></sub><italic>E</italic><sub>1</sub> = <bold>0</bold>, yields the (<italic>m</italic> − 1) × (<italic>m</italic> − 1) system of equations
<disp-formula id="pone.0208793.e055"><alternatives><graphic id="pone.0208793.e055g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e055" xlink:type="simple"/><mml:math display="block" id="M55"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">A</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>=</mml:mo> <mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mo>⋮</mml:mo></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(22)</label></disp-formula>
where <bold>A</bold> consists of the first <italic>m</italic> − 1 rows of <bold>P</bold><sup><italic>T</italic></sup><bold>P</bold>. Since <bold>P<italic>α</italic></bold> ⋅ <bold>P<italic>α</italic></bold> = <bold><italic>α</italic></bold> ⋅ (<bold>P</bold><sup><italic>T</italic></sup><bold>P</bold>)<bold><italic>α</italic></bold>, then, letting <bold>r</bold><sup><italic>T</italic></sup> be the <italic>m</italic>th row of <bold>P</bold><sup><italic>T</italic></sup><bold>P</bold>,
<disp-formula id="pone.0208793.e056"><alternatives><graphic id="pone.0208793.e056g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e056" xlink:type="simple"/><mml:math display="block" id="M56"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>·</mml:mo> <mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi mathvariant="bold">A</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:msup><mml:mi mathvariant="bold">r</mml:mi> <mml:mi>T</mml:mi></mml:msup></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>-</mml:mo> <mml:mi mathvariant="bold">r</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>This means that <xref ref-type="disp-formula" rid="pone.0208793.e055">Eq (22)</xref> can be replaced with the equation <bold>R<italic>α</italic></bold> = <bold>0</bold>, where <bold>R</bold> is the matrix obtained by removing the first row from <bold>P</bold><sup><italic>T</italic></sup><bold>P</bold>. In a similar manner, the minimizer for <italic>E</italic><sub><italic>j</italic></sub> is found by solving the equation obtained by removing the <italic>j</italic>th row from <bold>P</bold><sup><italic>T</italic></sup><bold>P</bold>. To be more explicit about what equation needs to be solved, for <italic>E</italic><sub>1</sub>, it is
<disp-formula id="pone.0208793.e057"><alternatives><graphic id="pone.0208793.e057g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e057" xlink:type="simple"/><mml:math display="block" id="M57"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>⋯</mml:mo> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:mo>⋮</mml:mo> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>⋮</mml:mo> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>⋯</mml:mo> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>⋮</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>⋯</mml:mo> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>⋯</mml:mo> <mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd><mml:mrow><mml:mspace width="0.166667em"/><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd><mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mo>⋮</mml:mo></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mo>⋮</mml:mo></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>·</mml:mo> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>In general, the coefficient matrix for <italic>E</italic><sub><italic>j</italic></sub> is the (<italic>m</italic> − 1) × (<italic>m</italic> − 1) matrix that is obtained by removing the <italic>j</italic>th row and <italic>m</italic>th column from <bold>P</bold><sup><italic>T</italic></sup><bold>P</bold>, and the right hand side is the (<italic>m</italic> − 1)-vector that is obtained by removing the <italic>j</italic>th entry in the <italic>m</italic>th column of <bold>P</bold><sup><italic>T</italic></sup><bold>P</bold>.</p>
<p>To establish the connection between the centroid and the minimizer of <italic>E</italic>, assume that the data are close to planar. Specifically, letting <bold>P</bold> = <bold>P</bold><sub>0</sub> + <italic>ε</italic> <bold>P</bold><sub>1</sub>, then for small <italic>ε</italic>, <bold><italic>α</italic></bold> ∼ <italic><bold>α</bold></italic><sub>0</sub> + <italic>ε<bold>α</bold></italic><sub>1</sub> + <italic>ε</italic><sup>2</sup> <italic><bold>α</bold></italic><sub>2</sub>+ ⋯, where <bold>P</bold><sub>0</sub><italic><bold>α</bold></italic><sub>0</sub> = <bold>0</bold>. Now, setting ∇<sub><italic>α</italic></sub> <italic>E</italic> = <bold>0</bold>, the problem to solve is
<disp-formula id="pone.0208793.e058"><alternatives><graphic id="pone.0208793.e058g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e058" xlink:type="simple"/><mml:math display="block" id="M58"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">A</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mi>m</mml:mi></mml:mfrac> <mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mo>⋮</mml:mo></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">P</mml:mi> <mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(23)</label></disp-formula></p>
<p>Also, <bold>A</bold> = <bold>A</bold><sub>0</sub> + <italic>ε</italic><bold>A</bold><sub>1</sub> + <italic>ε</italic><sup>2</sup><bold>A</bold><sub>2</sub> + ⋯, where <bold>A</bold><sub>0</sub>, <bold>A</bold><sub>1</sub>, <bold>A</bold><sub>2</sub> are the first (<italic>m</italic> − 1)-rows of <inline-formula id="pone.0208793.e059"><alternatives><graphic id="pone.0208793.e059g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e059" xlink:type="simple"/><mml:math display="inline" id="M59"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn> <mml:mi>T</mml:mi></mml:msubsup> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>, <inline-formula id="pone.0208793.e060"><alternatives><graphic id="pone.0208793.e060g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e060" xlink:type="simple"/><mml:math display="inline" id="M60"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn> <mml:mi>T</mml:mi></mml:msubsup> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msubsup><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn> <mml:mi>T</mml:mi></mml:msubsup> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>, and <inline-formula id="pone.0208793.e061"><alternatives><graphic id="pone.0208793.e061g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e061" xlink:type="simple"/><mml:math display="inline" id="M61"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn> <mml:mi>T</mml:mi></mml:msubsup> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:math></alternatives></inline-formula>, respectively. With this, the <italic>O</italic>(<italic>ε</italic>) problem that comes from <xref ref-type="disp-formula" rid="pone.0208793.e058">Eq (23)</xref> is
<disp-formula id="pone.0208793.e062"><alternatives><graphic id="pone.0208793.e062g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e062" xlink:type="simple"/><mml:math display="block" id="M62"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:mo>=</mml:mo> <mml:mn mathvariant="bold">0</mml:mn> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(24)</label></disp-formula>
and the <italic>O</italic>(<italic>ε</italic><sup>2</sup>) problem is
<disp-formula id="pone.0208793.e063"><alternatives><graphic id="pone.0208793.e063g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e063" xlink:type="simple"/><mml:math display="block" id="M63"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mi>m</mml:mi></mml:mfrac> <mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>10</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>20</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mo>⋮</mml:mo></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:mo>)</mml:mo> <mml:mo>·</mml:mo> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(25)</label></disp-formula></p>
<p>In comparison, using the same form for the expansions for <italic>E</italic><sub>1</sub>, then one finds from <xref ref-type="disp-formula" rid="pone.0208793.e055">Eq (22)</xref> that the <italic>O</italic>(<italic>ε</italic>) equation is the same as the one given in <xref ref-type="disp-formula" rid="pone.0208793.e062">Eq (24)</xref>. This is also true for the other <italic>E</italic><sub><italic>j</italic></sub>’s. Therefore, the <italic><bold>α</bold></italic><sub>1</sub> term for the centroid and for minimizer of <italic>E</italic> are equal (as is the <italic><bold>α</bold></italic><sub>0</sub> term). As for the <italic>O</italic>(<italic>ε</italic><sup>2</sup>) term, for <italic>E</italic><sub>1</sub>, one finds from <xref ref-type="disp-formula" rid="pone.0208793.e055">Eq (22)</xref> that the problem to solve is
<disp-formula id="pone.0208793.e064"><alternatives><graphic id="pone.0208793.e064g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e064" xlink:type="simple"/><mml:math display="block" id="M64"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">A</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:mo>=</mml:mo> <mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>10</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mo>⋮</mml:mo></mml:mtd></mml:mtr> <mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:mo>)</mml:mo> <mml:mo>·</mml:mo> <mml:mo>(</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>+</mml:mo> <mml:msub><mml:mi mathvariant="bold">P</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mn>0</mml:mn></mml:msub> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(26)</label></disp-formula></p>
<p>The equations for the other <italic>E</italic><sub><italic>j</italic></sub>’s are the same except for the appropriate modification of the first vector on the right hand side of the equation. Given that <bold><italic>α</italic></bold><sub>0</sub> and <bold><italic>α</italic></bold><sub>1</sub> are the same for <italic>E</italic> and the <italic>E</italic><sub><italic>j</italic></sub>’s, it follows that the <italic>O</italic>(<italic>ε</italic><sup>2</sup>) term in the centroid and the minimizer of <italic>E</italic> are equal. Therefore, the conclusion is that the minimizer of <italic>E</italic> and the centroid are equal through terms of order <italic>ε</italic><sup>2</sup>. Expressed mathematically, if <bold><italic>α</italic></bold> is the minimizer of <italic>E</italic>, and <bold><italic>α</italic></bold><sub><italic>j</italic></sub> the minimizer of <italic>E</italic><sub><italic>j</italic></sub>, then
<disp-formula id="pone.0208793.e065"><alternatives><graphic id="pone.0208793.e065g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e065" xlink:type="simple"/><mml:math display="block" id="M65"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mi>m</mml:mi></mml:mfrac> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>j</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>m</mml:mi></mml:munderover> <mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:mo>+</mml:mo> <mml:mi>O</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:msup><mml:mi>ε</mml:mi> <mml:mn>3</mml:mn></mml:msup> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(27)</label></disp-formula></p>
<sec id="sec009">
<title>Example in <inline-formula id="pone.0208793.e066"><alternatives><graphic id="pone.0208793.e066g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e066" xlink:type="simple"/><mml:math display="inline" id="M66"><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi> <mml:mn>3</mml:mn></mml:msup></mml:math></alternatives></inline-formula></title>
<p>As before, for notational simplicity, let <italic>p</italic><sub>1</sub> = <italic>x</italic>, <italic>p</italic><sub>2</sub> = <italic>y</italic>, <italic>p</italic><sub>3</sub> = <italic>z</italic>, <italic>α</italic><sub>2</sub> = <italic>α</italic>, and <italic>α</italic><sub>3</sub> = <italic>β</italic>. The model function can then be written as <italic>z</italic> = <italic>αx</italic> + <italic>βy</italic>. In this case, from <xref ref-type="disp-formula" rid="pone.0208793.e049">Eq (19)</xref>, the individual error functions are:
<disp-formula id="pone.0208793.e067"><alternatives><graphic id="pone.0208793.e067g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e067" xlink:type="simple"/><mml:math display="block" id="M67"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mi>E</mml:mi> <mml:mi>x</mml:mi></mml:msub></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>z</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>/</mml:mo> <mml:mi>α</mml:mi> <mml:mo>+</mml:mo> <mml:mi>β</mml:mi> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>/</mml:mo> <mml:mi>α</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>/</mml:mo> <mml:mi>α</mml:mi> <mml:mo>+</mml:mo> <mml:mn>2</mml:mn> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>/</mml:mo> <mml:mi>α</mml:mi> <mml:mo>+</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>/</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>/</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mi>β</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>/</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(28)</label></disp-formula> <disp-formula id="pone.0208793.e068"><alternatives><graphic id="pone.0208793.e068g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e068" xlink:type="simple"/><mml:math display="block" id="M68"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mi>E</mml:mi> <mml:mi>y</mml:mi></mml:msub></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>z</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>/</mml:mo> <mml:mi>β</mml:mi> <mml:mo>+</mml:mo> <mml:mi>α</mml:mi> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>/</mml:mo> <mml:mi>β</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>/</mml:mo> <mml:mi>β</mml:mi> <mml:mo>+</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>/</mml:mo> <mml:mi>β</mml:mi> <mml:mo>+</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>/</mml:mo> <mml:msup><mml:mi>β</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>/</mml:mo> <mml:msup><mml:mi>β</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>/</mml:mo> <mml:msup><mml:mi>β</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(29)</label></disp-formula> <disp-formula id="pone.0208793.e069"><alternatives><graphic id="pone.0208793.e069g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e069" xlink:type="simple"/><mml:math display="block" id="M69"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:msub><mml:mi>E</mml:mi> <mml:mi>z</mml:mi></mml:msub></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>z</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mi>α</mml:mi> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:mi>β</mml:mi> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>+</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>+</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>+</mml:mo> <mml:msup><mml:mi>β</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(30)</label></disp-formula></p>
<p>The minimizer <bold><italic>α</italic></bold><sub><italic>x</italic></sub> of <italic>E</italic><sub><italic>x</italic></sub> is
<disp-formula id="pone.0208793.e070"><alternatives><graphic id="pone.0208793.e070g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e070" xlink:type="simple"/><mml:math display="block" id="M70"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>)</mml:mo> <mml:mo>-</mml:mo> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>)</mml:mo> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mfrac> <mml:mo>(</mml:mo> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mtable><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>-</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>-</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mo>)</mml:mo><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(31)</label></disp-formula>
the minimizer <bold><italic>α</italic></bold><sub><italic>y</italic></sub> of <italic>E</italic><sub><italic>y</italic></sub> is
<disp-formula id="pone.0208793.e071"><alternatives><graphic id="pone.0208793.e071g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e071" xlink:type="simple"/><mml:math display="block" id="M71"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>)</mml:mo> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>)</mml:mo> <mml:mo>-</mml:mo> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>)</mml:mo> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mfrac> <mml:mo>(</mml:mo> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mtable><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>-</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>-</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mo>)</mml:mo><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(32)</label></disp-formula>
and the minimizer <bold><italic>α</italic></bold><sub><italic>z</italic></sub> of <italic>E</italic><sub><italic>z</italic></sub> is
<disp-formula id="pone.0208793.e072"><alternatives><graphic id="pone.0208793.e072g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e072" xlink:type="simple"/><mml:math display="block" id="M72"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">α</mml:mi> <mml:mi>z</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>-</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac> <mml:mo>(</mml:mo> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mtable><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>-</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>-</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mspace width="-0.166667em"/><mml:mspace width="-0.166667em"/><mml:mo>)</mml:mo><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(33)</label></disp-formula></p>
<p>The resulting error function based on the geometric mean is
<disp-formula id="pone.0208793.e073"><alternatives><graphic id="pone.0208793.e073g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e073" xlink:type="simple"/><mml:math display="block" id="M73"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>E</mml:mi> <mml:mo>(</mml:mo> <mml:mi>α</mml:mi> <mml:mo>,</mml:mo> <mml:mi>β</mml:mi> <mml:mo>)</mml:mo></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>E</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:msub><mml:mi>E</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:msub><mml:mi>E</mml:mi> <mml:mi>z</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd/><mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:msup><mml:mi>α</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mo>/</mml:mo> <mml:mn>3</mml:mn></mml:mrow></mml:msup> <mml:msup><mml:mi>β</mml:mi> <mml:mrow><mml:mn>2</mml:mn> <mml:mo>/</mml:mo> <mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac> <mml:mo>(</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>-</mml:mo> <mml:mn>2</mml:mn> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>+</mml:mo> <mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>+</mml:mo> <mml:mn>2</mml:mn> <mml:mi>α</mml:mi> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>+</mml:mo> <mml:msup><mml:mi>β</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(34)</label></disp-formula></p>
<p>Taking the first partials of this, and setting them to zero, one obtains the (nonlinear) system
<disp-formula id="pone.0208793.e074"><alternatives><graphic id="pone.0208793.e074g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e074" xlink:type="simple"/><mml:math display="block" id="M74"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msup><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>+</mml:mo> <mml:mi>α</mml:mi> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>+</mml:mo> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(35)</label></disp-formula> <disp-formula id="pone.0208793.e075"><alternatives><graphic id="pone.0208793.e075g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e075" xlink:type="simple"/><mml:math display="block" id="M75"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msup><mml:mi>β</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>+</mml:mo> <mml:mi>α</mml:mi> <mml:mi>β</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi> <mml:mo>+</mml:mo> <mml:mi>α</mml:mi> <mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(36)</label></disp-formula></p>
<p>These equations can be written in somewhat simpler terms by letting
<disp-formula id="pone.0208793.e076"><alternatives><graphic id="pone.0208793.e076g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e076" xlink:type="simple"/><mml:math display="block" id="M76"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>q</mml:mi> <mml:mo>=</mml:mo> <mml:mi>α</mml:mi> <mml:msqrt><mml:mfrac><mml:mrow><mml:mi mathvariant="bold">x</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">x</mml:mi></mml:mrow> <mml:mrow><mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mfrac></mml:msqrt> <mml:mspace width="1.em"/><mml:mtext>and</mml:mtext> <mml:mspace width="1.em"/><mml:mi>p</mml:mi> <mml:mo>=</mml:mo> <mml:mi>β</mml:mi> <mml:msqrt><mml:mfrac><mml:mrow><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">y</mml:mi></mml:mrow> <mml:mrow><mml:mi mathvariant="bold">z</mml:mi> <mml:mo>·</mml:mo> <mml:mi mathvariant="bold">z</mml:mi></mml:mrow></mml:mfrac></mml:msqrt> <mml:mspace width="0.166667em"/><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>Using the law of cosines, then Eqs <xref ref-type="disp-formula" rid="pone.0208793.e074">(35)</xref> and <xref ref-type="disp-formula" rid="pone.0208793.e075">(36)</xref> become
<disp-formula id="pone.0208793.e077"><alternatives><graphic id="pone.0208793.e077g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e077" xlink:type="simple"/><mml:math display="block" id="M77"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msup><mml:mi>q</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mi>p</mml:mi> <mml:mi>q</mml:mi> <mml:mo form="prefix">cos</mml:mo> <mml:msub><mml:mi>θ</mml:mi> <mml:mrow><mml:mi>x</mml:mi> <mml:mi>y</mml:mi></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mi>p</mml:mi> <mml:mo form="prefix">cos</mml:mo> <mml:msub><mml:mi>θ</mml:mi> <mml:mrow><mml:mi>y</mml:mi> <mml:mi>z</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(37)</label></disp-formula> <disp-formula id="pone.0208793.e078"><alternatives><graphic id="pone.0208793.e078g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e078" xlink:type="simple"/><mml:math display="block" id="M78"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msup><mml:mi>p</mml:mi> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:mi>p</mml:mi> <mml:mi>q</mml:mi> <mml:mo form="prefix">cos</mml:mo> <mml:msub><mml:mi>θ</mml:mi> <mml:mrow><mml:mi>x</mml:mi> <mml:mi>y</mml:mi></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mi>q</mml:mi> <mml:mo form="prefix">cos</mml:mo> <mml:msub><mml:mi>θ</mml:mi> <mml:mrow><mml:mi>x</mml:mi> <mml:mi>z</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>=</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(38)</label></disp-formula>
where <italic>θ</italic><sub><italic>xy</italic></sub> is the angle between <bold>x</bold> and <bold>y</bold> (with similar definitions for the other angles). An analytical formula for the solution of these equations is not apparent, but it is a simple matter to compute the solution numerically.</p>
<p>As an example, for the plane with <italic>α</italic> = −10 and <italic>β</italic> = 6, 40 randomized points within a distance of 0.15 of the plane were used for the data. The location of the minimizer of <italic>E</italic> was found by solving Eqs <xref ref-type="disp-formula" rid="pone.0208793.e074">(35)</xref> and <xref ref-type="disp-formula" rid="pone.0208793.e075">(36)</xref> using MATLAB’s <italic>fminsearch</italic> command, and the location is shown in <xref ref-type="fig" rid="pone.0208793.g005">Fig 5</xref>. Also shown are the locations of the minimizers for <italic>E</italic><sub><italic>x</italic></sub>, <italic>E</italic><sub><italic>y</italic></sub>, and <italic>E</italic><sub><italic>z</italic></sub>, and the associated triangular region formed by these three points. For comparison, the location of the solution as determined using an unscaled PCA is shown. As expected from <xref ref-type="disp-formula" rid="pone.0208793.e065">Eq (27)</xref>, the of <italic>E</italic> minimizer is located near the centroid of the triangle. To quantify the difference, using the formula in <xref ref-type="disp-formula" rid="pone.0208793.e048">Eq (18)</xref>, <italic>C</italic><sub><italic>F</italic></sub> ≈ 0.02. Finally, to demonstrate the convexity of the error function in the octant containing the minimizer, the contour and surface are shown in <xref ref-type="fig" rid="pone.0208793.g006">Fig 6</xref>.</p>
<fig id="pone.0208793.g005" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g005</object-id>
<label>Fig 5</label>
<caption>
<title>Typical locations for the various minimizers of the plane example.</title>
<p>Vertices of the simplex are minimizers using individual coordinate projections <italic>E</italic><sub><italic>x</italic></sub>, <italic>E</italic><sub><italic>y</italic></sub>, and <italic>E</italic><sub><italic>z</italic></sub>.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g005" xlink:type="simple"/>
</fig>
<fig id="pone.0208793.g006" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g006</object-id>
<label>Fig 6</label>
<caption>
<title>Contour and surface plots for error function <italic>E</italic> = (<italic>E</italic><sub><italic>x</italic></sub><italic>E</italic><sub><italic>y</italic></sub><italic>E</italic><sub><italic>z</italic></sub>)<sup>1/3</sup> for the planar fit data.</title>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g006" xlink:type="simple"/>
</fig>
</sec>
</sec>
<sec id="sec010">
<title>Application to real world data sets</title>
<p>What follows are applications of the hyperplane function to various real world data sets. In the process, comparisons are made with a PCA. Also, three of the data sets have been used in other studies to compare multiple linear regression methods, and this is discussed in the respective application.</p>
<sec id="sec011">
<title>Crime data</title>
<p>As an illustration, and a comparison with a PCA, consider the data for the seven major crime rates and population for the larger cities in the U.S in 2009 [<xref ref-type="bibr" rid="pone.0208793.ref015">15</xref>]. Of the 105 cities reported, 79 were randomly chosen for the training set, and the testing dataset consists of those left out. With this, <italic>n</italic> = 79 and <italic>m</italic> = 8. The minimizer of <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> was found using a modified Polak-Ribière descent procedure, with Armijo’s method used to solve the line search problem. The modification is that if the search direction determined using Polak-Ribière is not a direction of descent, then the steepest descent direction is used instead. A description of the Polak-Ribière and Armijo’s methods can be found in [<xref ref-type="bibr" rid="pone.0208793.ref005">5</xref>, <xref ref-type="bibr" rid="pone.0208793.ref016">16</xref>]. The starting point for the descent procedure was a convex combination of the minimizers for the <italic>E</italic><sub><italic>j</italic></sub>’s, which was computed using the formulas given earlier. Also, the normalization for the PCA uses <inline-formula id="pone.0208793.e079"><alternatives><graphic id="pone.0208793.e079g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e079" xlink:type="simple"/><mml:math display="inline" id="M79"><mml:mrow><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo></mml:mrow> <mml:msub><mml:mi mathvariant="bold">p</mml:mi> <mml:mi>j</mml:mi></mml:msub> <mml:msub><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msub> <mml:mo>/</mml:mo> <mml:msqrt><mml:mi>n</mml:mi></mml:msqrt></mml:mrow></mml:math></alternatives></inline-formula>, for each column <italic>j</italic> of the centered training data matrix.</p>
<p>The resulting testing versus training comparison for each variable is shown in <xref ref-type="fig" rid="pone.0208793.g007">Fig 7</xref>. For <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>, the <italic>α</italic><sub><italic>j</italic></sub>’s are determined by minimizing <italic>E</italic> and then using those same values for each graph. For example, for the graph associated with <italic>p</italic><sub>1</sub>, the model function is rewritten as
<disp-formula id="pone.0208793.e080"><alternatives><graphic id="pone.0208793.e080g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e080" xlink:type="simple"/><mml:math display="block" id="M80"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>p</mml:mi> <mml:mn>1</mml:mn></mml:msub> <mml:mo>=</mml:mo> <mml:mo>-</mml:mo> <mml:mfrac><mml:msub><mml:mi>α</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mfrac> <mml:msub><mml:mi>p</mml:mi> <mml:mn>2</mml:mn></mml:msub> <mml:mo>-</mml:mo> <mml:mfrac><mml:msub><mml:mi>α</mml:mi> <mml:mn>3</mml:mn></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mfrac> <mml:msub><mml:mi>p</mml:mi> <mml:mn>3</mml:mn></mml:msub> <mml:mo>-</mml:mo> <mml:mo>⋯</mml:mo> <mml:mo>-</mml:mo> <mml:mfrac><mml:msub><mml:mi>α</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mfrac> <mml:msub><mml:mi>p</mml:mi> <mml:mrow><mml:mi>m</mml:mi> <mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msub> <mml:mo>+</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:msub><mml:mi>α</mml:mi> <mml:mn>1</mml:mn></mml:msub></mml:mfrac> <mml:msub><mml:mi>p</mml:mi> <mml:mi>m</mml:mi></mml:msub> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives> <label>(39)</label></disp-formula>
and the resulting training-testing values are plotted. For the PCA, a seven component approximation is made. To make a more quantitative comparison between these two approaches, and because both methods are reflectively invariant, the normalized least squares errors for each of these graphs is given in <xref ref-type="table" rid="pone.0208793.t001">Table 1</xref>. The normalization used is <italic>N</italic>||<bold>p</bold><sub><italic>j</italic></sub>||<sub>1</sub>/<italic>n</italic>, where <italic>n</italic> is the number of values in the training set and <italic>N</italic> the number in the testing set. It is seen, at least in this example, that the values using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> produce a uniformly better result than those obtained using a PCA. To make the point that the fit using a PCA varies with the scaling, the errors using two other scalings are also given in <xref ref-type="table" rid="pone.0208793.t001">Table 1</xref>. The scaling used for PCA<sub>1</sub> is considerably worse than the PCA values, while the PCA<sub>2</sub> values in the last column are distinctly better.</p>
<fig id="pone.0208793.g007" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g007</object-id>
<label>Fig 7</label>
<caption>
<title>Comparison between fits using a hyperplane approximation to the crime and population data.</title>
<p>Shown are the values obtained using the error function in <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>, indicated with the o’s, and using a PCA (x). The dashed line in each graph corresponds when the training and testing data are equal.</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g007" xlink:type="simple"/>
</fig>
<table-wrap id="pone.0208793.t001" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.t001</object-id>
<label>Table 1</label>
<caption>
<title>The E and PCA columns are the normalized least squares errors from <xref ref-type="fig" rid="pone.0208793.g007">Fig 7</xref>.</title>
<p>The PCA<sub>1</sub> and PCA<sub>2</sub> columns are the errors for a PCA using two different column scalings.</p>
</caption>
<alternatives>
<graphic id="pone.0208793.t001g" mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.t001" xlink:type="simple"/>
<table border="0" frame="box" rules="all">
<colgroup>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
</colgroup>
<thead>
<tr>
<th align="center"/>
<th align="center"><italic>E</italic></th>
<th align="center">PCA</th>
<th align="center">PCA<sub>1</sub></th>
<th align="center">PCA<sub>2</sub></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center"><italic>p</italic><sub>1</sub></td>
<td align="center">3.92e−01</td>
<td align="center">2.98e+00</td>
<td align="center">6.14e+02</td>
<td align="center">1.24e−01</td>
</tr>
<tr>
<td align="center"><italic>p</italic><sub>2</sub></td>
<td align="center">9.76e−02</td>
<td align="center">2.97e+00</td>
<td align="center">1.24e−01</td>
<td align="center">8.65e−02</td>
</tr>
<tr>
<td align="center"><italic>p</italic><sub>3</sub></td>
<td align="center">2.13e−01</td>
<td align="center">8.23e−01</td>
<td align="center">1.13e+00</td>
<td align="center">6.70e−01</td>
</tr>
<tr>
<td align="center"><italic>p</italic><sub>4</sub></td>
<td align="center">3.67e−01</td>
<td align="center">1.41e+00</td>
<td align="center">2.27e+00</td>
<td align="center">1.94e+00</td>
</tr>
<tr>
<td align="center"><italic>p</italic><sub>5</sub></td>
<td align="center">1.88e−01</td>
<td align="center">7.78e−01</td>
<td align="center">2.36e+00</td>
<td align="center">7.44e−02</td>
</tr>
<tr>
<td align="center"><italic>p</italic><sub>6</sub></td>
<td align="center">3.33e−02</td>
<td align="center">2.23e−02</td>
<td align="center">1.85e−01</td>
<td align="center">2.19e−02</td>
</tr>
<tr>
<td align="center"><italic>p</italic><sub>7</sub></td>
<td align="center">1.07e−01</td>
<td align="center">6.92e−02</td>
<td align="center">3.55e+01</td>
<td align="center">5.80e−02</td>
</tr>
<tr>
<td align="center"><italic>p</italic><sub>8</sub></td>
<td align="center">5.80e−02</td>
<td align="center">3.58e−02</td>
<td align="center">3.55e−01</td>
<td align="center">3.64e−02</td>
</tr>
</tbody>
</table>
</alternatives>
</table-wrap>
</sec>
<sec id="sec012">
<title>Wine quality data</title>
<p>As a second example, data mining has been used to predict tasting preferences for wine [<xref ref-type="bibr" rid="pone.0208793.ref017">17</xref>]. The dataset for red wine consists of 1599 instances (vectors) containing values for 12 attributes, 11 being physicochemical properties of the wine and one the quality score for taste. The physicochemical properties in this case are: fixed acidity (<italic>α</italic><sub>1</sub>), volatile acidity (<italic>α</italic><sub>2</sub>), citric acid (<italic>α</italic><sub>3</sub>), residual sugar (<italic>α</italic><sub>4</sub>), chlorides (<italic>α</italic><sub>5</sub>), free sulfur dioxide (<italic>α</italic><sub>6</sub>), total sulfur dioxide (<italic>α</italic><sub>7</sub>), density (<italic>α</italic><sub>8</sub>), pH (<italic>α</italic><sub>9</sub>), sulphates (<italic>α</italic><sub>10</sub>), and alcohol (<italic>α</italic><sub>11</sub>). Following the protocol used in [<xref ref-type="bibr" rid="pone.0208793.ref017">17</xref>], the training set consists of 2/3 of the original (randomly chosen), and the testing set the remaining 1/3. They also used a regression error characteristic (REC) curve, which is defined in [<xref ref-type="bibr" rid="pone.0208793.ref018">18</xref>], to evaluate how well various regression procedures predict the taste score. To compare how <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> does, using the training set, the minimizer is computed with the modified Polak-Ribière method described earlier, treating the data as defining a smooth function. The resulting REC curve determined using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> is shown in <xref ref-type="fig" rid="pone.0208793.g008">Fig 8</xref>. Also shown are the curves obtained using a PCA as well as from using a standard multivariable least squares regression. The dashed curve is what is obtained using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> if the predicted values are converted back into integer scores as originally used in [<xref ref-type="bibr" rid="pone.0208793.ref017">17</xref>]. Finally, for the two and three dimensional examples considered earlier, it was found that the centroid of the error simplex furnished a fairly accurate approximation for the minimizer. A measure of how close they are is given in <xref ref-type="disp-formula" rid="pone.0208793.e048">Eq (18)</xref>. Generalizing this formula for the wine example, it is found that <italic>C</italic><sub><italic>F</italic></sub> ≈ 0.15, which indicates they are reasonable close.</p>
<fig id="pone.0208793.g008" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g008</object-id>
<label>Fig 8</label>
<caption>
<title>The regression error characteristic curve (REC) for the red wine testing data using the error function in <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>, solid red, using a PCA, blue, and least squares, black.</title>
<p>The dashed red curve is the curve using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> after converting back to the original integer scale reported in [<xref ref-type="bibr" rid="pone.0208793.ref017">17</xref>].</p>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g008" xlink:type="simple"/>
</fig>
<p>It is evident from <xref ref-type="fig" rid="pone.0208793.g008">Fig 8</xref> that standard least squares provides better predictive values for the taste score than when using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>. This can be quantified using the mean absolute deviation (MAD), which is defined as ||<bold>y</bold> − <bold>y</bold>*||<sub>1</sub>/<italic>N</italic>, where <bold>y</bold>* are the test values, <bold>y</bold> are the predicted values, and <italic>N</italic> is the number of observations in the testing set (note that the values are unscaled). For <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> the MAD value is 1.5, while using least squares it is 0.5. Consequently, if given a particular bottle of red wine, least squares would provide a better predictor of how it tastes. What <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> provides is a better model for how to modify the physicochemical properties to achieve a particular taste score, and the reason is reflective invariance. To illustrate, with the coefficients computed previously, the resulting MAD values for the other possible training-testing cases are given in <xref ref-type="table" rid="pone.0208793.t002">Table 2</xref>. The fact that the least squares values are so poor is not surprising, and the reason was given earlier. Namely, the values obtained using <italic>p</italic><sub><italic>m</italic></sub> as the dependent variable are not equivalent to the values obtained if the model equation is solved for, say, <italic>p</italic><sub>1</sub>, and then considering it as the dependent variable.</p>
<table-wrap id="pone.0208793.t002" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.t002</object-id>
<label>Table 2</label>
<caption>
<title>The MAD values for red wine, as determined using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> and from conventional least squares.</title>
<p>The last column is the ratio of the least squares value to the one obtained using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>.</p>
</caption>
<alternatives>
<graphic id="pone.0208793.t002g" mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.t002" xlink:type="simple"/>
<table border="0" frame="box" rules="all">
<colgroup>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
<col align="left" valign="middle"/>
</colgroup>
<thead>
<tr>
<th align="left">attribute</th>
<th align="center"><italic>E</italic></th>
<th align="center">Least Squares</th>
<th align="center">Ratio</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">fixed acidity</td>
<td align="center">6.400e-01</td>
<td align="center">7.455e+00</td>
<td align="char" char=".">11.6</td>
</tr>
<tr>
<td align="left">volatile acidity</td>
<td align="center">2.299e-01</td>
<td align="center">5.325e-01</td>
<td align="char" char=".">2.3</td>
</tr>
<tr>
<td align="left">citric acid</td>
<td align="center">1.783e-01</td>
<td align="center">2.481e+00</td>
<td align="char" char=".">13.9</td>
</tr>
<tr>
<td align="left">residual sugar</td>
<td align="center">1.544e+00</td>
<td align="center">8.459e+00</td>
<td align="char" char=".">5.5</td>
</tr>
<tr>
<td align="left">chlorides</td>
<td align="center">8.297e-02</td>
<td align="center">3.099e-01</td>
<td align="char" char=".">3.7</td>
</tr>
<tr>
<td align="left">free sulfur dioxide</td>
<td align="center">1.241e+01</td>
<td align="center">1.062e+02</td>
<td align="char" char=".">8.6</td>
</tr>
<tr>
<td align="left">total sulfur dioxide</td>
<td align="center">3.848e+01</td>
<td align="center">1.470e+02</td>
<td align="char" char=".">3.8</td>
</tr>
<tr>
<td align="left">density</td>
<td align="center">9.008e-04</td>
<td align="center">8.729e-03</td>
<td align="char" char=".">9.7</td>
</tr>
<tr>
<td align="left">pH</td>
<td align="center">1.068e-01</td>
<td align="center">3.286e+00</td>
<td align="char" char=".">30.8</td>
</tr>
<tr>
<td align="left">sulphates</td>
<td align="center">3.350e-01</td>
<td align="center">5.486e-01</td>
<td align="char" char=".">1.6</td>
</tr>
<tr>
<td align="left">alcohol</td>
<td align="center">1.123e+00</td>
<td align="center">2.075e+00</td>
<td align="char" char=".">1.8</td>
</tr>
<tr>
<td align="left">taste</td>
<td align="center">1.493e+00</td>
<td align="center">5.134e-01</td>
<td align="char" char=".">0.3</td>
</tr>
</tbody>
</table>
</alternatives>
</table-wrap>
</sec>
<sec id="sec013">
<title>Wave height data</title>
<p>Wave height at Buoy Station 46006, located in the northern Pacific Ocean, is measured hourly, along with the wind direction, wind speed, wind gust, dominant wave period, average wave period, barometric pressure, and water temperature [<xref ref-type="bibr" rid="pone.0208793.ref019">19</xref>]. The specific data considered here come from measurements over approximately 11 months. The dataset consists of 7960 instances containing values for the eight attributes. A reduced version of this dataset was examined in [<xref ref-type="bibr" rid="pone.0208793.ref020">20</xref>], in comparing how various regression procedures do on real ecological data. The reduction was to use the daily average values rather than the hourly data, but all of the values are considered here. Following the protocol used in [<xref ref-type="bibr" rid="pone.0208793.ref020">20</xref>], the training set consists of 3/4 of the original (randomly chosen), and the testing set the remaining 1/4. The comparison was made using the mean squared prediction error (MSPE), which is defined as <inline-formula id="pone.0208793.e081"><alternatives><graphic id="pone.0208793.e081g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e081" xlink:type="simple"/><mml:math display="inline" id="M81"><mml:mrow><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo> <mml:mi mathvariant="bold">y</mml:mi></mml:mrow> <mml:mo>-</mml:mo> <mml:msup><mml:mi mathvariant="bold">y</mml:mi> <mml:mo>*</mml:mo></mml:msup> <mml:msubsup><mml:mrow><mml:mo>|</mml:mo> <mml:mo>|</mml:mo></mml:mrow> <mml:mn>2</mml:mn> <mml:mn>2</mml:mn></mml:msubsup> <mml:mo>/</mml:mo> <mml:mi>n</mml:mi></mml:mrow></mml:math></alternatives></inline-formula>, where <bold>y</bold>* are the test values for the wave height, <bold>y</bold> are the predicted values, and <italic>n</italic> is the number of observations in the testing set (note that the values are unscaled). Using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>, the MSPE is about 1.2, which compares favorability with the mean MSPE of 12.3 found in [<xref ref-type="bibr" rid="pone.0208793.ref020">20</xref>]. The resulting MAD value is about 0.8, and the REC curve is shown in <xref ref-type="fig" rid="pone.0208793.g009">Fig 9</xref>. Finally, for this example, <italic>C</italic><sub><italic>F</italic></sub> ≈ 0.16. This indicates that the centroid of the error simplex and the minimizer are close, although not as close as in the earlier examples.</p>
<fig id="pone.0208793.g009" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g009</object-id>
<label>Fig 9</label>
<caption>
<title>The regression error characteristic curve for the wave height data using the error function in <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>.</title>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g009" xlink:type="simple"/>
</fig>
</sec>
<sec id="sec014">
<title>Chemical reaction data</title>
<p>The chemical oscillator known as the Belousov-Zhabotinskii reaction can be described with the following five reactions [<xref ref-type="bibr" rid="pone.0208793.ref021">21</xref>]
<disp-formula id="pone.0208793.e082"><alternatives><graphic id="pone.0208793.e082g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e082" xlink:type="simple"/><mml:math display="block" id="M82"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>A</mml:mi> <mml:mo>+</mml:mo> <mml:mi>Y</mml:mi></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>→</mml:mo> <mml:mi>X</mml:mi> <mml:mo>+</mml:mo> <mml:mi>P</mml:mi> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>X</mml:mi> <mml:mo>+</mml:mo> <mml:mi>Y</mml:mi></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>→</mml:mo> <mml:mn>2</mml:mn> <mml:mi>P</mml:mi> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>A</mml:mi> <mml:mo>+</mml:mo> <mml:mi>X</mml:mi></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>→</mml:mo> <mml:mn>2</mml:mn> <mml:mi>X</mml:mi> <mml:mo>+</mml:mo> <mml:mn>2</mml:mn> <mml:mi>Z</mml:mi> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mn>2</mml:mn> <mml:mi>X</mml:mi></mml:mrow></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>→</mml:mo> <mml:mi>A</mml:mi> <mml:mo>+</mml:mo> <mml:mi>P</mml:mi> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mi>Z</mml:mi></mml:mtd> <mml:mtd columnalign="left"><mml:mrow><mml:mo>→</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mn>2</mml:mn></mml:mfrac> <mml:mi>f</mml:mi> <mml:mi>Y</mml:mi> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>The chemicals here are bromous acid (X), bromide (Y), cerium-4 (Z), bromate (A), and a product P. Given known initial concentrations for each species, measurements are made at later times to follow the evolution of the overall reaction. The complication is that one or more of these reactions are very fast, or occur at very low concentrations, so accurate measurements are difficult. What is demonstrated here is how the hyperplane fit can be used in the case of when four of the five concentrations are measured, and the fifth is determined using regression. What is important is that no matter which four are chosen, that the same (equivalent) value is obtained for the fifth species. To demonstrate, the reactions were run for 20 different initial concentrations, and the values for the five species were recorded at 60 second intervals up to 10 minutes. The resulting dataset consists of 180 instances, and these were randomly split into a training set (3/4) and a testing set (1/4). The values fitted are those for <italic>Z</italic>. Using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>, the MAD value is 0.015 and the MSPE is 4.6 × 10<sup>−4</sup>. Using a standard least squares fit the values are 0.012 and 3 × 10<sup>−4</sup>, respectively. However, if you fit the values for, say, <italic>A</italic>, and then transform back to the equation for <italic>Z</italic>, then the MAD and MSPE values using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref> remain unchanged while the least squares values are 0.024 and 10<sup>−3</sup>. As a final comment, using a reflectively invariant error function with chemical density fits has the distinct advantage of being able to determine possible conservation laws inherent in the system.</p>
</sec>
<sec id="sec015">
<title>Chlorophyll-<italic>a</italic> data</title>
<p>The link between phytoplankton and water chemistry has been the subject of several recent studies, although the connections with specific chemical species are incompletely understood. Several correlations have been made, and the physicochemical parameters most commonly considered are oxygen, pH, NH<sub>4</sub>-N (ammonium nitrogen), NO<sub>3</sub>-N (nitrate nitrogen), and PO<sub>4</sub>-P (phosphate phosphorus) [<xref ref-type="bibr" rid="pone.0208793.ref020">20</xref>, <xref ref-type="bibr" rid="pone.0208793.ref022">22</xref>–<xref ref-type="bibr" rid="pone.0208793.ref024">24</xref>]. The latter study used the values for the Chlorophyll-<italic>a</italic> density, along with various chemical properties, of lakes in the Northeast that were measured over a four year period [<xref ref-type="bibr" rid="pone.0208793.ref025">25</xref>]. Altogether, there are 20 useable variables in this study, and 500 observations. After removing incomplete entries and others that are not useable, the data set consists of 348 observations. The model requires specification of which variables to use, and after some analysis of the data it comes down to five: total dissolved aluminum, nitrate, total nitrogen, total phosphorous, total suspended solids, and turbidity. In comparison, in [<xref ref-type="bibr" rid="pone.0208793.ref020">20</xref>], 10 variables were initially used. Using <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>, the resulting MSPE is about 1.1, which compares favorability with the mean MSPE of 2.4 found in [<xref ref-type="bibr" rid="pone.0208793.ref020">20</xref>]. The resulting normalized MAD value is about 0.7, and the REC curve is shown in <xref ref-type="fig" rid="pone.0208793.g010">Fig 10</xref>. Finally, for this example, <italic>C</italic><sub><italic>F</italic></sub> ≈ 0.13. This indicates that the centroid of the error simplex and the minimizer are close, similar to what was found for the wave height example.</p>
<fig id="pone.0208793.g010" position="float">
<object-id pub-id-type="doi">10.1371/journal.pone.0208793.g010</object-id>
<label>Fig 10</label>
<caption>
<title>The regression error characteristic curve for the Chlorophyll-<italic>a</italic> data using the error function in <xref ref-type="disp-formula" rid="pone.0208793.e050">Eq (20)</xref>.</title>
</caption>
<graphic mimetype="image" position="float" xlink:href="info:doi/10.1371/journal.pone.0208793.g010" xlink:type="simple"/>
</fig>
</sec>
</sec>
<sec id="sec016">
<title>Other dimensional fits</title>
<p>It is possible to write down the formulas for the other cases, but it is more informative to consider a particular case that illustrates how this is done. So, consider the case of when there are four variables, <italic>x</italic>, <italic>y</italic>, <italic>z</italic>, and <italic>w</italic>. There are three subspace approximations possible, corresponding to one, two and three dimensions. The one and three dimensional cases were discussed above, and so only the two dimensional case is considered. Writing the model functions as <italic>z</italic> = <italic>α</italic><sub>11</sub><italic>x</italic> + <italic>α</italic><sub>12</sub><italic>y</italic>, <italic>w</italic> = <italic>α</italic><sub>21</sub><italic>x</italic> + <italic>α</italic><sub>22</sub><italic>y</italic>. This can be written in matrix form as
<disp-formula id="pone.0208793.e083"><alternatives><graphic id="pone.0208793.e083g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e083" xlink:type="simple"/><mml:math display="block" id="M83"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>z</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>w</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">A</mml:mi><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>x</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>y</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>It is possible to rewrite the above equation in five different, but equivalent, ways. For example, if <italic>z</italic> and <italic>w</italic> are taken to be independent then
<disp-formula id="pone.0208793.e084"><alternatives><graphic id="pone.0208793.e084g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e084" xlink:type="simple"/><mml:math display="block" id="M84"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>x</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>y</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">B</mml:mi><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>z</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>w</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
while if <italic>y</italic> and <italic>z</italic> are taken to be independent then
<disp-formula id="pone.0208793.e085"><alternatives><graphic id="pone.0208793.e085g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e085" xlink:type="simple"/><mml:math display="block" id="M85"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>x</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>w</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">C</mml:mi><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>y</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>z</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>The other three forms are
<disp-formula id="pone.0208793.e086"><alternatives><graphic id="pone.0208793.e086g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e086" xlink:type="simple"/><mml:math display="block" id="M86"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>y</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>w</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">D</mml:mi><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>x</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>z</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo> <mml:mspace width="1.em"/><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>y</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>z</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">E</mml:mi><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>x</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>w</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>,</mml:mo> <mml:mspace width="1.em"/><mml:mtext>and</mml:mtext> <mml:mspace width="4.pt"/><mml:mspace width="1.em"/><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>x</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>z</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>=</mml:mo> <mml:mi mathvariant="bold">F</mml:mi><mml:mo>(</mml:mo> <mml:mtable><mml:mtr><mml:mtd columnalign="left"><mml:mi>y</mml:mi></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="left"><mml:mi>w</mml:mi></mml:mtd></mml:mtr></mml:mtable> <mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>The entrees in the above matrices are known expressions involving the original coefficients <italic>α</italic><sub>11</sub>, <italic>α</italic><sub>12</sub>, <italic>α</italic><sub>21</sub>, and <italic>α</italic><sub>22</sub>. For example,
<disp-formula id="pone.0208793.e087"><alternatives><graphic id="pone.0208793.e087g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e087" xlink:type="simple"/><mml:math display="block" id="M87"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi mathvariant="bold">B</mml:mi> <mml:mo>=</mml:mo> <mml:msup><mml:mi mathvariant="bold">A</mml:mi> <mml:mrow><mml:mo>-</mml:mo> <mml:mn>1</mml:mn></mml:mrow></mml:msup> <mml:mo>=</mml:mo> <mml:mfrac><mml:mn>1</mml:mn> <mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mn>22</mml:mn></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:msub><mml:mi>α</mml:mi> <mml:mn>21</mml:mn></mml:msub></mml:mrow></mml:mfrac> <mml:mo>(</mml:mo> <mml:mspace width="-0.166667em"/><mml:mtable><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>α</mml:mi> <mml:mn>22</mml:mn></mml:msub> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>21</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr> <mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mo>-</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:mspace width="0.166667em"/><mml:mspace width="0.166667em"/></mml:mrow></mml:mtd> <mml:mtd columnalign="right"><mml:mrow><mml:mspace width="0.166667em"/><mml:msub><mml:mi>α</mml:mi> <mml:mn>11</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable> <mml:mspace width="-0.166667em"/><mml:mo>)</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>The error function corresponding to the variable <italic>x</italic> is
<disp-formula id="pone.0208793.e088"><alternatives><graphic id="pone.0208793.e088g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e088" xlink:type="simple"/><mml:math display="block" id="M88"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:mo>[</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>B</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:msub><mml:mi>z</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>B</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:msub><mml:mi>w</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>C</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>C</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:msub><mml:mi>z</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>F</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>F</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:msub><mml:mi>w</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>]</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>The three terms in the above sum correspond to the case when <italic>x</italic> is taken to be dependent. In a similar manner,
<disp-formula id="pone.0208793.e089"><alternatives><graphic id="pone.0208793.e089g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e089" xlink:type="simple"/><mml:math display="block" id="M89"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:msub><mml:mi>E</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:mo>=</mml:mo> <mml:munderover><mml:mo>∑</mml:mo> <mml:mrow><mml:mi>i</mml:mi> <mml:mo>=</mml:mo> <mml:mn>1</mml:mn></mml:mrow> <mml:mi>n</mml:mi></mml:munderover> <mml:mo>[</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>B</mml:mi> <mml:mn>21</mml:mn></mml:msub> <mml:msub><mml:mi>z</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>B</mml:mi> <mml:mn>22</mml:mn></mml:msub> <mml:msub><mml:mi>w</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>D</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>D</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:msub><mml:mi>z</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>+</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>y</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>E</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:msub><mml:mi>x</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>-</mml:mo> <mml:msub><mml:mi>E</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:msub><mml:mi>w</mml:mi> <mml:mi>i</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>2</mml:mn></mml:msup> <mml:mo>]</mml:mo> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
<p>The corresponding error to determine the <italic>α</italic>’s is
<disp-formula id="pone.0208793.e090"><alternatives><graphic id="pone.0208793.e090g" mimetype="image" position="anchor" xlink:href="info:doi/10.1371/journal.pone.0208793.e090" xlink:type="simple"/><mml:math display="block" id="M90"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd columnalign="right"><mml:mrow><mml:mi>E</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>11</mml:mn></mml:msub> <mml:mo>,</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>12</mml:mn></mml:msub> <mml:mo>,</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>21</mml:mn></mml:msub> <mml:mo>,</mml:mo> <mml:msub><mml:mi>α</mml:mi> <mml:mn>22</mml:mn></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>=</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:msub><mml:mi>E</mml:mi> <mml:mi>x</mml:mi></mml:msub> <mml:msub><mml:mi>E</mml:mi> <mml:mi>y</mml:mi></mml:msub> <mml:msub><mml:mi>E</mml:mi> <mml:mi>z</mml:mi></mml:msub> <mml:msub><mml:mi>E</mml:mi> <mml:mi>w</mml:mi></mml:msub> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:mn>4</mml:mn></mml:mrow></mml:msup> <mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula></p>
</sec>
<sec id="sec017">
<title>Concluding remarks</title>
<p>The principal conclusions from this study are:</p>
<list list-type="order">
<list-item>
<p>Scale and rotational invariance of the error function are incompatible.</p>
</list-item>
<list-item>
<p>Using the geometric mean of the ordinary least squares error functions, one obtains an error function which is scale and reflectively invariant, and which is easily extendable to low dimensional approximations for multilinear regression. For the two cases worked out, which correspond to a line and hyperplane approximation, the minimizer can be well approximated using the centroid of the error simplex obtained from the minimizers for the ordinary least squares error functions.</p>
</list-item>
</list>
<p>Because the error function used here is not quadratic, finding the minimizer requires using a nonlinear optimization procedure. The result is that more computational time is needed than for linear least squares. How much time depends on the size of the data matrix, and the number of variables involved. For the wine example considered earlier (12 variables and 1599 data vectors), linear least squares using MATLAB’s <italic>mldivide</italic> routine takes about 1 msec, while the nonlinear optimization procedure takes about 100 msec (using a 2017 iMac). So, although the relative time is fairly large, the actual time is small. The proposed error function does have the advantage of having a warm start, which is the centroid approximation, and this helps reduce the computing time.</p>
<p>In terms of future work, it remains to determine if the centroid approximation applies to the other lower dimensional approximations. Also, there is the question as to the sensitivity of the minimizer to outliers in the training set. This is a problem for a PCA, and one approach to improve the robustness of a PCA is to switch from a <italic>ℓ</italic><sub>2</sub>-norm to a <italic>ℓ</italic><sub>1</sub>-norm [<xref ref-type="bibr" rid="pone.0208793.ref026">26</xref>, <xref ref-type="bibr" rid="pone.0208793.ref027">27</xref>], a <italic>ℓ</italic><sub><italic>p</italic></sub>-norm [<xref ref-type="bibr" rid="pone.0208793.ref028">28</xref>], or a norm based on a generalized mean [<xref ref-type="bibr" rid="pone.0208793.ref029">29</xref>]. These are used, in part, because they preserve the rotational invariance of a PCA. It is straightforward to use these norms with the geometric mean function, and this will not affect its invariance properties. What has not been investigated is the sensitivity of the proposed error function to outliers, or whether switching norms might reduce any potential sensitivities.</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="pone.0208793.ref001">
<label>1</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Belhumeur</surname> <given-names>P</given-names></name>, <name name-style="western"><surname>Hespanha</surname> <given-names>J</given-names></name>, <name name-style="western"><surname>Kriegman</surname> <given-names>D</given-names></name>. <article-title>Eigenfaces vs. Fisherfaces: recognition using class specific linear projection</article-title>. <source>IEEE Trans Pattern Anal Mach Intell</source>. <year>1997</year>;<volume>19</volume>(<issue>7</issue>):<fpage>711</fpage>–<lpage>720</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/34.598228" xlink:type="simple">10.1109/34.598228</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref002">
<label>2</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Turk</surname> <given-names>M</given-names></name>, <name name-style="western"><surname>Pentland</surname> <given-names>A</given-names></name>. <article-title>Eigenfaces for Recognition</article-title>. <source>J Cogn Neurosci</source>. <year>1991</year>;<volume>3</volume>(<issue>1</issue>):<fpage>71</fpage>–<lpage>86</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1162/jocn.1991.3.1.71" xlink:type="simple">10.1162/jocn.1991.3.1.71</ext-link></comment> <object-id pub-id-type="pmid">23964806</object-id></mixed-citation>
</ref>
<ref id="pone.0208793.ref003">
<label>3</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Ross</surname> <given-names>DA</given-names></name>, <name name-style="western"><surname>Lim</surname> <given-names>J</given-names></name>, <name name-style="western"><surname>Lin</surname> <given-names>RS</given-names></name>, <name name-style="western"><surname>Yang</surname> <given-names>MH</given-names></name>. <article-title>Incremental Learning for Robust Visual Tracking</article-title>. <source>Int J Comput Vis</source>. <year>2008</year>;<volume>77</volume>(<issue>1</issue>):<fpage>125</fpage>–<lpage>141</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s11263-007-0075-7" xlink:type="simple">10.1007/s11263-007-0075-7</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref004">
<label>4</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Ramsey</surname> <given-names>F</given-names></name>, <name name-style="western"><surname>Schafer</surname> <given-names>D</given-names></name>. <article-title>The Statistical Sleuth: A Course in Methods of Data Analysis</article-title>. <source>Cengage Learning</source>; <year>2012</year>.</mixed-citation>
</ref>
<ref id="pone.0208793.ref005">
<label>5</label>
<mixed-citation publication-type="book" xlink:type="simple">
<name name-style="western"><surname>Holmes</surname> <given-names>MH</given-names></name>. <source>Introduction to Scientific Computing and Data Analysis</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>Springer</publisher-name>; <year>2016</year>.</mixed-citation>
</ref>
<ref id="pone.0208793.ref006">
<label>6</label>
<mixed-citation publication-type="other" xlink:type="simple">Henderson C, Izquierdo E. Multi-scale reflection invariance. In: 2016 SAI Computing Conference; 2016. p. 420–425.</mixed-citation>
</ref>
<ref id="pone.0208793.ref007">
<label>7</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Tofallis</surname> <given-names>C</given-names></name>. <article-title>Multiple Neutral Data Fitting</article-title>. <source>Annals of Operations Research</source>. <year>2003</year>;<volume>124</volume>(<issue>1</issue>):<fpage>69</fpage>–<lpage>79</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1023/B:ANOR.0000004763.39347.bb" xlink:type="simple">10.1023/B:ANOR.0000004763.39347.bb</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref008">
<label>8</label>
<mixed-citation publication-type="book" xlink:type="simple">
<name name-style="western"><surname>Goodman</surname> <given-names>T</given-names></name>, <name name-style="western"><surname>Tofallis</surname> <given-names>C</given-names></name>. <chapter-title>Neutral Data Fitting by Lines and Planes</chapter-title>. In: <name name-style="western"><surname>Iske</surname> <given-names>A</given-names></name>, <name name-style="western"><surname>Levesley</surname> <given-names>J</given-names></name>, editors. <source>Algorithms for Approximation</source>. <publisher-name>Springer</publisher-name> <publisher-loc>Berlin Heidelberg</publisher-loc>; <year>2007</year>. p. <fpage>259</fpage>–<lpage>268</lpage>.</mixed-citation>
</ref>
<ref id="pone.0208793.ref009">
<label>9</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Woolley</surname> <given-names>EB</given-names></name>. <article-title>The Method of Minimized Areas as a Basis for Correlation Analysis</article-title>. <source>Econometrica</source>. <year>1941</year>;<volume>9</volume>(<issue>1</issue>):<fpage>38</fpage>–<lpage>62</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2307/1907173" xlink:type="simple">10.2307/1907173</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref010">
<label>10</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Samuelson</surname> <given-names>PA</given-names></name>. <article-title>A Note on Alternative Regressions</article-title>. <source>Econometrica</source>. <year>1942</year>;<volume>10</volume>(<issue>1</issue>):<fpage>80</fpage>–<lpage>83</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2307/1907024" xlink:type="simple">10.2307/1907024</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref011">
<label>11</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Babu</surname> <given-names>GJ</given-names></name>, <name name-style="western"><surname>Feigelson</surname> <given-names>ED</given-names></name>. <article-title>Analytical and Monte Carlo comparisons of six different linear least squares fits</article-title>. <source>Commun Stat Simul Comput</source>. <year>1992</year>;<volume>21</volume>:<fpage>533</fpage>–<lpage>549</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/03610919208813034" xlink:type="simple">10.1080/03610919208813034</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref012">
<label>12</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Ludbrook</surname> <given-names>J</given-names></name>. <article-title>Linear regression analysis for comparing two measurers or methods of measurement: But which regression?</article-title> <source>Clin Exp Pharmacol Physiol</source>. <year>2010</year>;<volume>37</volume>(<issue>7</issue>):<fpage>692</fpage>–<lpage>699</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/j.1440-1681.2010.05376.x" xlink:type="simple">10.1111/j.1440-1681.2010.05376.x</ext-link></comment> <object-id pub-id-type="pmid">20337658</object-id></mixed-citation>
</ref>
<ref id="pone.0208793.ref013">
<label>13</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Draper</surname> <given-names>NR</given-names></name>, <name name-style="western"><surname>Yang</surname> <given-names>Y</given-names></name>. <article-title>Generalization of the geometric mean functional relationship</article-title>. <source>Comput Statist Data Anal</source>. <year>1997</year>;<volume>23</volume>(<issue>3</issue>):<fpage>355</fpage>–<lpage>372</lpage>. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1016/S0167-9473(96)00037-0" xlink:type="simple">http://dx.doi.org/10.1016/S0167-9473(96)00037-0</ext-link></mixed-citation>
</ref>
<ref id="pone.0208793.ref014">
<label>14</label>
<mixed-citation publication-type="book" xlink:type="simple">
<name name-style="western"><surname>Bluman</surname> <given-names>G</given-names></name>, <name name-style="western"><surname>Cole</surname> <given-names>J</given-names></name>. <source>Similarity Methods for Differential Equations</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>Springer-Verlag</publisher-name>; <year>1974</year>.</mixed-citation>
</ref>
<ref id="pone.0208793.ref015">
<label>15</label>
<mixed-citation publication-type="book" xlink:type="simple">
<collab>U S Census Bureau</collab>. <chapter-title>Crime Rates by Type: Selected Large Cities</chapter-title>. In: <source>Statistical Abstract of the United States: 2012</source>. <edition>131st ed</edition>. <publisher-loc>Washington, DC</publisher-loc>; <year>2012</year>.</mixed-citation>
</ref>
<ref id="pone.0208793.ref016">
<label>16</label>
<mixed-citation publication-type="book" xlink:type="simple">
<name name-style="western"><surname>Nocedal</surname> <given-names>J</given-names></name>, <name name-style="western"><surname>Wright</surname> <given-names>S</given-names></name>. <chapter-title>Numerical Optimization</chapter-title>. <source>Springer Series in Operations Research and Financial Engineering</source>. <publisher-loc>Springer</publisher-loc>; <year>2006</year>.</mixed-citation>
</ref>
<ref id="pone.0208793.ref017">
<label>17</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Cortez</surname> <given-names>P</given-names></name>, <name name-style="western"><surname>Cerdeira</surname> <given-names>A</given-names></name>, <name name-style="western"><surname>Almeida</surname> <given-names>F</given-names></name>, <name name-style="western"><surname>Matos</surname> <given-names>T</given-names></name>, <name name-style="western"><surname>Reis</surname> <given-names>J</given-names></name>. <article-title>Modeling wine preferences by data mining from physicochemical properties</article-title>. <source>Decis Support Syst</source>. <year>2009</year>;<volume>47</volume>(<issue>4</issue>):<fpage>547</fpage>–<lpage>553</lpage>. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1016/j.dss.2009.05.016" xlink:type="simple">http://dx.doi.org/10.1016/j.dss.2009.05.016</ext-link></mixed-citation>
</ref>
<ref id="pone.0208793.ref018">
<label>18</label>
<mixed-citation publication-type="other" xlink:type="simple">Bi J, Bennett K. Regression error characteristic curves. In: Proceedings of the Twentieth International Conference on Machine Learning (ICML-2003). Washington DC; 2003. p. 43–50.</mixed-citation>
</ref>
<ref id="pone.0208793.ref019">
<label>19</label>
<mixed-citation publication-type="other" xlink:type="simple">NOAA. National Data Buoy Center: Historical Meteorological Data—Station 46006; 2006.</mixed-citation>
</ref>
<ref id="pone.0208793.ref020">
<label>20</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Murtaugh</surname> <given-names>PA</given-names></name>. <article-title>Performance of several variable-selection methods applied to real ecological data</article-title>. <source>Ecol Lett</source>. <year>2009</year>;<volume>12</volume>(<issue>10</issue>):<fpage>1061</fpage>–<lpage>1068</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/j.1461-0248.2009.01361.x" xlink:type="simple">10.1111/j.1461-0248.2009.01361.x</ext-link></comment> <object-id pub-id-type="pmid">19702634</object-id></mixed-citation>
</ref>
<ref id="pone.0208793.ref021">
<label>21</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Field</surname> <given-names>RJ</given-names></name>, <name name-style="western"><surname>Koros</surname> <given-names>E</given-names></name>, <name name-style="western"><surname>Noyes</surname> <given-names>RM</given-names></name>. <article-title>Oscillations in chemical systems. II. Thorough analysis of temporal oscillation in the bromate-cerium-malonic acid system</article-title>. <source>J Amer Chem Soc</source>. <year>1972</year>;<volume>94</volume>:<fpage>8649</fpage>–<lpage>8664</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1021/ja00780a001" xlink:type="simple">10.1021/ja00780a001</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref022">
<label>22</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Heini</surname> <given-names>A</given-names></name>, <name name-style="western"><surname>Puustinen</surname> <given-names>I</given-names></name>, <name name-style="western"><surname>Tikka</surname> <given-names>M</given-names></name>, <name name-style="western"><surname>Jokiniemi</surname> <given-names>A</given-names></name>, <name name-style="western"><surname>Leppäranta</surname> <given-names>M</given-names></name>, <name name-style="western"><surname>Arvola</surname> <given-names>L</given-names></name>. <article-title>Strong dependence between phytoplankton and water chemistry in a large temperate lake: spatial and temporal perspective</article-title>. <source>Hydrobiologia</source>. <year>2014</year>;<volume>731</volume>(<issue>1</issue>):<fpage>139</fpage>–<lpage>150</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s10750-013-1777-1" xlink:type="simple">10.1007/s10750-013-1777-1</ext-link></comment></mixed-citation>
</ref>
<ref id="pone.0208793.ref023">
<label>23</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>George</surname> <given-names>B</given-names></name>, <name name-style="western"><surname>Kumar</surname> <given-names>JIN</given-names></name>, <name name-style="western"><surname>Kumar</surname> <given-names>RN</given-names></name>. <article-title>Study on the influence of hydro-chemical parameters on phytoplankton distribution along Tapi estuarine area of Gulf of Khambhat, India</article-title>. <source>The Egyptian Journal of Aquatic Research</source>. <year>2012</year>;<volume>38</volume>(<issue>3</issue>):<fpage>157</fpage>–<lpage>170</lpage>. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1016/j.ejar.2012.12.010" xlink:type="simple">http://dx.doi.org/10.1016/j.ejar.2012.12.010</ext-link></mixed-citation>
</ref>
<ref id="pone.0208793.ref024">
<label>24</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Liu</surname> <given-names>Y</given-names></name>, <name name-style="western"><surname>Guo</surname> <given-names>H</given-names></name>, <name name-style="western"><surname>Yang</surname> <given-names>P</given-names></name>. <article-title>Exploring the influence of lake water chemistry on chlorophyll a: A multivariate statistical model analysis</article-title>. <source>Ecol Modell</source>. <year>2010</year>;<volume>221</volume>(<issue>4</issue>):<fpage>681</fpage>–<lpage>688</lpage>. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1016/j.ecolmodel.2009.03.010" xlink:type="simple">http://dx.doi.org/10.1016/j.ecolmodel.2009.03.010</ext-link></mixed-citation>
</ref>
<ref id="pone.0208793.ref025">
<label>25</label>
<mixed-citation publication-type="other" xlink:type="simple">Stoddard J. EMAP Surface Waters Lake Database: 1991-1994 Northeast Lakes Water Chemistry Data Summarized by Lake. U.S. EPA NHEERL Western Ecology Division; 1996.</mixed-citation>
</ref>
<ref id="pone.0208793.ref026">
<label>26</label>
<mixed-citation publication-type="other" xlink:type="simple">Ding CHQ, Zhou D, He X, Zha H. <italic>R</italic><sub>1</sub>-PCA: rotational invariant <italic>L</italic><sub>1</sub>-norm principal component analysis for robust subspace factorization. In: Proceedings of the 23rd International Conference on Machine Learning, ICML’06; 2006. p. 281–299.</mixed-citation>
</ref>
<ref id="pone.0208793.ref027">
<label>27</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Kwak</surname> <given-names>N</given-names></name>. <article-title>Principal Component Analysis Based on L1-Norm Maximization</article-title>. <source>IEEE Trans Pattern Anal Mach Intell</source>. <year>2008</year>;<volume>30</volume>(<issue>9</issue>):<fpage>1672</fpage>–<lpage>1680</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TPAMI.2008.114" xlink:type="simple">10.1109/TPAMI.2008.114</ext-link></comment> <object-id pub-id-type="pmid">18617723</object-id></mixed-citation>
</ref>
<ref id="pone.0208793.ref028">
<label>28</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Kwak</surname> <given-names>N</given-names></name>. <article-title>Principal Component Analysis by <italic>L</italic><sub><italic>p</italic></sub>-Norm Maximization</article-title>. <source>IEEE Trans Cybern</source>. <year>2014</year>;<volume>44</volume>(<issue>5</issue>):<fpage>594</fpage>–<lpage>609</lpage>. <comment>doi: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TCYB.2013.2262936" xlink:type="simple">10.1109/TCYB.2013.2262936</ext-link></comment> <object-id pub-id-type="pmid">23807479</object-id></mixed-citation>
</ref>
<ref id="pone.0208793.ref029">
<label>29</label>
<mixed-citation publication-type="journal" xlink:type="simple">
<name name-style="western"><surname>Oh</surname> <given-names>J</given-names></name>, <name name-style="western"><surname>Kwak</surname> <given-names>N</given-names></name>. <article-title>Generalized mean for robust principal component analysis</article-title>. <source>Pattern Recognit</source>. <year>2016</year>;<volume>54</volume>:<fpage>116</fpage>–<lpage>127</lpage>. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.patcog.2016.01.002" xlink:type="simple">https://doi.org/10.1016/j.patcog.2016.01.002</ext-link></mixed-citation>
</ref>
</ref-list>
</back>
</article>