Department of Statistics and Applied Mathematics, Federal University of Ceara Fortaleza, Brazil
Received date: 06/03/2017; Accepted date: 18/04/2017; Published date: 07/04/2017
Visit for more related articles at Research & Reviews: Research Journal of Biology
In 2006, Rathie and Swamee had proposed a generalization of the logistic distribution which is more flexible and multimodal. This work presents an addition of a new parameter to increase the flexibilization of the distribution as well as an asymmetric distribution using the Azzalini method, adding another parameter of asymmetry. Five data sets (Human Body Fat Index, HIV, Precipitation, pH Concentration, Relative Humidity) are analysed by applying the new distributions. The estimation of the parameters of the new distributions and mixture of the normals was accomplished by the automaximum likelihood method. Due to complex mathematical resources required to calculate the estimates of the new distributions, we use interactive numerical methods such as L-BFGS-B, BFGS, SANN etc. using an adaptive barrier algorithm added to enforce the constraint and an adapted function that searches for global maximum of a very complex non-linear objective function to initial values of the algorithm of estimation. All computational work was implemented in software R. In most cases, we use the Hartigan’s test to reject unimodality. Using the KolmogorovSmirnov test at significance level of 5% and applying various criteria, such as Mean Square Error, Mean Absolute Deviation and Maximum Deviation, to indicate the best fit. The classical and general method for multimodal adjustment is a mixture of distributions, in particular, the mixture of the normal distributions because the normal distribution presents good mathematical properties. In the case of mixture of the normals, we use EM algorithm to calculate the estimates. We also use Akaike Information Criterion and Bayesian Information Criterion as selection criteria to highlight the best distribution, in both cases, comparing them with the mixture of normal distributions to illustrate the applicability of the results derived in this paper.
Rathie-Swamee distribution, Azzalini method, multimodal data set analysis, Akaike criterion information, Bayesian criterion information, maximum likelihood method, Kolmogorov-Smirnov test
There are several classical models, such as normal, exponential, binomial, Poisson, logistic etc. to analyze different data sets. As there is not a single unified model, we have to construct new models suitable for the data sets under consideration. The logistic model is very useful in many areas in statistics and physics. This article is divided as follows: Section 2 deals with symmetric generalized logistic distribution whereas in Section 3 the skew form is studied. Section 4 presents applications to analyze five real data sets using the results of earlier sections and comparing them with the mixture of two normal distributions where possible. The article ends with a short conclusion and a list of references. Rathie et al. defined a multimodal symmetric distribution function G(x) for a random variable X∼RS (a, b, p) as
With a and b not zeros simultaneously. For b=0 or when p=0, (1) is written as a logistic distribution
Where c=a or c=a + b. The density function corresponding to (1) is
A symmetric distribution can be generated by using the method proposed by Jones in 2004 . Let U ~Beta (α,α), and X=G- 1(U), where G(x) is a distribution function of g(x). Then, the distribution function H(x) of X is given as
Differentiating H(x) yields the corresponding density function as
Using (1) and (3) in (5), the generalized symmetric logistic density function for X ~ RSG (a, b, p, α) is given by
Where both a and b not zeros simultaneously and B (., .) is the beta function. For α=1, reduce to (3). We may introduce the location parameter μ in the model (6). There is no need to introduce the scale parameter, otherwise the density function will become non-identifiable. The density function (6) takes the following form on introducing the location parameter μ є R:
The Figures 1 to 4 show graphs for (6) and (7) respectively for various values of the parameters μ, a, b, p and α.
In this subsection, we prove that the distribution function corresponding to (6) is given by
Proof. For x > 0, we have
Substuting we get
By symmetry, we easily write the result for x < 0.
In this subsection, we obtain the n-th moments about the origin. By definition,
when n is an even integer
Then, by expanding the denominator by binomial theorem, we have
when n is an even integer.
The variance of X ~ RSG (a, b, p, α) is given by
In Azzalini density 
s(x) = 2 v(x)V[w(x)], x∈R 14
With w(x)=kx; k 2 R, take v(x) as the density function of X ~ RSG(a; b; p; ) and V (x) as the distribution function of X ~ RS(a; b; p). Then, the density function of generalized skew logistic model X ~ RSGA (a; b; p;α; k) is given by
Introducing the location parameter μ∈R, the density function of X ∼ RSGA (a, b, p, α, k) is given by
For certain values of the parameters, s(x) and s1(x) are plotted in Figure 5 for k =±0.7 and in Figures 6 and 7 for a=0 and b=0 respectively.
In the present section, five data sets are analyzed by using the distributions defined in earlier sections as well as the mixture of two normals for bimodal data. The estimation of parameters is done by utilizing the method of maximum likelihood estimation. Akaike Cri- terion Information , Bayesian Information Criterion, Mean Square Error, Absolute Mean Deviation and Maximum Absolute Deviation are calculated to judge the fit of RSG, RSGA and mixture of two normals. The goodness of fit test of Kolmogorov-Smirnov is used with significance level of 5%. Some packages of sotfware R are used. The GenSA package  is used to obtain initial values to interactive algorithm. For interactive algorithm, we use the bbmle::mle2 package , in most cases, using BFGS method and optimizer constrOptim to guarantee that the estimated parameters are consistent within their respective parametric space. For more details to adaptive barrier algorithm, see stats::constrOptim into soft- ware R. We obtain the estimates of the parameters, approximate the standard errors of the estimates based on quadratic approximation to the curvature at the maximum likelihood estimate, and a test (z test) of the parameter difference from zero based on this standard error and on an assumption that the sampling distribution of the estimated parameters is normal.
The AIC and BIC for the classification of the model-fit on data sets in various applications will be used. These are defined below
where ņpar is the number of parameters to be estimated and l(.;.) is the logarithm of the estimated likelihood function.
where η is the number of observations. Mean Square Error (MSE), Mean Absolute Deviation (MAD) and Maximum Absolute Deviation (MD) are defined below:
where is the empirical cumulative distribution and is the fitted cumulative distribution of the data. Of course, the smallest value obtained will indicate that there is a good fit.
Human body fat index
The data consist of 252 observations on 17 variables about human body fat. For details, see Jonhson , Penrose et al. , and Ambler et al. . Figure 8 demonstrates that the data is unimodal which is also confirmed by test [10,11] with statistics D=0.014114 and p-value near 1. The estimates of the parameters using RSG and RSGA models are given in Table 1.
|RSG Parameter||Estimate||Error||z-value||P (z)|
|µ||19.26||2.1087 × 10−5||9.1336 × 105||<0.0001|
|a||0.15401||1.127 × 10−2||13.662||<0.0001|
|b||10−4||3.3937 × 10−5||2.9467||<0.004|
|p||2.1986||1.0742 × 10−4||2.0468 × 104||<0.0001|
|α||1.2338||8.1766 × 10−4||1.5089 × 103||<0.0001|
|RSGA Parameter||Estimate||Error||z-value||P (z)|
|µ||7.8768||1.0392 × 10−2||757.9289||<0.0001|
|a||0.18403||2.8006 × 10−2||6.5712||<0.0001|
|b||10−4||3.0035 × 10−5||3.3294||<0.0001|
|p||2.2996||1.9703 × 10−3||1167.086||<0.0001|
|α||0.35062||7.2149 × 10−2||4.8597||<0.0001|
|k||1.7177||2.8455 × 10−2||60.3678||<0.0001|
Table 1: Estimates associated with RSG and RSGA models.
Table 2 shows the comparison of the models used. Figure 8 presents the histogram with adjusted models. The empirical and theoretical distributions are shows in Figure 9.
Table 2: The comparison of adjusted models used.
For AIC, it may be observed that the RSGA fit is better than RSG fit for this data set. The Bayesian criterion indicates a better fit for RSG distribution.
The data consist of 121 observations about annual precipitation (rain) between 1978 and 1998 at the center of the city of Los Angeles. These data were obtained from the site . Figure 10 demonstrates that the data is unimodal which is also confirmed by Hartigan’s test with statistics D=0.027273 and p-value equal to 0.7971. The estimates of the parameters, using RSGA distribution, are given in Table 3.
|a||49.999||2:6007 × 10-4||1.9225 × 105||<0.0001|
|b||34.113||3.9072 × 10−4||8.7308 × 104||<0.0001|
|α||2.9333 × 10−4||8.0064 × 10−5||3.6638||<0.0003|
|3.838||2.6556 × 10-4||1.4452.10-4||<0.0001|
Table 3: Estimates associated with RSGA model.
Applying the non-parametric Kolmogorov-Smirnov test, the K-S value obtained is 0.07438 with p-value 0.8914, thus not reject the hypothesis that the data satisfies RSGA distribu- tion. In 2014, Eirado et al.  proposed an asymmetric model and applied to this data set. The MSE obtained is equal to 0.001058396, the mean absolute deviation (MAD) is 0.02785116 and the maximum absolute deviation (MD) is 0.06496284. Also, we obtained MSE equal to 0.0002414233, MAD equal to 0.01185483 and MD equal to 0.04669135.
AIC and BIC of the fits of the two models are given in Table 3,4. The empirical and theoretical distributions are shows in Figure 11. Clearly, the RSGA distribution gave better fit to the precipitation data.
Table 4: The comparison of the models.
The HIV data with 2843 observations is available in fitdistrplus: Aids2 package of software R, giving the age when a patient is diagnosed with AIDS in Australia in 1991. Table 5 presents the estimates of the parameters of RSG and RSGA models.
|p||8.9282||5.2278 × 10−17||1.7078 × 1017||<0.0001|
|p||9.7371||1.0564 × 10−15||9.2174 × 1015||<0.0001|
Table 5: Estimates associated with RSGA and RSG models.
|log L −10549.26|
Table 6: Estimates associated with asymmetric normal and normal distributions.
Histogram and RSGA distributions to HIV data are shown in Figure 12 while Empirical and RSGA distributions in Figure 13. In Table 7, the Kolmogorov-Smirnov test rejects almost all adjusted distributions except RSGA distribution.
|NORMAL||0.059796||7.696 × 10−5||8.539093||0.025396||0.058367||21199.44||21211.35|
Table 7: Comparison of the models used. Comparison of the models used.
pH Concentration data
The pH concentration data  with 252 observations show bimodality which is also demonstrated by Hartigan’s test with statistics of the test equal to 0.046498 and p-value of 0.00045. The estimates of the parameters are given in Table 8.
|log L −364.2|
|log L −363.7172|
Table 8: Estimates associated with RSGA and RSG models.
Silva et al.  proposed two new asymmetric models by Azzalini’s method h1(x) and h2(x) where the pH concentration data was fitted by these two models. Table 10 shows the performance of the fitted distributions.
Using package of Benaglia et al. , the estimates of mixture of normals are given in Table 9 with parametric bootstrap performed for standard error approximation.
|Parameters||Component 1||Component 2||Error of Component 1||Error of Component 2|
Table 9: Estimates of mixture of two normal.
Histogram of pH values along with the distributions adjusted are shown in Figures 14 and 15
Table 10 gives the accuracy values of AIC, BIC, MSE etc, for various models. The RSG model adjusted well the bimodal data.
Table 10: Comparison of the models used.
Relative Humidity (RH)
The RH observations data are taken from Nychka et al. . The estimates of the parameters for RH data using the RSGA model are given in Table 11.
Table 11: Estimation of the parameters of the RSGA model.
The estimation for a mixture of two normal s are given in Table 12. The values of AIC, BIC etc. measuring the quality of fit are given in Table 13.
|NORMIX||Component 1||Component 2||Error Component 1||Error Component 2|
Table 12: Estimation of the parameters of the mixture of two normal.
Table 13: Comparison of the models used,
In Figure 16, the histogram and the fit using Empirical, RSGA and the mixture of two normals distributions are shown. In Figure 17, the empirical and theoretical distributions are shown.
The Rathie-Swamee generalized distribution (RSG) and its skew form (RSGA) proved useful to five data sets analyzed, thus demonstrating their applicabilities over the mixture of two normals, in case of bimodal sets (pH concentration and relative humidity).
P. N. Rathie thanks the Coordination for the Improvement of Higher Level Personnel (CAPES) for supporting his Senior National Visiting Professorship.