Next Article in Journal
Modeling of Strength Characteristics of Polymer Concrete Via the Wave Equation with a Fractional Derivative
Next Article in Special Issue
Expanded Fréchet Model: Mathematical Properties, Copula, Different Estimation Methods, Applications and Validation Testing
Previous Article in Journal
Understanding Factors Affecting Innovation Resistance of Mobile Payments in Taiwan: An Integrative Perspective
Previous Article in Special Issue
Mutually Complementary Measure-Correlate-Predict Method for Enhanced Long-Term Wind-Resource Assessment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Scale Mixture of Rayleigh Distribution

by
Pilar A. Rivera
1,
Inmaculada Barranco-Chamorro
2,
Diego I. Gallardo
3 and
Héctor W. Gómez
1,*
1
Departamento de Matemáticas, Facultad de Ciencias Básicas, Universidad de Antofagasta, Antofagasta 1240000, Chile
2
Departamento de Estadística e I.O., Facultad de Matemáticas, Universidad de Sevilla, 41000 Sevilla, Spain
3
Departamento de Matemática, Facultad de Ingeniería, Universidad de Atacama, Copiapó 1530000, Chile
*
Author to whom correspondence should be addressed.
Mathematics 2020, 8(10), 1842; https://doi.org/10.3390/math8101842
Submission received: 22 September 2020 / Revised: 14 October 2020 / Accepted: 14 October 2020 / Published: 20 October 2020
(This article belongs to the Special Issue Probability, Statistics and Their Applications)

Abstract

:
In this paper, the scale mixture of Rayleigh (SMR) distribution is introduced. It is proven that this new model, initially defined as the quotient of two independent random variables, can be expressed as a scale mixture of a Rayleigh and a particular Generalized Gamma distribution. Closed expressions are obtained for its pdf, cdf, moments, asymmetry and kurtosis coefficients. Its lifetime analysis, properties and Rényi entropy are studied. Inference based on moments and maximum likelihood (ML) is proposed. An Expectation-Maximization (EM) algorithm is implemented to estimate the parameters via ML. This algorithm is also used in a simulation study, which illustrates the good performance of our proposal. Two real datasets are considered in which it is shown that the SMR model provides a good fit and it is more flexible, especially as for kurtosis, than other competitor models, such as the slashed Rayleigh distribution.

1. Introduction

Rayleigh distribution is a continuous and positive distribution named after Lord Rayleigh (J.W. Strutt 1880–1919), who introduced it in connection with a problem in acoustics. Since then, it has been widely used in different fields of science and technology and has become one of the most popular models for describing skewed positive data. Siddiqui [1] discussed the relationship of certain problems with the Rayleigh distribution. Miller [2] worked with this distribution for modeling the length of a vector in an N-dimensional euclidean space, whose components are independent and normally distributed according to a N ( 0 , σ 2 ) distribution. Polovko [3], in the field of reliability, highlight that the hazard function of a Rayleigh distribution is an increasing linear function of time. Hirano [4] provides us the history and relevant properties of this model. Results on unbiased minimum variance estimation in this model can be seen in Lopez-Blazquez et al. [5]. Bayesian analysis has been carried out by Ahmed et al. [6], who discussed and compared classical and Bayesian methods by using the mean squared error. As for applications of interest in the fields of Engineering and Physics, Sarti et al. [7], Kalaiselvi et al. [8] and Dhaundiyal and Singh [9] can be cited, among others. All these references illustrate the potential interest of this model from a theoretical and applied point of view.
Recall that a continuous random variable (RV) X follows a Rayleigh (R) distribution with scale parameter σ > 0 , denoted as X R ( σ ) , if its probability density function (pdf) is
f X ( x ) = x σ e x 2 2 σ , x , σ > 0 .
An extension of (1), named slashed Rayleigh (SR), was proposed by Iriarte et al. [10]. The SR model, T S R ( σ , q ) , is defined as
T = X U 1 q ,
where X and U are independent RVs, X R ( σ ) , U follows an uniform distribution on ( 0 , 1 ) , U U ( 0 , 1 ) and q > 0 is a scalar. The pdf of T is
f T ( t ; σ , q ) = q ( 2 σ ) q 2 t q + 1 Γ q + 2 2 F t 2 2 σ ; q + 2 2 ; 1 , t > 0 ,
where Γ ( · ) denotes the gamma function, and F ( · ; a ; b ) the cdf of a gamma distribution with shape and rate parameters a and b, respectively.
In this paper, an extension of the R distribution is introduced following the general method to obtain distributions with a higher kurtosis coefficient than the slash version of the Rayleigh model proposed by Iriarte et al. [10], and applied successfully by other authors: Reyes et al. [11] to obtain the Generalized Modified slash model, Reyes et al. [12] to get a generalization of Birnbaum–Saunders, Iriarte et al. [13] and Segovia [14] to extend the quasi-gamma and power Maxwell distributions, respectively. It will be proven that our proposal admits a representation as a scale mixture of a Rayleigh and a Generalized Gamma distribution. Throughout the different sections in this paper, it will be shown that the SMR distribution can be used for modeling positive, right skew data with a heavy right tail.
The outline of this paper is as follows. Section 2 is devoted to the study of the SMR model; the property of mixture is presented and closed expressions are given for its pdf, cdf, moments, asymmetry and kurtosis coefficient. In Section 3, results of interest in survival analysis and reliability are given. These are the survival and hazard function, mean residual life and order statistics. We highlight that, in contrast to the Rayleigh distribution, whose hazard function is increasing and linear, the hazard function of the SMR model is unimodal. In Section 4, the Rényi entropy is obtained. Section 5 is devoted to moment and ML estimation of parameters. An EM type algorithm is given, which has closed expressions in all the stages, and therefore it allows us to estimate the parameters in a computationally efficient way. In Section 6, a simulation study is carried out, which suggests the consistency of estimators even for moderate sample sizes. In Section 7, two real applications from the fields of survival analysis and engineering are provided. Plots and criteria are considered that show that the SMR model fits better than R and SR models, especially on the right tail of the datasets. The simulation study and applications have been carried out by using R programming language. Some final conclusions can be seen in Section 8.

2. Definition and Properties

In this section, a new extension of R distribution is introduced. Simple expressions (which can be computed easily in many softwares) for its pdf and cdf are obtained, along with its moments, skewness and kurtosis coefficients. It is also proved that this model can be expressed as a scale mixture of distributions. This result is the basis to apply the EM algorithm in Section 5.
Our proposal is based on the Generalized Gamma (GG) distribution introduced by Stacy [15] and whose pdf is given in Definition 1.
Definition 1.
An RV Z follows a three-parameter GG distribution, proposed by Stacy [15], if its pdf is
f ( z ; a , d , p ) = p a d Γ d p z d 1 e a z p , a , d , p , z > 0 .
We denote as Z G G ( a , d , p ) .
Next, the new model is introduced.
Definition 2.
An RV T follows an SMR distribution with parameters σ > 0 and q > 0 , if T can be expressed as the ratio of two independent RVs
T = X Y ,
with X R ( σ ) and Y G G ( 1 , q , 2 ) . We use the notation T S M R ( σ , q ) .
Next, the pdf of T is given.
Proposition 1.
Let T S M R ( σ , q ) with σ > 0 and q > 0 . Then the pdf of T is
f T ( t ; σ , q ) = q t 2 σ t 2 2 σ + 1 q 2 + 1 , t > 0 .
Proof. 
Taking into account (3) with X R ( σ ) independent of Y G G ( 1 , q , 2 ) , with σ , q > 0 and whose pdfs are given in (1) and (2), respectively. By applying the Jacobian method (see Casella and Berger [16], Section 4.3) to X = T Z and Y = Z , the joint pdf of ( T , Z ) , f T , Z , is
f T , Z ( t , z ) = 2 t σ Γ ( q / 2 ) z q + 1 exp z 2 t 2 2 σ + 1 , t > 0 , z > 0 .
The marginal pdf of T is
f T ( t ; σ , q ) = 2 t σ Γ ( q / 2 ) 0 z ( q + 2 ) 1 exp t 2 2 σ + 1 z 2 d z , t > 0 .
Note that the integrand in (5) is related to the pdf of a G G 1 + t 2 2 σ 1 / 2 , q + 2 , 2 distribution, except for a constant. Therefore,
f T ( t ; σ , q ) = q t 2 σ 1 + t 2 2 σ q 2 + 1 , t > 0 .
Remark 1.
A G G ( 1 , q , 2 ) model has been proposed for Y in (3) in order to get a closed expression for the pdf of T given in (4).
Next, the cumulative distribution function (cdf) of T is obtained.
Proposition 2.
Let T S M R ( σ , q ) with σ > 0 and q > 0 . Then the cdf of T is
F T ( t ) = 1 1 t 2 2 σ + 1 q 2 , t > 0 .
Proof. 
Taking into account (4) and the change of variable u = x 2 2 σ + 1 , the result is obtained. □
Plots of (4) and (6) are given in Figure 1 for σ = 1 and several values of q.
It will be seen that σ > 0 is a scale parameter and q > 0 is a shape parameter since it affects the skewness and kurtosis coefficients in this model.
The next proposition shows that the SMR model can be expressed as a scale mixture of distributions.
Proposition 3.
Let T | V = v R σ v 2 and V G G ( 1 , q , 2 ) with σ and q > 0 . Then T S M R ( σ , q ) .
Proof. 
Recall that the joint pdf of ( T , V ) is f ( t , v ) = f t | v ( t ) f v ( v ) . Then f T ( t ) is given by
f T ( t ; σ , q ) = 0 f ( t , v ) d v = q t 2 σ 1 + t 2 2 σ ( q + 2 ) / 2 0 2 v ( q + 2 ) 1 1 + t 2 2 σ ( q + 2 ) / 2 q 2 Γ q 2 exp v 1 + t 2 2 σ 1 / 2 2 d v .
Note that the last integrand corresponds to the pdf of an RV with G G 1 + t 2 2 σ 1 / 2 , q + 2 , 2 distribution. Therefore, such integral is 1 and then
f T ( t ; σ , q ) = q t 2 σ 1 + t 2 2 σ ( q + 2 ) / 2 , t > 0 ,
that is T S M R ( σ , q ) . □
Remark 2.
Proposition 3 is a key result in this paper since it allows us to generate random samples of SMR model. It will be also useful for the application of EM algorithm, simulation studies and computation of ML estimators.

Moments

In this subsection, the moments of SMR distribution are obtained. For this, the next lemma will be useful.
Lemma 1.
Let Y G G ( 1 , q , 2 ) with q > 0 . For r > 0 , E [ Y r ] exists if and only if r < q and in this case
E [ Y r ] = Γ q r 2 Γ q 2 .
Proof. 
By definition,
E [ Y r ] = 2 Γ ( q / 2 ) 0 y r + q 1 e y 2 d y .
By making the change of variable u = y 2 , the result is immediate. □
In Proposition 4, the noncentral moments of an SMR model are given.
Proposition 4.
Let T S M R ( σ , q ) with σ and q > 0 . For r > 0 , E [ T r ] exists if and only if r < q and in this case
E [ T r ] = ( 2 σ ) r / 2 Γ r + 2 2 Γ q r 2 Γ q 2 .
Proof. 
By using the representation given in (3) and the independence of X and Y
E [ T r ] = E X Y r = E [ X r ] E [ Y r ] = ( 2 σ ) r / 2 Γ r + 2 2 Γ q r 2 Γ q 2
where E [ X r ] = ( 2 σ ) r / 2 Γ r + 2 2 is the rth-moment of a R ( σ ) distribution and E Y r was given in (7). □
From Proposition 4, the explicit expression of the noncentral moments, μ r = E [ T r ] , for r = 1 , 2 , 3 , 4 and the variance of T S M R ( σ , q ) , V ( T ) follow.
Corollary 1.
Let T S M R ( σ , q ) with σ , q > 0 . From (8), the first four noncentral moments and the variance of T, say V ( T ) , are given by
μ 1 = π σ 2 Γ q 1 2 Γ q 2 , q > 1 , μ 2 = 2 σ Γ q 2 2 Γ q 2 , q > 2 , μ 3 = 3 π σ 3 2 Γ q 3 2 Γ q 2 , q > 3 , μ 4 = 8 σ 2 Γ q 4 2 Γ q 2 , q > 4 ,
V ( T ) = σ 4 Γ q 2 2 Γ q 2 π Γ q 1 2 2 2 Γ q 2 2 , q > 2 .
Remark 3.
From Corollary 1, it follows that σ is a scale parameter, that is, if T S M R ( σ , q ) then T σ S M R ( 1 , q ) . In addition, note that the coefficient of variation, c . v ( T ) = V ( T ) 1 / 2 μ 1 , does not depend on σ.
The next proposition gives us the asymmetry coefficient, β 1 , of an S M R ( σ , q ) model.
Proposition 5.
Let T S M R ( σ , q ) with σ > 0 and q > 3 . Then the asymmetry coefficient of T is
β 1 = 2 π 3 a 31 a 02 6 a 11 a 21 a 01 + π a 13 64 a 23 a 03 48 π a 12 a 22 a 02 + 12 π 2 a 21 a 01 a 14 π 3 a 16 1 / 2 ,
where a i j = Γ q i 2 j .
Proof. 
Recall that
β 1 = E [ ( T E ( T ) ) 3 ] ( V ( T ) ) 3 / 2 = μ 3 3 μ 1 μ 2 + 2 μ 1 3 ( μ 2 μ 1 2 ) 3 / 2 ,
where μ 1 , μ 2 and μ 3 were given in Corollary 1. Then
β 1 = 2 π 3 a 31 a 02 6 a 11 a 21 a 01 + π a 13 64 a 23 a 03 48 π a 12 a 22 a 02 + 12 π 2 a 21 a 01 a 14 π 3 a 16 1 / 2 .
The next proposition gives us the kurtosis coefficient, β 2 , of an S M R ( σ , q ) model.
Proposition 6.
Let T S M R ( σ , q ) with σ > 0 and q > 4 . Then the kurtosis coefficient of T is
β 2 = 32 a 41 a 03 24 π a 31 a 11 a 02 + 24 π a 12 a 21 a 01 3 π 2 a 14 16 a 22 a 02 8 π a 01 a 21 a 12 + π 2 a 14 .
Proof. 
Recall that
β 2 = E [ ( T E ( T ) ) 4 ] ( V ( T ) ) 2 = μ 4 4 μ 1 μ 3 + 6 μ 1 2 μ 2 3 μ 1 4 ( μ 2 μ 1 2 ) 2 ,
where μ 1 , μ 2 , μ 3 and μ 4 were given in Corollary 1. Then
β 2 = 32 a 41 a 03 24 π a 31 a 11 a 02 + 24 π a 12 a 21 a 01 3 π 2 a 14 16 a 22 a 02 8 π a 01 a 21 a 12 + π 2 a 14 .
Note that the asymmetry and kurtosis coefficients only depend on the parameter q. Therefore q is a shape parameter since it determines the asymmetry and kurtosis coefficients of this model. In addition, it is of interest to compare both coefficients to other models, such as SR distribution, introduced in Iriarte et al. [10].
Figure 2 shows the plots for the asymmetry, (a), and kurtosis, (b), coefficients for SMR and SR models. We highlight that both coefficients are much higher for the SMR distribution than the ones for the SR model. That means that SMR distribution is more flexible with respect to the asymmetry and kurtosis than SR model.
To conclude, note that (9) and plot (a) in Figure 2 suggest that β 1 takes values in [ 0.68 ; + ) . On the other hand, (10) and plot (b) in Figure 2 suggest that β 2 approximately takes values in [ 3.36 ; + ) . That is, we are dealing with a skew right model, (the right tail is long relative to the left one), with positive kurtosis, i.e., heavy tails.

3. Lifetime Analysis

Since the SMR distribution is nonnegative and asymmetric, it can be used to model survival time data. In this section, the main features of interest in this field are studied. First the survival and hazard function for an SMR model are given.
Proposition 7.
Let T S M R ( σ , q ) with σ and q > 0 . Then
 1.
The survival function is S ( t ; σ , q ) = t 2 2 σ + 1 q 2 , t > 0 .
 2.
The hazard function is
h ( t ; σ , q ) = q t t 2 + 2 σ , t > 0 .
Proof. 
Straightforward from S ( t ) = 1 F ( t ) and h ( t ) = f ( t ) / S ( t ) . □
Remark 4.
From (11), it follows that for an S M R ( σ , q ) model the hazard function h ( t ; σ , q ) is monotone increasing for t ( 0 , 2 σ ) , monotone decreasing for t ( 2 σ , + ) and reaches its maximum at t = 2 σ . Moroever,
0 < h ( t ; σ , q ) q 2 2 σ , t > 0 .
Note that the intervals where h ( t ; σ , q ) is monotone only depend on the parameter σ, they do not depend on q.
Plots of h ( t ; σ , q ) are given in Figure 3 for σ = 1 and q < 1 in (a) and q > 1 in (b). In both settings, we note that the peak increases with q.
Remark 5.
For λ > 0 , the survival function of the SMR model satisfies that
lim t + S ( λ t ; σ , q ) S ( t ; σ , q ) = lim t + t 2 2 σ + 1 q 2 ( λ t ) 2 2 σ + 1 q 2 = lim t + λ 2 + 2 σ / t 2 1 + 2 σ / t 2 q / 2 = λ q 1 .
Therefore, the survival function of the SMR distribution is regularly varying.

Mean Residual Life

Next the mean residual life is studied. Recall that for a nonnegative RV T, its mean residual life is defined as m ( t ) = E ( T t | T > t ) for t > 0 . m ( t ) can be obtained as
m ( t ) = E ( T t | T > t ) = t S ( z ) S ( t ) d z
with S ( · ) the survival function of T.
It will be proved that this characteristic can be expressed in terms of the survival function of a Pearson Type VII (PTVII) distribution.
Definition 3.
An RV W follows a PTVII distribution with parameters m, c and ξ (see Johnson et al. [17]) if its pdf is given by
f ( w ; m , c , ξ ) = c 2 m 1 Γ m π Γ m 1 2 c 2 + ( w ξ ) 2 m ,
with w R , m > 1 / 2 , c > 0 and ξ R . We denote as W P T V I I m , c , ξ .
Proposition 8.
The mean residual life of T S M R ( σ , q ) , q > 1 , can be obtained as
m ( t ; σ , q ) = 2 π σ Γ q 1 2 Γ q 2 t 2 2 σ + 1 q 2 S W ( t ) , t > 0
where S W denotes the survival function of an RV W P T V I I q 2 , 2 σ , 0 .
Proof. 
Recall that
m ( t ; σ , q ) = E ( T t | T > t ) = t S ( z ; σ , q ) S ( t ; σ , q ) d z = t 2 2 σ + 1 q 2 t 1 z 2 2 σ + 1 q 2 d z .
Note that the integrand in previous expression is, up to a constant, the pdf of a P T V I I q 2 , 2 σ , 0 distribution. Therefore we can write
m ( t ; σ , q ) = 2 π σ Γ q 1 2 Γ q 2 t 2 2 σ + 1 q 2 S W ( t )
with S W the survival function of W P T V I I q 2 , 2 σ , 0 , q > 1 . □
In Proposition 9, an explicit expression for (14) is given in terms of the regularized incomplete beta function, defined as
I x ( a , b ) = B ( x ; a , b ) B ( a , b ) , with B ( x ; a , b ) = 0 x t a 1 ( 1 t ) b 1 d t and B ( a , b ) = B ( 1 , a , b ) .
This expression is useful from a computational point of view.
Proposition 9.
For q > 1 , the mean residual life of T S M R ( σ , q ) can be obtained as
m ( t ; σ , q ) = t 2 2 σ + 1 q 2 π σ Γ q 1 2 2 Γ q 2 1 I t 2 2 σ + t 2 1 2 , q 1 2 , t > 0 .
Proof. 
Let us consider the integral in (15) and the change of variable u = z 2 2 σ
t 1 z 2 2 σ + 1 q 2 d z = σ 2 t 2 2 σ u 1 / 2 ( 1 + u ) q / 2 d u = σ 2 B 1 2 , q 1 2 0 t 2 2 σ u 1 / 2 ( 1 + u ) q / 2 d u = σ 2 B 1 2 , q 1 2 1 I t 2 2 σ + t 2 1 2 , q 1 2 .
By using the relationship
B ( a , b ) = Γ ( a ) Γ ( b ) Γ ( a + b )
and Γ ( 1 / 2 ) = π , from (16) and (17) is obtained. □

Order Statistics

Given a random sample of size n of T S M R ( σ , q ) , let us denote by T ( j ) the j t h order statistics, j { 1 , , n } .
Proposition 10.
The pdf of T ( j ) is
f T ( j ) ( t ) = n ! ( j 1 ) ! ( n j ) ! q t 2 σ 1 t 2 2 σ + 1 q 2 j 1 t 2 2 σ + 1 q 2 ( n j + 1 ) 1 , t > 0 .
In particular, the pdf of the minimum, T ( 1 ) , is
f T ( 1 ) ( t ) = n q t 2 σ t 2 2 σ + 1 q n 2 1 , t > 0 .
and the pdf of the maximum, T ( n ) , is
f T ( n ) ( t ) = n q t 2 σ 1 t 2 2 σ + 1 q 2 n 1 t 2 2 σ + 1 q 2 1 , t > 0 .
Proof. 
Since we are dealing with an absolutely continuous model, the pdf of the j t h order statistics is obtained by applying
f T ( j ) ( t ) = n ! ( j 1 ) ! ( n j ) ! f ( t ) [ F ( t ) ] j 1 [ 1 F ( t ) ] n j , j { 1 , , n }
where F and f denote the cdf and pdf of the parent distribution, T S M R ( σ , q ) in this case. □
Remark 6.
From (18), note that T ( 1 ) S M R ( σ , q n ) . That is, when sampling from an S M R ( σ , q ) distribution then the minimum is also distributed according to an SMR model.

4. Entropy

In this section Rényi entropy is obtained for the SMR model. Given T an RV and γ ( 0 , 1 ) ( 1 , ) , the Rényi entropy of T is given by
E R ( γ ) = 1 1 γ log 0 [ f T ( t ) ] γ d t ,
where log = log e denotes the Naperian logarithm.
Proposition 11.
Let T S M R ( σ , q ) and γ ( 0 , 1 ) ( 1 , ) . Then the Rényi entropy of T is
E R ( γ ) = log ( σ ) 2 + 1 1 γ ( γ + 1 ) 2 log ( 2 ) + γ log ( q ) + log B γ + 1 2 , γ ( q + 1 ) 1 2
Proof. 
By proceeding similarly to Proposition 9, it can be proved that
0 [ f T ( t ) ] γ d t = 2 γ + 1 2 q γ σ γ 1 2 B γ + 1 2 , γ ( q + 1 ) 1 2
By applying (19), from (20) and (21) is obtained. □

5. Inference

In this section, moment and ML estimation methods are studied.

5.1. Moment Method Estimators

Let T 1 , , T n be a random sample from T S M R ( σ , q ) . Let us consider the first and second sample moments, denoted by T ¯ = i = 1 n T i n and T 2 ¯ = i = 1 n T i 2 n , respectively.
Proposition 12.
Given T 1 , , T n a random sample from T S M R ( σ , q ) with q > 2 , the moment method estimators of σ and q are
σ ^ m = 2 π T ¯ Γ q ^ m 2 Γ q ^ m 1 2 2
4 T ¯ 2 Γ q ^ m 2 Γ q ^ m 2 2 π T 2 ¯ Γ q ^ m 1 2 2 = 0 ,
where (23) must be solved numerically to obtain q ^ m . Later, q ^ m must be replaced in (22) to get σ ^ m .
Proof. 
Consider the moment method equations
μ 1 = T ¯
μ 2 = T 2 ¯
with μ i the noncentral moments of T given in Corollary 1 for i = 1 , 2 .
σ ^ m given in (22) is obtained from (24). From (22) and (25), we have
2 π · T ¯ 2 Γ q 2 2 Γ q 1 2 2 = T 2 ¯ Γ q 2 2 Γ q 2 2 ,
which can be rewritten as (23) and must be solved numerically to obtain q ^ m . □

5.2. ML Estimation

Let T 1 , , T n be a random sample from T S M R ( σ , q ) . Then the log-likelihood function is
l ( σ , q ) = n ln ( q ) + i = 1 n ln ( t i ) n ln ( 2 ) n ln ( σ ) q 2 + 1 i = 1 n ln t i 2 2 σ + 1
Taking partial derivatives in l ( σ , q ) with respect to σ and q and setting them equal to zero, we get
n + 1 + n i = 1 n ln t i 2 2 σ ^ + 1 i = 1 n t i 2 t i 2 + 2 σ ^ = 0
q ^ = 2 n i = 1 n ln t i 2 2 σ ^ + 1 ,
where (26) must be solved numerically to get σ ^ , which must be substituted into (27) to obtain q ^ . Since we do not have explicit expressions for ML estimators, EM algorithm can be implemented to get these estimates. The next section is devoted to reach this aim.

5.3. ML Estimation Using EM-Algorithm

The EM-algorithm (Dempster et al. [18]) enables the computationally efficient determination of the ML estimates when iterative procedures are required. Next, details about the implementation of this algorithm for the SMR model are given. The method is based on Proposition 3 and Lemma 2.
Lemma 2.
Let X G a m m a ( k , β ) with k > 0 shape parameter and β > 0 rate parameter, that is its pdf is f X ( x ) = 1 Γ ( k ) β k x k 1 e β x , x > 0 . Then
 1.
X m G G β m , k m , 1 m , m > 0 , with pdf given in (2).
 2.
E [ log ( X ) ] = Ψ ( k ) log ( β ) where Ψ ( · ) denotes the digamma function.
Let T S M R ( σ , q ) , by applying the hierarchical representation given in Proposition 3, we can write T | Y = y R ( σ / y 2 ) and Y G G ( 1 , q , 2 ) . The joint pdf of ( T , Y ) is
f ( t , y | θ ) = f T ( t | y , θ ) · f Y ( y | θ ) = 2 t y q + 1 σ Γ ( q / 2 ) exp y 2 1 + t 2 2 σ ,
where Y is a latent variable and the parameter vector is θ = ( σ , q ) T , θ R + × R + .
Given T 1 , , T n , a random sample of size n from T S M R ( σ , q ) , let us denote by t = [ t 1 , , t n ] the observed data, y = [ y 1 , , y n ] the unobserved data and t c = [ t , y ] the complete data, that is, the original data t augmented by y .
Let l c ( θ | t c ) and Q ( θ | θ ^ ) = E [ l c ( θ | t c ) | t , θ ^ ] the complete log-likelihood function associated with t c and its expected value, respectively. From (28), l c ( θ | t c ) is
l c ( θ | t c ) = i = 1 n log f ( t i , y i | ( θ ) = ( q + 1 ) i = 1 n log ( y i ) n log ( σ ) n log ( Γ ( q / 2 ) ) i = 1 n y i 2 1 + t i 2 2 σ + c ,
where c is a constant, which does not depend on θ .
In order to get Q ( θ | θ ^ ) and apply EM-algorithm, we need to calculate E [ y i 2 | t i , θ ] and E [ log ( y i ) | t i , θ ] . From (28) and (2)
f ( y i | t i , θ ) = C × y i q + 1 exp y i 2 1 + t i 2 2 σ = C × y i ( q + 2 ) 1 exp y i 1 + t i 2 2 σ 1 / 2 2 ,
where C is a constant that does not depend on y i . As (29) is related to the pdf of a Generalized Gamma distribution, specifically,
Y i | t i , θ G G 1 + t i 2 2 σ 1 / 2 , q + 2 , 2 .
Then
E [ Y i 2 | t i , θ ] = 1 + t i 2 2 σ 1 / 2 2 Γ ( q + 2 ) + 2 2 Γ q + 2 2 = σ ( q + 2 ) 2 σ + t i 2
On the other hand, Lemma 2 can be applied to (30) with
β = 1 + t i 2 2 σ , k = q + 2 2 and m = 1 2 .
Taking into account that
E [ log ( X m ) ] = E [ m · log ( X ) ] = m [ Ψ ( k ) log ( β ) ]
we have
E [ log ( Y i ) | t i , θ ] = 1 2 Ψ q + 2 2 1 2 log 1 + t i 2 2 σ .
Let Q ( θ | θ ^ ) = E [ l c ( θ | t c ) | t , θ ^ ] be the conditional expectation of the complete log-likelihood function. We have
Q ( θ | θ ^ ) = ( q + 1 ) i = 1 n log y i ^ n log ( σ ) n log Γ q 2 i = 1 n y i 2 ^ 1 + t i 2 2 σ ,
with y i 2 ^ = E [ Y i 2 | t i , θ = θ ^ ] and log y i ^ = E [ log ( Y i ) | t i , θ = θ ^ ] given in (31) and (32), respectively. Taking first partial derivative with respect to σ , the estimate of σ is given by
σ ^ = 1 2 · t 2 y 2 ^ ¯
where t 2 y 2 ^ ¯ is the mean of t i 2 y i 2 ^ . By proceeding similarly, the estimate of q is
q ^ = 2 Ψ 1 2 · log ( y ) ^ ¯
where log ( y ) ^ ¯ is the mean of log ( y i ) ^ and Ψ 1 ( · ) is the inverse of the digamma function. Therefore, the EM algorithm is
  • E-step: For i = 1 , , n compute
    y i 2 ^ ( k + 1 ) = σ ( k ) ( q ( k ) + 2 ) 2 σ ( k ) + t i 2 , log ( y i ) ^ ( k + 1 ) = 1 2 Ψ q ( k ) + 2 2 log 1 + t i 2 2 σ ( k )
  • M-step: Update the vector of parameters θ = ( σ , q )
    σ ^ ( k + 1 ) = 1 2 t 2 y 2 ^ ( k + 1 ) ¯ , q ^ ( k + 1 ) = 2 Ψ 1 2 log ( y ) ^ ( k + 1 ) ¯ .
  • E and M steps are repeated until a suitable convergence is reached.
EM algorithm implementation was carried out by using R software. Three functions were implemented. In the function used in E step, estimates of y i 2 ( k + 1 ) and log ( y i ) ( k + 1 ) were generated. In the function used in M step, estimates of σ and q were obtained. Later, these steps were repeated by using a function with the convergence criterion. The criterion was to stop when the difference between the successive values obtained is less than a a value fixed in advance, specifically it was
max σ ( k ) σ ( k 1 ) , q ( k ) q ( k 1 ) < ϵ with ϵ = 10 4 .

6. Simulation Study

In this section, the performance of ML estimates for finite sample sizes is studied. It is empirically checked if the proposed estimators satisfy desirable properties, such as asymtotic unbiasedness, asymptotic efficiency, asymptotic normality. Values of the Rayleigh and the Generalized Gamma distributions were generated to get values of the SMR distribution introduced in (4). The EM algorithm was used to compute the estimates of parameters in the SMR model, and their standard errors. This procedure was carried out 10,000 times with sample sizes n = { 30 , 40 , , 190 , 200 } , and taking as values of the parameters σ = 1 and 10; q = 1, 1.5, 2 and 3.
As summaries of these simulations, the average of estimates, average of standard errors of estimates, average bias, squared root of mean squared error (RMSE) and the empirical coverage probability of confidence intervals for the parameters (with confidence level 0.95) were calculated. From Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10 and Figure 11, average bias, RMSE and empirical coverage probability (in percentages) are plotted for n varying in { 30 , 40 , , 190 , 200 } . It is observed that if the sample size increases then bias and RMSE decrease, this fact suggests that the estimators are consistent. In addition, we note that the empirical coverage probability (in percentage) approaches to the nominal level (95%) when the sample size increases.

7. Real Data Illustration

In this section, we present applications of SMR model in two real datasets from the fields of lifetime analysis and reliability. To illustrate its good performance, our proposal is compared to other competing models previously introduced in literature. These are R and SR distributions.

7.1. Application to Patients with Bladder Cancer

We consider a dataset corresponding to remission times (in months) of a random sample of 128 bladder cancer patients studied by Lee and Wang [19]. The S M R ( σ , q ) model is proposed to describe this dataset. The EM algorithm was used to estimate σ and q. Their corresponding standard errors were obtained by using the inverse of the hessian matrix.
Table 1 provides the descriptive summaries. These are: the sample size n, the sample mean T ¯ , the standard deviation S, the sample asymmetry coefficient b 1 , the sample kurtosis coefficient b 2 , the sample minimum min ( T ) and the sample maximum max ( T ) . We highlight that we are dealing with positive, positive skewed data with a really high kurtosis, b 2 = 18.483 .
Table 2 provides the ML estimates of parameters and their standard errors in parentheses for SMR, R and SR models. These models are compared by using the Akaike Information Criterion (AIC), Akaike [20] and the Bayesian Information Criterion (BIC), introduced in Schwarz [21]. Both criteria reveal that the SMR model provides a better fit to this data since their values are less than the others.
Figure 12 depicts the histogram of this dataset along with the estimated pdf for R, SR and SMR distributions. Moreover, Figure 13 provides the corresponding QQ-plots for these models. Note that the QQ-plots for R and SR models show that these distributions does not provide a good fit on the right tail of these data. However the QQ-plot for the SMR distribution does not exhibit this drawback.
All these plots and summaries suggest that the SMR model provides a better fit to this dataset than the other models under consideration.

7.2. Application to Number of Failures of an Air Conditioning System

The second dataset under consideration was reported by Proschan [22]. This dataset consists of the times between failures of the air-conditioning equipment in 13 Boeing 720 aircrafts. A similar outline to that given in previous applications has been followed. Table 3 shows the basic statistical summaries. We highlight that, again, a high value of kurtosis is observed b 2 = 8.023 .
In Table 4, results related to the fit of R, SR and SMR models are given. Note that the SMR model provides a better fit over the others since its AIC and BIC values are less than those in R and SR models.
In Figure 14, the histogram and the estimated pdfs are given. Figure 15 provides the corresponding QQ-plots. Note that the SMR model provides a better fit, especially for the right tail of the dataset.

8. Conclusions

In this paper, the SMR distribution is introduced. As strengths of our proposal, we highlight that it is more flexible as for its kurtosis coefficient and hazard function than the Rayleigh and slashed Rayleigh distribution. Closed expressions are given for its main characteristics: pdf, cdf, moments and related coefficients. Since we are dealing with a positive and skew right model, it can be of interest for modeling survival time and reliability data. For this reason, features of interest in this field such as the hazard function, mean residual life and order statistics are studied. A closed expression is obtained for the Rényi entropy. The special interest is the EM estimation algorithm based on the hierarchical representation proposed for this model. A simulation study is included, which suggests that the ML estimators are consistent even for moderate sample sizes. Two real applications are included, in which AIC, BIC and QQ-plots show that our proposal provides a better fit than R and SR distributions, especially on the right tail of these datasets.

Author Contributions

Conceptualization, I.B.-C. and H.W.G.; formal analysis, P.A.R., I.B.-C., D.I.G. and H.W.G.; investigation, P.A.R., I.B.-C., D.I.G. and H.W.G.; methodology, I.B.-C. and H.W.G.; software, P.A.R. and D.I.G.; supervision, H.W.G.; validation, D.I.G. and I.B.-C.; visualization, H.W.G. All authors have read and agreed to the published version of the manuscript.

Funding

The research of I. Barranco-Chamorro was supported by Grant CTM2015-68276-R (Spain). The research of H.W. Gómez was supported by Grant SEMILLERO UA-2020 (Chile).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Siddiqui, M.M. Some problems connected with Rayleigh distributions. J. Res. Natl. Bureu Stand. Ser. D 1962, 66, 167–174. [Google Scholar] [CrossRef]
  2. Miller, K.S. Multidimensional Gaussian Distributions; Wiley: New York, NY, USA, 1964. [Google Scholar]
  3. Polovko, A.M. Fundamentals of Reliability Theory; Academic Press: San Diego, CA, USA, 1968. [Google Scholar]
  4. Hirano, K. Rayleigh distribution, In Encyclopedia of Statistical Sciences; Kotz, S., Johnson, N.L., Read, C.B., Eds.; Wiley: New York, NY, USA, 1986; pp. 647–649. [Google Scholar]
  5. Lopez-Blazquez, J.F.; Barranco-Chamorro, I.; Moreno-Rebollo, J.L. Umvu estimation for certain family of exponential distributions. Commun. Stat.-Theory Methods 1997, 26, 469–482. [Google Scholar] [CrossRef]
  6. Ahmed, A.; Ahmad, S.P.; Reshi, J.A. Bayesian Analysis of Rayleigh Distribution. Int. J. Sci. Res. Publ. 2013, 3, 217–225. [Google Scholar]
  7. Sarti, A.; Corsi, C.; Mazzini, E.; Lamberti, C. Maximum likelihood segmentation of ultrasound images with Rayleigh distribution. IEEE Trans. Ultrason. Ferroelectr. Freq. Control 2005, 52, 947–960. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Kalaiselvi, S.; Loganathan, A.; Vijayaraghavan, R. Bayesian Reliability Sampling Plans under the Conditions of Rayleigh-Inverse-Rayleigh Distribution. Econ. Qual. Control 2014, 29, 29–38. [Google Scholar] [CrossRef]
  9. Dhaundiyal, A.; Singh, S.B. Approximations to the Non-Isothermal Distributed Activation Energy Model for Biomass Pyrolysis Using the Rayleigh Distribution. Acta Technol. Agric. 2017, 20, 78–84. [Google Scholar] [CrossRef] [Green Version]
  10. Iriarte, Y.A.; Gómez, H.W.; Varela, H.; Bolfarine, H. Slashed Rayleigh Distribution. Colomb. J. Stat. 2015, 38, 31–44. [Google Scholar] [CrossRef]
  11. Reyes, J.; Barranco-Chamorro, I.; Gallardo, D.; Gómez, H.W. Generalized modified slash Birnbaum-Saunders distribution. Symmetry 2018, 10, 724. [Google Scholar] [CrossRef] [Green Version]
  12. Reyes, J.; Barranco-Chamorro, I.; Gómez, H.W. Generalized modified slash distribution with applications. Commun. Stat.-Theory Methods 2020, 49, 2025–2048. [Google Scholar] [CrossRef]
  13. Iriarte, Y.A.; Varela, H.; Gómez, H.J.; Gómez, H.W. A Gamma-Type Distribution with Applications. Symmetry 2020, 12, 870. [Google Scholar] [CrossRef]
  14. Segovia, F.A.; Gómez, Y.M.; Venegas, O.; Gómez, H.W. A Power Maxwell Distribution with Heavy Tails and Applications. Mathematics 2020, 8, 1116. [Google Scholar] [CrossRef]
  15. Stacy, E.W. A generalization of the gamma distribution. Ann. Math. Stat. 1962, 33, 1187–1192. [Google Scholar] [CrossRef]
  16. Casella, G.; Berger, R.L. Statistical lnference; Duxbury Advanced Series; Thomson Learning: Pacific Grove, CA, USA, 2002. [Google Scholar]
  17. Johnson, N.L.; Kotz, S.; Balakrishnan, N. Continuous Univariate Distributions, 2nd ed.; Wiley Series in Probability and Statistics: New York, NY, USA, 1995; Volume 2. [Google Scholar]
  18. Dempster, A.P.; Laird, N.M.; Rubim, D.B. Maximum likelihood from incomplete data via the EM algorithm (with discussion). J. R. Stat. Soc. Ser. B 1977, 39, 1–38. [Google Scholar]
  19. Lee, E.T.; Wang, J. Statistical Methods for Survival Data Analysis; John Wiley & Sons: New York, NY, USA, 2003; Volume 476. [Google Scholar]
  20. Akaike, H. A new look at the statistical model identification. IEEE Trans. Autom. Control. 1974, 19, 716–723. [Google Scholar] [CrossRef]
  21. Schwarz, G. Estimating the dimension of a model. Ann. Stat. 1978, 6, 461–464. [Google Scholar] [CrossRef]
  22. Proschan, F. Theoretical explanation of observed decreasing failure rate. Technometrics 1963, 5, 375–383. [Google Scholar] [CrossRef]
Figure 1. (a) pdf and (b) cdf in SMR model for σ = 1 and different values of q.
Figure 1. (a) pdf and (b) cdf in SMR model for σ = 1 and different values of q.
Mathematics 08 01842 g001
Figure 2. (a) Asymmetry and (b) kurtosis coefficients for the SMR and SR distribution.
Figure 2. (a) Asymmetry and (b) kurtosis coefficients for the SMR and SR distribution.
Mathematics 08 01842 g002
Figure 3. Hazard function S M R ( 1 , q ) model with (a) q < 1 and (b) q > 1 .
Figure 3. Hazard function S M R ( 1 , q ) model with (a) q < 1 and (b) q > 1 .
Mathematics 08 01842 g003
Figure 4. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 1 with n = 30 , , 200 .
Figure 4. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 1 with n = 30 , , 200 .
Mathematics 08 01842 g004
Figure 5. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 1.5 with n = 30 , , 200 .
Figure 5. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 1.5 with n = 30 , , 200 .
Mathematics 08 01842 g005
Figure 6. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 2 with n = 30 , , 200 .
Figure 6. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 2 with n = 30 , , 200 .
Mathematics 08 01842 g006
Figure 7. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 3 with n = 30 , , 200 .
Figure 7. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 1 , q = 3 with n = 30 , , 200 .
Mathematics 08 01842 g007
Figure 8. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 1 with n = 30 , , 200 .
Figure 8. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 1 with n = 30 , , 200 .
Mathematics 08 01842 g008
Figure 9. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 1.5 with n = 30 , , 200 .
Figure 9. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 1.5 with n = 30 , , 200 .
Mathematics 08 01842 g009
Figure 10. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 2 with n = 30 , , 200 .
Figure 10. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 2 with n = 30 , , 200 .
Mathematics 08 01842 g010
Figure 11. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 3 with n = 30 , , 200 .
Figure 11. Graphics of (a) bias, (b) RMSE and (c) coverage of simulation for σ = 10 , q = 3 with n = 30 , , 200 .
Mathematics 08 01842 g011
Figure 12. Density adjusted for the remission times of patients with bladder cancer in the R, SR and SMR distributions.
Figure 12. Density adjusted for the remission times of patients with bladder cancer in the R, SR and SMR distributions.
Mathematics 08 01842 g012
Figure 13. QQ-plot for distributions (a) R, (b) SR, (c) SMR for the remission times of patients with bladder cancer.
Figure 13. QQ-plot for distributions (a) R, (b) SR, (c) SMR for the remission times of patients with bladder cancer.
Mathematics 08 01842 g013
Figure 14. Density adjusted for the number of failures of an air conditioning system in the R, SR and SMR distributions.
Figure 14. Density adjusted for the number of failures of an air conditioning system in the R, SR and SMR distributions.
Mathematics 08 01842 g014
Figure 15. QQ-plot for distributions (a) R, (b) SR, (c) SMR for the number of failures of an air conditioning system.
Figure 15. QQ-plot for distributions (a) R, (b) SR, (c) SMR for the number of failures of an air conditioning system.
Mathematics 08 01842 g015
Table 1. Descriptive statistics for the remission times of patients with bladder cancer.
Table 1. Descriptive statistics for the remission times of patients with bladder cancer.
n T ¯ S b 1 b 2 min ( T ) max ( T )
1289.36610.5083.28718.4830.0879.05
Table 2. Estimates, standard errors (SE) in parenthesis, log-likelihood, AIC and BIC values for the remission times of patients with bladder cancer.
Table 2. Estimates, standard errors (SE) in parenthesis, log-likelihood, AIC and BIC values for the remission times of patients with bladder cancer.
EstimacionesR (SE)SR (SE)SMR (SE)
σ ^ 98.639 (8.718)8.647 (2.051)15.369 (5.108)
q ^ -1.424 (0.224)1.772 (0.318)
log-likelihood−491.266−415.815−413.339
AIC984.531835.631830.677
BIC987.383841.335836.381
Table 3. Descriptive statistics for number of failures of an air conditioning system.
Table 3. Descriptive statistics for number of failures of an air conditioning system.
n T ¯ S b 1 b 2 min ( T ) max ( T )
18892.074107.9162.1398.0231603
Table 4. Estimates, SE in parenthesis, log-likelihood, AIC and BIC values for the number of failures of an air conditioning system.
Table 4. Estimates, SE in parenthesis, log-likelihood, AIC and BIC values for the number of failures of an air conditioning system.
EstimacionesR (SE)SR (SE)SMR (SE)
σ ^ 10,030.83 (730.135)264.611 (68.021)382.761 (113.843)
q ^ -0.902 (0.107)1.069 (0.136)
log-likelihood−1191.275−1053.503−1046.549
AIC2384.5502111.0062097.097
BIC2387.7872117.4792103.570
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Rivera, P.A.; Barranco-Chamorro, I.; Gallardo, D.I.; Gómez, H.W. Scale Mixture of Rayleigh Distribution. Mathematics 2020, 8, 1842. https://doi.org/10.3390/math8101842

AMA Style

Rivera PA, Barranco-Chamorro I, Gallardo DI, Gómez HW. Scale Mixture of Rayleigh Distribution. Mathematics. 2020; 8(10):1842. https://doi.org/10.3390/math8101842

Chicago/Turabian Style

Rivera, Pilar A., Inmaculada Barranco-Chamorro, Diego I. Gallardo, and Héctor W. Gómez. 2020. "Scale Mixture of Rayleigh Distribution" Mathematics 8, no. 10: 1842. https://doi.org/10.3390/math8101842

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop