<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Method for detection of mixtures of normal distributions with application to vine varieties</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Amílcar Oliveira</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Teresa Oliveira</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidade Aberta, Department of Sciences and Technology</institution>
        </aff>
      </contrib-group>
      <fpage>771</fpage>
      <lpage>781</lpage>
      <abstract>
        <p>In this work we trait the problem of mixtures of normal distributions and methods for estimating the number of components as well as the parameters in a mixture. Also, we present a practical method for the detection of normal finite mixture distribution and respective model validation. Finally, we apply the exposed procedure to a sample of old grape-vine castes.</p>
      </abstract>
      <kwd-group>
        <kwd>Normal distribution</kwd>
        <kwd>mixtures</kwd>
        <kwd>grape-vine caste</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>B
R&amp;S\ULJKWEHD¶VXQPGOIYF
RIU6XVWDLQEOH$JSGF(YP+,&amp;7NK
Q,06DOPSVL$WRXHG3UFJIK&amp;
QDG&amp;RPXLFW7HKOJV
Finite mixtures of distributions, and in particular mixtures of normal distributions,
have been extensively used to model a wide variety of important practical situations,
in which data can be considered from two or more populations mixed in varying
populations. It is therefore evident interest in this subject attending the vast
applications that have been developed by statisticians.</p>
    </sec>
    <sec id="sec-2">
      <title>We will emphasize some</title>
      <p>topics that have been successfully addressed in this area, which include among
others the problem of identification of outliers, (Atkin &amp; Tunnicliffe, 1980) (Wilson,
1980) or (Beckman
&amp;</p>
    </sec>
    <sec id="sec-3">
      <title>Cook, 1983), latent class</title>
      <p>models (Goodman, 1974),
classification analysis (Symons, 1981) (Celeux, 1986) or (Bozdogan, 1992),
investigating the robustness of certain statistics such as correlation coefficient
sample studied (Srivastava &amp; Lee 1984).</p>
      <p>
        In our work there will be some introductory remarks in the context of finite mixtures
in order to create the enabling environment for a better understanding of this subject.
We will continue with a statistical approach to key issues in the context of mixtures
which will focus on the main methods of estimating parameters of a mixture and one
of the most used algorithms in the identification of a finite mixture of distributions,
i.e., the so-called EM algorithm
        <xref ref-type="bibr" rid="ref3">(Dempster, et al., 1977)</xref>
        .
      </p>
      <p>Estimating the number of components in a mixture
The problem of statistical analysis of finite mixtures can be divided into the
following phases:
i)
ii)
iii)
iv)</p>
    </sec>
    <sec id="sec-4">
      <title>Verification of identifiability of the mixture;</title>
    </sec>
    <sec id="sec-5">
      <title>Estimation of the number of components / parameters estimation,</title>
    </sec>
    <sec id="sec-6">
      <title>Testing the number of components</title>
    </sec>
    <sec id="sec-7">
      <title>Validation of the model</title>
    </sec>
    <sec id="sec-8">
      <title>With a finite mixture density,</title>
      <p>
        f(x, r) function is identifiable if and only if
k k*
å p j f (xq j ) = å pi* f (xq i* )Þ k = k* Ù (" j=1,...,k ,$i=1,...,k* : p j = pi* Ùq j =q i* )
j=1 j=1
(1)
That is to say that the mixture is identifiable if it admits only a single decomposition.
        <xref ref-type="bibr" rid="ref9">(Teicher, 1963)</xref>
        deduced the necessary and sufficient conditions for identifiability
and proved that the mixtures of normal distributions are identifiable.
3
      </p>
      <p>
        Methods for the estimation of mixture parameters
The problem of parameter estimation in mixtures, in the case of normal
distributions, is one of the oldest problems in the statistical literature. It was first
introduced by
        <xref ref-type="bibr" rid="ref7">(Pearson, 1894)</xref>
        in an article "Contribution to the theory of evolution
mathematical" and subsequently developed by
        <xref ref-type="bibr" rid="ref8">(Quandt &amp; Ramsey, 1978)</xref>
        . It is still
an open problem which attracts strong attention.
      </p>
      <p>
        Although at present the study of mixtures takes place in several areas by applying
other methods, such as the method of maximum likelihood, the original method, the
method of moments is still considered one of the best approximation methods in
separating mixtures of normal distributions. It is useful even in the generation of
initial estimates for the iterative resolution of maximum likelihood equations.
In order to make the analysis of mixtures of distributions a computational problem
more accessible, in the decades of the forties and fifties it was fostered the
development of a high number of graphical techniques. A first step consisted in the
detection of turning points of the curves
        <xref ref-type="bibr" rid="ref5">(Harding, 1948)</xref>
        and
        <xref ref-type="bibr" rid="ref2">(Cassie, 1954)</xref>
        , making
this method a somewhat subjective process. Later, more rigorous techniques have
been suggested to determine the inflection points
        <xref ref-type="bibr" rid="ref4">(Fowlkes, 1979)</xref>
        and
        <xref ref-type="bibr" rid="ref1">(Bhattacharya, 1967)</xref>
        ; this author also suggests several methods to determine the
proportions of the mixtures.
      </p>
      <p>These graphical techniques are not only to give a first estimation of parameters,
they can be quite useful in an initial examination of data, since they have the
advantage of running without a prior knowledge of the number of components of the
mixture. They can play a role as an indicator of the number of components, since
this information is needed before applying any of the other methods described
below.</p>
      <sec id="sec-8-1">
        <title>3.1 Method of Moments</title>
        <p>moment (M r ) and their theoretical moment (mr ) ,
This method is used on obtaining and solving a system of equations, often of the
nonlinear type. The equations are obtained from the empirical equality of every
and</p>
        <p>M r =
1 n</p>
        <p>å (x j - x ) r , r = 1,...,m
n j=1</p>
        <p>r
mr = ò (x - m ) f (x) dx, r = 1,...,m
Where x represents the mean of a sample obtained from a population with
probability density function f (x) ,</p>
        <p>m is the mean value of random variable X ,
with the same probability function, m the number of moments needed to estimate all
parameters.</p>
        <p>Let for each value of r obtaining an equation:
1 n r</p>
        <p>
          å (x j - x ) r = ò (x - m ) f (x) dx
n j=1
Note that with the currently available computational means this method becomes
very advantageous. The disadvantage lies in the fact that it is not applicable to
mixtures of distributions with a large number of components, as well as to the
multidimensional case.
3.2 Method of Quandt and Ramsey
This method proposed by
          <xref ref-type="bibr" rid="ref8">(Quandt &amp; Ramsey, 1978)</xref>
          is used in mixtures of two
univariate components and makes use of the moment generating function E(etx ) .
        </p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>The estimate for this function is given by:</title>
      <p>(2)
(3)
(4)
(5)
(6)
The method minimizes the sum of squared deviations between the empirical
moment generating function and the theoretical moment generating function
2
Eˆ(etx ) =
1 n</p>
      <p>å etxj
n j=1
j=1
S (t ) = å [Eˆ(etxj )- E(etxj )]
n
where k represents the number of t values in a selected interval (a,b) , with a &lt; 0
and b &gt; 0 .
3.3 Method of maximum likelihood
Consider the sample values x1 ,..., xn , x j ÎÂm ,
j= 1,...,n , a mixture of k
density functions and consider the log-likelihood function of this sample,
represented by</p>
      <p>n é n ù
L(x q) = å lnêå pi f (x j ai )ú</p>
      <p>
        j=1 ë j=1 û
where q = ( pi ,ai ), i = 1,...,k is the vector of unknown parameters.
By derivation of the function L(x q) in order to each of these parameters and
equating to zero each of the expressions obtained, we have the so-called likelihood
equations:
The equations obtained are sometimes impossible to solve analytically or very
difficult to resolve, so often resort to the use of iterative methods. However, not
always the most common processes are able to respond to the scale of problems. In
order to overcome these difficulties there is the EM algorithm of
        <xref ref-type="bibr" rid="ref3">(Dempster, et al.,
1977)</xref>
        , which is the most widely used in solving equations that describe maximum
likelihood.
      </p>
      <p>In particular if we have a sample size n and a mixture of two univariate normal
components, the log-likelihood function is given by:</p>
      <p>n é
L(x q ) = å lnê p
j=1 êë</p>
      <p>1
2p s 1
e
-(xj -m1 )2
2s12
+ (1 - p)</p>
      <p>1
2p s 2
e
-(xj -m2 )2 ù
2s 22 ú
ú
û
(9)</p>
      <sec id="sec-9-1">
        <title>4 Practical</title>
        <p>distributions
method for
detection finite
mixture of normal
The method aims on the one hand prove the existence of mixtures of normal
distributions and on the other hand achieving the adjustment of an appropriate
model. This approach will first check the detailed curves detected in the histogram
of simple frequencies, and then estimate the parameters of these curves and the
model checking by applying the Kolmogorov-Smirnov test, adapted to a mixture of
normal.</p>
        <sec id="sec-9-1-1">
          <title>4.1 Dissection of the Curves</title>
          <p>Consider the original data set x1 ,..., xn of the sample under study, and begin a first
step by ordering them in ascending order. We then have the ordered sample
z1 ,..., zn with z1 £ ... £ zn . Let n1 ,n2
populations derived from the
and</p>
          <p>n3 represent the sizes of
subdecomposition
of the initial population,
n</p>
          <p>2
with n1 + n2 + n3 = n .</p>
          <p>Considering the hypothesis of existence of two normal distributions, denote
2 =
p = 2n1 and 1 - p = 2n3 where p and 1 - p represent the proportions of
n n
each one of the curves found on the original curve.</p>
          <p>These curves are normal, so they are symmetrical and therefore there is
n1 + n 1
, or is 50% the size of the sample size n . Let m1
and s 1 be
respectively the mean and standard deviation in the distribution curve 1 and
and s 2 be respectively the mean and standard deviation in the distribution curve 2.
Thus the probability density function f of weighing the two normal curves is
m 2
defined by
f (x p,m1 ,m 2 ,s 1 ,s 2 ) = pn(x m1 ,s 1 ) + (1 - p)n(x m 2 ,s 2 )
(10)
4.2 Estimation of parameters for the general model
4.2.1 Estimates of n1*</p>
          <p>n1*
The
value
of
is
the
one
that
minimizes
D(n' ) = x - (p'n*m1*,n' + (1 - p'n* )m 2*,n' ) , where x is the sample mean and
D (n' )</p>
          <p>with
For each n' there is an estimate of the fraction correspondent to each
subpopulation
p'n*
and 1 - p
'*
n and of the respective mean values m1*,n' and m 2*,n' .</p>
          <p>Combining these estimates we obtain:
and the minimization of:
m '* = p'*m *
n n 1,n'
+ (1- p'* )m *</p>
          <p>n 2,n'
D (n' ) = x - m '*
n
4.2.2 Estimates of p , m1 and m</p>
          <p>2
n</p>
          <p>1
Once estimated</p>
          <p>we use the correspondent estimates for the fractions and the
mean values of sub-populations obtaining:
ïm1*,n' =
ï
ï
ï
ím 2*,n' =
ï
ï
î
ï '* = 2n'
ï pn
n
z
n' + zn' +1</p>
          <p>2
z
n' + n
2
+ z
2
ï
ï
ï
ím 2* =
ï
ï
ï p* =
ï
î
zn1 + zn1+1</p>
          <p>2
z
n + n
1 2
2n</p>
          <p>1
n
+ z
2
n1+ n2+1
the distribution mean value will be given by m = pm + (1- p)m .
1 2
4.2.3 Estimates of s 1 and s 2
(11)
(12)
(13)
(14)
To obtain the estimates for s 1 and s 2 we use:
As we have seen the reason for equality n3* =
- n1* and is justified by the fact
that the tails of two distributions assume negligible values. So, since n2 = n1 + n3 ,
n
2
n
2
and
n2 =
it finally comes n3 =
n
2
- n1 . The term (z j - m1* ) reflects the
differences between each value of sample 1. s 12* and s 22* denote the estimated
variances for populations 1 and 2.</p>
        </sec>
        <sec id="sec-9-1-2">
          <title>4.3 Validation of the Model</title>
          <p>We will use the Kolmogorov-Smirnov test to check the model. The statistic of this
test is the maximum module of the difference between the empirical distribution
ì0 ; x &lt; z1
ï
* ï i
Fx í
ï n
ïî1 ; x &gt; zn
; zi £ x £ zi+1 ,
i = 1,...,n
(16)
and the adjusted</p>
          <p>p* N (x m1* ,s 1* )+ (1 - p* )N (x m 2* ,s 2* ).</p>
          <p>One of the observed values is then equal to</p>
          <p>ì i
Maxí
î n
- (p* N (zi m1* ,s 1* )+ (1 - p* )N (x m 2* ,s 2* ))üý
þ</p>
          <p>; i = 1,...,n
We will obtain the values of distributions
N (z m l* ,s l* )
;
l = 1,2 , in
zi
points, i = 1,...,n . From the zi points, i = 1,...,n , we calculate
ì
ïui =
ï
í
ïv =
ï i
î
zi - m1*
i = 1,...,n and at ui , i = 1,...,n .</p>
          <p>We have</p>
          <p>1 w
N (w 0,1) = + ò
2 w 0
w e- y22</p>
          <p>2p
ïìN (zi m1* ,s 1* ) = N (ui 0,1) ; i = 1,...,n
í
ïîN (zi m 2* ,s 2* ) = N (vi 0,1) ; i = 1,...,n
The problem is reduced to obtain the values of standardized normal at ui ,
dw =
items. The above expression is justified since if w &lt; 0 we have
and if w &gt; 0</p>
          <p>w e- y22
N (w) = ò
-¥</p>
          <p>2p
w e- y22
N (w) = ò</p>
          <p>2p
0
dw =
dw =
After obtaining the values for normal distribution we calculate the values:
F* ( z ) =
j
p* N( uj 0 1,) + (1 - p* )N(vj 0,1)
(18)
(19)
(20)
(21)
And we obtain the statistic</p>
          <p>ì j ü
T = maxí - F * (z j ) ; j = 1,...,ný</p>
          <p>î n þ
This value should be compared with the value in normal distribution table and we
concluded about the existence of a mixture of normal distributions if the T value is
less than the tabulated. For the previous iterative procedure we decided to simplify
the calculations, very time consuming, by designing an algorithm, and we used it in
our practical application.</p>
        </sec>
      </sec>
      <sec id="sec-9-2">
        <title>5 Application</title>
        <p>First, we will carry out a comprehensive statistical study of available data relating to
populations of vine varieties.</p>
        <p>We will discuss three types of caste, namely the Trincadeira Preta in years 1988,
1989 and 1990 in the region of Almeirim, Aragon 1987, 1988 and 1989 in the region
of Reguengos and Touriga Nacional 1994, 1995 and 1996 in the region of Foz Coa.
Regarding the number of observations and replicates of clones for analysis we noted
that with regard to the caste Trincadeira Preta there is in each year a total of (271
observations x 5 repetitions) , in Touriga Nacional (197 observations x 5 repetitions)
and in the Aragonês (153 observations x 4 repetitions). Note that each observation is
respective to a different clone, repeating this clone 4 or 5 times. For a better layout
follows the table 1:
For each repetition, we proceeded to calculate the mean, variance, standard
deviation, median, sum of sample values, 95%, first quartile, third quartile, range of
the sample, inter-quartile range, skewness coefficient, coefficient of flattening and
determination of maximum and minimum values of the sample.</p>
        <p>Then we obtained the histograms for each of the repetitions, and we tested the
normality through the Kolmogorov-Smirnov test.
5.1 Analysis of distributions of repeat genotypes
5.1.1 Testing the normality of distributions
As the normal distribution in one of the most important ones, it is useful at this
point proceed to test data normality. To this end we then base our conclusions on the
results of a nonparametric test, as mentioned above, the application of the</p>
      </sec>
    </sec>
    <sec id="sec-10">
      <title>Kolmogorov-Smirnov test.</title>
      <p>With the help of statistical software and consulting the Table of Critical Values of
the Kolmogorov-Smirnov test for one sample, then we obtained the values KS</p>
    </sec>
    <sec id="sec-11">
      <title>Observed and KS. Tabulated for each repetition and present in table:</title>
      <p>We considered 1.63 for 1% and 1.36 for 5% significance level, respectively.
In the analysis of the results, we note that the null hypothesis that the sample comes
from a normal population, is rejected in five cases for the significance level of 5%
and only in one case to significance level of 1%, which is not altogether surprising
since we are facing a total of 42 cases.</p>
      <p>If we consider a binomial distribution with n = 42 and x = 5 then it's expected that
5% of observations fall outside the standard of reference, in our case the normal
distribution.
6 Considerations and remarks
The vegetative reproduction seems to guarantee the homogeneity of genotypes. So
in a given year and local the productions of the same genotype should be distributed
normally. Not always this happens because when we studied the 42 repetitions of
genotypes: Aragonês, Trincadeira Preta and Touriga Nacional four cases were found
where the theoretical model did not fit significantly. In these four cases it was
possible to fit the data a mixture of two normal distributions.</p>
      <p>We consider important in future work using the techniques of ANOVA to estimate
the variance components internal to the genotypes and between genotypes.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bhattacharya</surname>
            ,
            <given-names>C.G.</given-names>
          </string-name>
          (
          <year>1967</year>
          )
          <article-title>A simple method for resolution of a distribution into its Gaussian components</article-title>
          .
          <source>Biometrics 2</source>
          , p.
          <fpage>115</fpage>
          -
          <lpage>135</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cassie</surname>
            ,
            <given-names>R.M.</given-names>
          </string-name>
          (
          <year>1954</year>
          )
          <article-title>Some uses of Probability Paper for the Graphical Analysis of Polymodal Frequency Distributions</article-title>
          .
          <source>Austral J. Marine and Freshwater Res</source>
          .
          <volume>5</volume>
          , p.
          <fpage>513</fpage>
          -
          <lpage>522</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Dempster</surname>
            ,
            <given-names>A.P</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laird</surname>
            ,
            <given-names>N.M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Rubin</surname>
            ,
            <given-names>D.B.</given-names>
          </string-name>
          (
          <year>1977</year>
          )
          <article-title>Maximum likelihood from incomplete data via the EM algorithm (with discussion)</article-title>
          .
          <source>J.R. Statist. Soc. B 39</source>
          , p.
          <fpage>1</fpage>
          -
          <lpage>38</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Fowlkes</surname>
            ,
            <given-names>E.B.</given-names>
          </string-name>
          (
          <year>1979</year>
          )
          <article-title>Some Methods for Studying the Mixture of two normal (lognormal) distributions</article-title>
          .
          <source>JASA 74</source>
          , p.
          <fpage>561</fpage>
          -
          <lpage>575</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Harding</surname>
            ,
            <given-names>J.P.</given-names>
          </string-name>
          (
          <year>1948</year>
          )
          <article-title>The Use of Probability for the Graphical Analysis of Polymodal Frequency Distributions</article-title>
          .
          <source>J. Marine Biol</source>
          . Assoc. U.K.
          <volume>28</volume>
          , p.
          <fpage>141</fpage>
          -
          <lpage>153</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Oliveira</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>1999</year>
          ) Misturas de Normais: Uma Aplicação. Tese de Mestrado. FCT/UNL.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Pearson</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          (
          <year>1894</year>
          )
          <article-title>Contributions to the Mathematical theory of evolution</article-title>
          .
          <source>Phil. Trans. A</source>
          .
          <volume>185</volume>
          , p.
          <fpage>71</fpage>
          -
          <lpage>110</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Quandt</surname>
            <given-names>R. E.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Ramsey</surname>
            ,
            <given-names>J. B.</given-names>
          </string-name>
          (
          <year>1978</year>
          )
          <article-title>Estimating Mixtures of Normal Distributions and Switching Regressions (with discussion)</article-title>
          .
          <source>JASA</source>
          ,
          <volume>73</volume>
          , p.
          <fpage>730</fpage>
          -
          <lpage>752</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Teicher</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          (
          <year>1963</year>
          )
          <article-title>Identifiability of Finite Mixtures</article-title>
          . Ann. Math. Statist.,
          <volume>34</volume>
          , p.
          <fpage>1265</fpage>
          -
          <lpage>1269</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>