Next Article in Journal
Detecting and Quantifying Structural Breaks in Climate
Previous Article in Journal
Modelling and Diagnostics of Spatially Autocorrelated Counts
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Bayesian Mixture of Generalized Linear Models with Gamma-Distributed Responses

1
Department of Statistics, Faculty of Science and Data Analytics, Institut Teknologi Sepuluh Nopember (ITS), Surabaya 60111, Indonesia
2
Department of Statistics, Faculty of Mathematics and Natural Sciences, Universitas Sebelas Maret, Surakarta 57126, Indonesia
*
Author to whom correspondence should be addressed.
Econometrics 2022, 10(4), 32; https://doi.org/10.3390/econometrics10040032
Submission received: 2 March 2022 / Revised: 6 August 2022 / Accepted: 26 September 2022 / Published: 4 October 2022

Abstract

:
This paper proposes enhanced studies on a model consisting of a finite mixture framework of generalized linear models (GLMs) with gamma-distributed responses estimated using the Bayesian approach coupled with the Markov Chain Monte Carlo (MCMC) method. The log-link function, which relates the mean and linear predictors of the model, is implemented to ensure non-negative values of the predicted gamma-distributed responses. The simulation-based inferential processes related to the Bayesian-MCMC method is carried out using the Gibbs sampler algorithm. The performance of proposed model is conducted through two real data applications on the gross domestic product per capita at purchasing power parity and the annual household income per capita. Graphical posterior predictive checks are carried out to verify the adequacy of the fitted model for the observed data. The predictive accuracy of this model is compared with other Bayesian models using the widely applicable information criterion (WAIC). We find that the Bayesian mixture of GLMs with gamma-distributed responses performs properly when the appropriate prior distributions are applied and has better predictive accuracy than the Bayesian mixture of linear regression model and the Bayesian gamma regression model.

1. Introduction

The finite mixture model, as a class of model-based clustering methods, provides a flexible model for capturing heterogeneous data in a data-driven manner. The finite mixture of statistical distribution, commonly called the finite mixture distribution, is the most basic type of finite mixture model. Due to its flexibility for modeling heterogeneous data, the finite mixture model with its various developments has been widely studied in the research. The finite mixture model of the exponential family of distributions is one of the models included in that study. Wiper et al. (2001) determined a mixture of gamma distribution for estimating some quantities for a M/G/1 queue. Lopera et al. (2011) introduced a Bayesian analysis for the mixture of normal-exponential distributions including joint modeling of the mean and variance. Garrido and Cepeda (2012) proposed the mixtures of normal and gamma distributions belonging to the biparametric exponential family. The simulated studies and applications of heteroscedastic Weibull-Normal mixture models with the Bayesian approach were discussed in Garrido and Cuervo (2014).
Further advanced models have been established by including generalized linear models (GLMs) in each mixture component. The finite mixture of GLMs allows the construction of different parameters in each mixture component, hence, it can accommodate different heterogeneous cases that occur in the data. Wedel and Kamakura (2000) defined this model as the Generalized Mixture Regression Models (GLIMMIX), whereas Grün and Leisch (2008) called it the Finite Mixtures of Generalized Linear Regression Models.
Inferential methods, through frequentist or Bayesian approaches, can be implemented to estimate the finite mixture of GLMs. The Bayesian framework, which performs an estimating procedure concerning the posterior distribution of parameters, has some advantages when used to determine the parameter of the finite mixture model. One of the advantages of the Bayesian approach is that when regularity conditions are not fulfilled, i.e., when sample size and mixture component proportions are small, the Bayesian parameter estimation still delivers a valid inference and does not need asymptotic normality (Frühwirth-Schnatter 2006). Since the joint posterior distribution incorporates all possible sample observations into the maximum number of mixture components, its determining process through the Bayesian framework is most difficult to solve analytically. A numerical approach, the well-known Markov Chain Monte Carlo (MCMC) method, needs to be implemented to deal with that problem. The Gibbs sampler algorithm carried out by augmenting the data is one of the algorithms in MCMC that is commonly applied to generate iteratively random samples from the posterior distribution of parameters. The iterative computing procedure conducted within the MCMC makes a structured simulation-based inference when the Bayesian framework is coupled with the MCMC.
Many papers studied the finite mixture of GLMs estimated by the Bayesian-MCMC approach. Lenk and DeSarbo (2000) introduced the finite mixture of GLMs with random effects and implemented the Gibbs sampler algorithm to fit the regression coefficients formed as a finite mixture of normal distributions. Hurn et al. (2003) developed a mixture of the Poisson and the logistic regression models, which were estimated through the Gibbs sampler and the Metropolis-Hastings algorithms. The application of a finite mixture of negative binomial regression for modeling heterogeneity in accident data was analyzed by Park and Lord (2009). Meanwhile, the mixture of Bernoulli regression was proposed by Iriawan et al. (2018) to determine the admission conditions of the Bidikmisi scholarship for students wanting to enroll in universities.
The purpose of this study is to examine more extensively a finite mixture of GLMs with gamma-distributed responses with a known number of mixture components estimated by using the Bayesian-MCMC approach. GLMs with gamma-distributed responses are commonly applied to model non-negative, continuous, and positive-skewed data, which are characteristics of economic distribution data. The study focuses on the application side rather than the theoretical side to find out the advantages of the proposed model. We consider appropriate descriptions of how Bayesian-MCMC is used to estimate the proposed model; then, we demonstrate the particular performances of the proposed model using two real applications with distinct response distributions. In the first real case, i.e., modeling the gross domestic product at purchasing power parity per capita, we study the responses that have a gamma distribution. In contrast, in the second real case, i.e., modeling the household income clustered in different sub-populations, we examine the responses that do not fit the gamma distribution but satisfy the essential characteristics required for developing the proposed model. Furthermore, specific extreme responses are detected in each mixture component in this second real case. Those two case studies are expected to strengthen the proposed model’s application. The performance of the proposed model in prediction accuracy is compared with the Bayesian mixture of linear regression and the Bayesian gamma regression model through the WAIC. The Bayesian-MCMC computations are performed using the BUGS language through MultiBUGS, a software that supports the parallel computation of MCMC chains (Goudie et al. 2020). The convergence diagnostic of MCMC chains is verified through a CODA package which was developed by Plummer et al. (2006).
This paper is arranged in the following steps: in Section 2, the flowchart diagram of the research methodology is described. In Section 3, the Bayesian framework for inferencing the finite mixture of GLMs with gamma-distributed responses is provided with the required computation schemes for the MCMC method. In addition to describe the WAIC, we also present the Gelman-Rubin method, which is considered to be a suitable method for assessing the convergent condition of MCMC chains. The real data applications are presented in Section 4; Section 5 provides some discussions; and the main conclusions are given in Section 6.

2. Materials and Methods

The workflow of the research methodology that is applied in this paper is presented in Figure 1.

3. Bayesian Approach for the Finite Mixture of GLMs

In a generalized linear model, a framework is constructed through a relationship between random samples y i as a response and a vector of predictors x i = ( 1 ,   x i 1 ,   ,   x i p ) t with x i j as a j-th predictor on the i-th observation, j = 1 , 2 , , p , and i = 1 , 2 , , n . The responses are considered to be generated from a family of exponential distributions. The structure of the GLMs is formulated as (1).
η i = g ( μ i ) = g ( E ( y i | x i ) ) = x i t β = β 0 + j = 1 p   β j x i j
where η i is a linear predictor; g ( . ) is a link function; μ i is an expected value of the response y i ; and β is a vector of unknown coefficients; β = ( β 0 , β 1 ,   , β p ) t . The vector β can represent the unknown parameters that describe the relationship between predictor variables and the response.
Grün and Leisch (2008) developed a finite mixture of a generalized linear regression model by inserting the generalized linear model (1) into mixture components. A finite mixture of GLMs with K known mixture components is defined by (2):
h ( y i | x i , ϑ ) = k = 1 K   w k f k ( y i | x i , θ k )
where ϑ denotes a vector of all parameters included in the model; f k ( y i | x i , θ k ) represents the density function which is assumed to be a family of exponential distributions having a particular vector of parameter θ k ; and w k is a mixing parameter that satisfies k = 1 K   w k = 1 and w k > 0 , k , k = 1 , 2 , , K . Thus, the mean on the k-th mixture component is provided by (3):
μ i k = g 1 ( x i t β k )
where β k = ( β 0 k , β 1 k , β p k ) t is a vector of unknown coefficients β on the k-th mixture component. The extension of the model can be taken based on the mixing parameter w k , the specific density function f k ( y i | x i , θ k ) , and the link function g ( . ) . The mixing parameter can be formed as a function that depends on a set of predictors recognized as concomitant variables (Grün and Leisch 2008):
h ( y i | x i , ϑ ) = k = 1 K   w k ( x i ) f k ( y i | x i , θ k )
It is commonly considered that all mixture components have the same link functions and the same statistical distribution family. In this paper, we limit our study based on model (2), where the mixing parameter is not a function of the predictors.
The finite mixture of GLMs with gamma-distributed response is defined by supposing the response Y be a random variable distributed as a gamma distribution. It has a probability density function (pdf) specified as follows:
f ( y | α , λ ) = λ α Γ ( α )   y   α 1   e λ y   I ( 0 , ) ( y )
where Γ ( . ) denotes the gamma function; α is a shape parameter; λ is an inverse scale parameter; α , λ > 0 ; and I ( . ) is the indicator function (Corrales and Cepeda-Cuervo 2019). The mean and variance of Y are given by E ( Y ) = μ = α / λ and V a r ( Y ) = α / λ 2 . As proposed by Wiper et al. (2001), who considered that λ = α / μ , Equation (4) can be re-parameterized as a function of shape α and parameter μ ; then, the pdf for the gamma distribution can be rewritten as follows:
f ( y | α , λ ) = G ( y | α ,   α / μ ) = ( α / μ ) α Γ ( α ) y α 1 e ( α / μ )   y   I ( 0 , ) ( y )
Let y 1 ,   y 2 ,   ,   y n be positive independent random samples that follow a gamma distribution as defined by mean μ i and shape parameter α :
y i G a m m a ( α , α / μ i )
with two appropriated link functions: g ( μ i ) = 1 / μ i , as the canonical link or the inverse-link function and g ( μ i ) = l o g ( μ i ) as the log-link function. Model (2) can be reformed by the following equation:
h ( y i | x i , ϑ ) = k = 1 K   w k G k ( y i | α k , α k / μ i k )
where ϑ = ( α ,   β 1 ,   β 2 ,   ,   β K ,   w ) t ; and α = ( α 1 ,   α 2 ,   ,   α K ) t is a vector of shape parameters for the pdf of gamma distribution on k-th mixture component G k ( y i | α k , α k / μ i k ) , β k = ( β 0 k ,   β 1 k ,   ,   β p k ) t , k = 1 , 2 , , K for μ i k defined in (3), and w = ( w 1 ,   w 2 ,   ,   w K ) t is a vector of mixing parameters. When the inverse-link function and the log-link function are implemented, the mean μ i k is reformulated, respectively, as (7) and (8):
μ i k ( i n v ) = 1 β 0 k + j = 1 p   β j k x i j k
for the inverse-link function and
μ i k ( l o g ) = e x p ( β 0 k + j = 1 p   β j k x i j k )
for the log-link function. β j k and x i j k are the coefficients of regression and the predictor of the k-th mixture component, respectively, where i = 1 , 2 , , n , and j = 1 , 2 , , p .
In spite of the fact that the inverse-link function is a canonical link function for gamma distribution, its implementation can produce a negative value for the predictive mean. Therefore, it does not assure a positive value of the mean as required by a response that has a gamma distribution. Unlike the inverse-link function, the use of the log-link function ensures the positivity of the predictive mean (Myers et al. 2012). Based on our implementation studies, we find computationally that the inverse-link function can not fulfill required results related to an appropriate positive mean. Hence, this paper focuses only on the finite mixture of GLMs with gamma-distributed responses and the log-link function, which is formulated as follows:
h l o g ( y i | x i , ϑ ) = k = 1 K   w k G k ( y i | α k , α k / μ i k ( l o g ) )
with
G k ( y i | α k , α k / μ i k ( log ) ) = ( α k / μ i k ( log ) ) α k Γ ( α k )   y i α k 1   e ( α k / μ i k ( log ) )   y i   I ( 0 , ) ( y )
where μ i k ( l o g ) is defined by Equation (8). We assume that the number of mixture components K is known and the same predictors are implemented in each mixture component. It can have a different number of observations. In the next section, we shorten the term of model (9) as a finite mixture of the log-link gamma GLMs.

3.1. Bayesian Framework for Inference

Concerning the Bayesian approach for estimating unknown parameters of model (9), unknown parameters are regarded as random variables that should be estimated through the posterior distribution of parameters. The joint posterior distribution for ϑ , π ( ϑ | y , x ) , can be formed mathematically in proportional form:
π ( ϑ | y , x ) p ( ϑ ) p ( y | ϑ , x )
where p ( ϑ ) is the joint prior distribution of ϑ , and p ( y | ϑ , x ) is the likelihood, which is defined by
p ( y | x , ϑ ) = i = 1 n   h l o g ( y i | x i , ϑ )
thus, the joint posterior distribution with a log-link function is given by
π ( ϑ   | y , x ) p ( ϑ ) i = 1 n ( k = 1 K   w k G k ( y i | α k , α k / μ i k ( l o g ) ) )
where μ i k ( l o g ) is defined by Equation (8).
Since ϑ = ( α , β 1 , β 2 , , β K , w ) t by assuming an independent relationship between mixing parameter w and component parameters, as stated by Frühwirth-Schnatter (2006), then the joint posterior distribution (12) can be reconstructed as follows:
π ( α , β 1 , , β K , w | y , x ) p ( α ) p ( β 1 ) p ( β K ) p ( w ) × i = 1 n ( k = 1 K   w k G k ( y i | α k , α k / μ i k ( l o g ) ) ) ,
where p ( α ) is a prior distribution for α ; p ( β 1 ) ,   ,   p ( β K ) are the prior distributions for β 1 ,   ,   β K ; and p ( w ) is a prior distribution for w .
In the finite mixture modeling, not all observations are allocated in only one mixture component. It needs a random variable called “a latent random variable” to act as an indicator for the allocation of the observation in the mixture components. This latent random variable denoted as z i is supposed to represent missing or incomplete data. It causes the computation of the likelihood function to be performed based on an incomplete data scheme.
Diebolt and Robert (1994) proposed the Bayesian-MCMC approach to estimate the unknown parameters of a finite mixture model. Considering the vector of a latent random variable z i = ( z i 1 , z i 2 , , z i K ) t , it should be used to indicate in which mixture component the observation y i belongs. The value z i k { 0,1 } and k = 1 K   z i k = 1 with z i k = 1 if the observation y i is drawn from the k-th mixture component, but otherwise z i k = 0 . Hence, the complete-data likelihood function for the finite mixture of the log-link gamma GLMs can be expanded from (11) to be rewritten as:
p ( z , y | x , ϑ ) = i = 1 n k = 1 K [ w k G k ( y i | α k , α k / μ i k ( l o g ) ) ]   z i k
By using (14), the joint posterior distribution (13) can be reformulated as:
π ( z , α , β 1 , β 2 , , β K , w | y , x ) p ( α ) p ( β 1 ) p ( β 2 ) p ( β K ) p ( w ) × i = 1 n k = 1 K [ w k G k ( y i | α k , α k / μ i k ( l o g ) ) ]   z i k p ( α ) p ( β 1 ) p ( β 2 ) p ( β K ) p ( w ) × ( i = 1 n k = 1 K [ G k ( y i | α k , α k / μ i k ( l o g ) ) ]   z i k ) × k = 1 K [ w k ]   n k ,
where z = ( z 1 , z 2 , , z n ) and n k = i = 1 n   z i k represents the number of observations included in the k-th mixture component.

3.2. Bayesian-MCMC Approach

The process of MCMC computation needs a suitable choice for the prior distribution: a subjective probability distribution containing the experimenter’s subjective belief relating to the true value of parameters that apparently occur. We propose some possibilities to choose reasonable priors for α ,   β 1 ,   β 2 ,   ,   β K , and w . Wesner et al. (2020) who performed a Bayesian GLMs with gamma-distributed responses and a log-link function implemented the gamma distribution as a prior distribution for the shape parameter α . We adopt that prior in each mixture component; which can be stated as
α k G a m m a ( υ , ν )
for k = 1 , 2 , , K . The parameters of gamma distribution, υ and ν , can be chosen informatively regarding the distributional pattern of data. However, the selection of parameters in the gamma distribution as the prior distribution of shape parameters needs to be done attentively because it can affect the inference process of the posterior parameters.
Concerning the coefficients β k , we take the prior distribution which is suitable for generalized linear modeling. Gelman et al. (2008) suggested a weakly informative prior for the coefficient β in the GLMs. That prior can provide a stable condition on the model selection process through a posterior predictive (Gelman et al. 2017). Lemoine (2019) proposed several weakly informative priors based on a normal distribution with zero mean as
β 0 k , β j k N ( 0 , σ 2 )
where j = 1 , 2 , , p , and k = 1 , 2 , , K . While the mixing parameter w that belongs to a simplex, i.e., ( w 1 ,   ,   w K ) : k = 1 K   w k = 1 , w k > 0 , k , k = 1 , 2 , , K has the Dirichlet distribution, Dir( e 1 , e 2 , , e K ), as a conjugate prior distribution. The Dirichlet distribution is a widely used distribution for modeling compositional data described as a measurement of proportions. The prior parameters e 1 , e 2 , , e K are supposed to be the same in each mixture (i.e., e k = e 0 ), after which the conjugate prior for w becomes an equation:
p ( w ) = D i r ( e 0 , e 0 , , e 0 ) k = 1 K   w k e 0 1
According to the explanations above, we apply the gamma, normal, and Dirichlet distributions as recommended by prior distributions for α ,   β 1 ,   β 2 ,   ,   β K , and w respectively.
The Gibbs sampler algorithm is carried out to evoke random samples from the full-conditional posterior distribution of the parameter, which implies that the distribution of each parameter is given conditionally by the data and the other remaining parameters (Gelman et al. 2013). Since z i k { 0,1 } and k = 1 K   z i k = 1 , the full-conditional posterior distribution of z has a multinomial distribution:
π ( z | α , w , β k , y , x ) = 1 ! z i 1 ! . z i 2 !     z i K ! k = 1 K [ P r ( z i k | α , w , β k , y i , x i ) ]   z i k
or
z | α , w , β k , y , x     M u l t ( 1 , P r ( z i 1 | α , w , β 1 , y i , x i ) , , P r ( z i K | α , w , β K , y i , x i ) )
where P r ( z i k | α , w , β k , y i , x i ) , which stands as the probability of each element z i k determined by
P r ( z i k | α , w , β k , y i , x i ) w k G k ( y i | α k , α k / μ i k ( log ) )
for k = 1 , 2 , , K . The full-conditional posterior distribution of the shape parameter α is formed by
π ( α | z , y , x ) p ( α ) i = 1 n k = 1 K ( w k G k ( y i | α k , α k / μ i k ( log ) ) ) z i k
where the prior distribution p ( α ) is given by (16). Referring to (15) and (18), the full conditional posterior distribution for the parameter w is given by:
π ( w | z ) = D i r ( e 0 + n 1 , e 0 + n 2 , , e 0 + n K ) k = 1 K   w k   e 0 + n k 1
The full conditional posterior distributions of unknown coefficients, β k are obtained as follows:
π ( β k | β \ k , z , y , x ) p ( β k ) i = 1 n k = 1 K ( w k G k ( y i | α k , α k / μ i k ( log ) ) ) z i k
where β \ k denotes all β except β k and the prior distribution p ( β k ) is given by (17). Algorithm 1 provides a Gibbs sampler for estimating the unknown parameters α ,   β 1 ,   β 2 ,   ,   β K , and w .
Algorithm 1: the Gibbs sampler for estimating the finite mixture of the log-link gamma GLMs.
A. Determining the initial values for parameters α ( s ) ,   w ( s ) ,   and   β k ( s )   on   iteration   s = 0 .
B. Setting s = s + 1.
z ( s ) π ( z | α ( s 1 ) , w ( s 1 ) , β 1 ( s 1 ) , β 2 ( s 1 ) , , β K ( s 1 ) , y , x ) ,
  where
z | α ( s 1 ) , w ( s 1 ) , β k ( s 1 ) , y , x     M u l t ( 1 , P r ( z i 1 | α ( s 1 ) , w ( s 1 ) , β 1 ( s 1 ) , y i , x i ) , , P r ( z i K | α ( s 1 ) , w ( s 1 ) , β K ( s 1 ) , y i , x i ) ) ,
   with
   P r ( z i k | α ( s 1 ) , w ( s 1 ) , β k ( s 1 ) , y i , x i ) w k ( s 1 ) G k ( y i | α k ( s 1 ) , α k ( s 1 ) / μ i k ( log ) ( s 1 ) ) ,
   for   k = 1 , 2 , , K .
2 .   Sampling   α ( s ) through the Equation (20),
α ( s ) π ( α | z ( s ) , y , x ) ,
  where
π ( α | z ( s ) , y , x ) p ( α ( s ) ) i = 1 n k = 1 K ( w k G k ( y i | α k ( s 1 ) , α k ( s 1 ) / μ i k ( log ) ( s 1 ) ) ) z i k ( s ) ,
  with   the   prior   distribution   p ( α ( s ) ) is given by (16): α k ( s ) G a m m a ( υ , ν ) for
k = 1 , 2 , , K .
3.   Sampling   w ( s ) from the Equation (21),
w ( s ) π ( w | z ( s ) ) ,
  where
π ( w | z ( s ) ) = D i r ( e 0 + n 1 , e 0 + n 2 , , e 0 + n K ) k = 1 K   [ w k   e 0 + n k 1 ] ( s 1 ) .
4. Sampling   β k ( s ) from the full-conditional posterior distribution (22),
β 1 ( s ) π ( β 1 | β 2 ( s 1 ) , β 3 ( s 1 ) , , β K ( s 1 ) , z ( s ) , y , x ) ,
β 2 ( s ) π ( β 2 | β 1 ( s ) , β 3 ( s 1 ) , , β K ( s 1 ) , z ( s ) , y , x ) ,
β 3 ( s ) π ( β 3 | β 1 ( s ) , β 2 ( s ) , β 4 ( s 1 ) , , β K ( s 1 ) , z ( s ) , y , x ) ,
β K ( s ) π ( β K | β 1 ( s ) , β 2 ( s ) , , β K 1 ( s ) , z ( s ) , y , x ) ,
  where
π ( β k | β \ k ( s 1 ) , z ( s ) , y , x ) p ( β k ( s ) ) i = 1 n k = 1 K ( w k ( s ) G k ( y i | α k ( s ) , α k ( s ) / μ i k ( log ) ( s 1 ) ) ) z i k ( s ) ,
with   the   prior   distribution   p ( β k ( s ) ) is given by (17): β 0 k ( s ) , β j k ( s ) N ( 0 , σ 2 ) for
j = 1 , 2 , , p   and   k = 1 , 2 , , K .
5. Repeating B sampling steps 1 to 4 until the convergence for all parameters is achieved.
Such an estimation process of mixture models through the latent allocation variables z is applied to a finite mixture modeling with observations drawn from the whole population rather than from different sub-populations, as noted by Rufo et al. (2006). It means that the latent allocation variables z , represented as missing data, are practically unobserved although the z variables are iteratively determined during MCMC computation as in Algorithm 1. If such variables are known, i.e., all observations already recognize their membership on each mixture component, then the Bayesian inferential procedure is implemented for each mixture component (Frühwirth-Schnatter 2006). We mention a finite mixture of GLMs with gamma-distributed responses, which has its estimation schemes developed by the Bayesian framework coupled with the MCMC method as a Bayesian mixture of GLMs with gamma-distributed responses. In a shortened designation, it can be called a Bayesian mixture of the log-link gamma GLMs.

3.3. Convergence Diagnostics

In the Bayesian schemes, the convergence of MCMC simulation implies that the Markov chain attains the posterior distribution of parameters. The MCMC convergence condition can be shown graphically by the trace plot of MCMC dynamical movements. The trace plot outlines the number of iterations against the generated values of estimated parameters. If these values, which are inside a domain, do not have firm periodicities or tendencies, then it can be supposed that convergence is reached. In a practical manner, the trace plot which virtually has a “fat hairy caterpillar” like plot indicates a convergence of the Markov chain (Tatarinova and Schumitzky 2015). Other analytical methods that can be implemented to assess the convergence of MCMC are fully explained by Cowles and Carlin (1996). One of the analytical methods, the Gelman Rubin method, is recommended to be implemented during the estimation of the Bayesian model through MCMC simulation (Gelman and Shirley 2011).
The Gelman Rubin method constructs m mutually independent Markov chains, which assess its convergence by estimating the potential scale-reduction factor (PSRF). Every m Markov chains is convergent if the PSRF is less than 1.2 (Tatarinova and Schumitzky 2015). The implementation of convergence diagnostic methods for MCMC in the context of Bayesian mixture modeling is discussed in Suryaningtyas et al. (2018), Susanto et al. (2019), and Iriawan et al. (2019). All authors suggest that it should combine diagnostics methods with a graphical approach to determine the convergence condition of MCMC.

3.4. Model Selection

The Bayesian mixture models can be selected based on their out-of-sample predictive accuracy which can be estimated through information criteria approaches. Watanabe (2010) introduced the WAIC which is recommended for singular statistical models in which finite mixture models are classified into these models. The WAIC is formed by estimating the expected log pointwise predictive density ( elppd ^ w a i c ):
elppd ^ w a i c = lppd ^ p w a i c ^
where lppd ^ is the estimation of the log pointwise predictive density, and p w a i c ^ is the estimated effective number of parameters. lppd ^ is defined by:
lppd ^ = i = 1 n log ( 1 s   s = 1 S   h l o g ( y i | x i , ϑ ( s ) ) )
where S is the number of simulations performed and ϑ ( s ) is the simulated values of parameter ϑ at the s-th iteration with s = 1 , 2 , , S . p w a i c ^ is calculated based on the posterior sample variance of the log pointwise predictive density which is summed over all the data points y i :
p w a i c ^ = i = 1 n   1 S 1   s = 1 S   ( log ( h l o g ( y i | x i , ϑ ( s ) ) E   [ log ( h l o g ( y i | x i , ϑ ( s ) ) ) ]   ) 2
Another version of p w a i c ^ that can be used is constructed as a mean-based formula:
p w a i c ^ = 2   i = 1 n   ( log ( 1 S s = 1 S h l o g ( y i | x i , ϑ ( s ) ) ) 1 S   s = 1 S log ( h l o g ( y i | x i , ϑ ( s ) ) ) )
The variance-based formula (24) is more appropriate for practical use than the mean-based formula (25) since the variance-based formula gives results closer to the leave-one-out cross-validation (LOO-CV) as a natural method for estimating the out-of-sample predictive accuracy. In our proposed model, the values of pointwise predictive density h l o g ( y i | x i , ϑ ( s ) ) are calculated for each observation from Equation (9) in which ϑ ( s ) = ( α ( s ) , β 1 ( s ) , β 2 ( s ) , β K ( s ) , w ( s ) ) t are computed by Algorithm 1.
The WAIC can be defined as a deviance scale form by multiplying Equation (23) by −2:
WAIC = 2   elppd ^ w a i c = 2   lppd ^ + 2   p w a i c ^
Equation (26) is suitable since it can be compared with other measures of deviance, e.g., AIC and DIC (Gelman et al. 2014). The WAIC value of a model cannot be interpreted without regarding the WAIC values of other models. From the viewpoint of predictive accuracy, the performance of the two models can be compared by measuring the difference in their WAIC values. If the difference is significantly large, then the model that has the lowest value of WAIC has better predictive accuracy than the others.

4. Real Data Applications

Faraway (2016) considers the GLMs with gamma-distributed responses to be appropriate in two conditions. First, if the response clearly has a gamma distribution, then the GLMs with gamma-distributed responses is certainly applicable. Second, if another condition is not sure about a statistical distribution of the response but supposes there is a relationship between the mean and the variance of the response. Thus, we use two real data applications that have a different typical distribution of response to show the specific performances of the Bayesian mixture of the log-link gamma GLMs.
In the first case, we study the modeling of the gross domestic product at purchasing power parity (GDP_PPP) per capita in 160 countries. GDP_PPP per capita as the response for the overall data as well as in each mixture component has a gamma distribution with no extreme values.
Conversely, in the second case, the household income data as the whole response are not identified as following a specific statistical distribution. Nevertheless, in each mixture component, the responses have different statistical distributions. In the first mixture component, the response has a generalized gamma distribution with four parameters, and in the other mixture components, the responses have lognormal distribution with three parameters. The data responses furthermore satisfy some essential properties such as being non-negative, continuous, positive-skewed, and the existence of linear relationships between the natural logarithm of the response and household characteristics as predictors. Such a case represented the implementation of the Bayesian mixture of the log-link gamma GLMs for modeling the responses that do not follow the gamma distribution but fulfil important characteristics that are needed to determine the model. Moreover, in this case, some extreme responses lay in each mixture component.

4.1. Modeling GDP_PPP

The GDP_PPP per capita gives gross domestic product per capita values in current international dollars transformed by purchasing power parity, which is a converter factor that can provide possibly determine economic comparisons between countries. For example the population weighted Gini ratio measure of income inequality based on GDP_PPP per capita can be used to assess intercountry income disparity (World Bank 2020). Other uses for purchasing power parity are recently considered by the World Bank (2021b).
We study the GDP_PPP per capita of 160 countries for 2019 as the response that is affected by the predictors of economic and social factors. There are four economic and social factors: number of populations, compulsory education years, gross domestics product (GDP), and corruption perception index (CPI). These countries are classified based on four economic groups: low, lower-middle, upper-middle, and high income (World Bank 2021a). We designate these groups as first, second, third, and fourth. Among the countries, there are 20, 42, 44, and 54 countries in the first, second, third, and fourth groups, respectively. The complete list of 160 countries can be seen in Appendix A.

4.1.1. Data Description

Data were obtained from World Development Indicators (WDI) of World Bank Open Data (2021) except for the CPI data, which were accessed from Transparency.org (2021). Before we apply our proposed model, we examine some data characteristics. Figure 2 shows the GDP_PPP per capita has a positive-skewed distribution which tends to follow a gamma distribution.
To achieve more accurate results, goodness-of-fit tests using the Kolmogorov-Smirnov and the Chi-Squared tests are conducted to verify a significant statistical distribution for the GDP_PPP per capita data. We set the null hypothesis, which state that the GDP_PPP per capita in whole data and in each group follow a gamma distribution.
Table 1 shows that all p-values are higher than a significance level of 0.05, which means that the null hypothesis is not rejected. It can be concluded that gamma distribution can be used to fit the GDP_PPP per capita for whole data and grouped data.
The implementation of the log-link gamma GLMs conceptually needs a linear relationship between the natural logarithm of the response and the predictors (Myers et al. 2012). The scatter plots displayed in Figure 3 represent the linear relationships between the natural logarithm of GDP_PPP per capita with the four predictors. The natural logarithm of GDP_PPP per capita has a linear relationship with the compulsory education years and the CPI. Other predictors, i.e., the number of populations and the GDP, do not have that linear relationship.
Therefore, we only assign the compulsory education years and the CPI as predictor variables in our proposed model, which has four mixture components representing the four economic groups. The model is defined by
h l o g ( y i | x i , ϑ ) = k = 1 4 w k G k ( y i | α k , α k / μ i k k ( l o g ) )
with ϑ = ( α ,   β 1 ,   β 2 , β 3 , β 4   , w ) t and
μ i k k ( l o g ) = e x p ( β 0 k + β 1 k   e d u y e a r s i k k + β 2 k   c p i i k k )
with i k = 1 , 2 , , n k for k = 1, 2, 3, 4, i.e., n = n 1 + n 2 + n 3 + n 4 . The predictor e d u y e a r s i k k denotes the compulsory education years in the i-th country in the k-th economics group. The predictor c p i i k k denotes the CPI on the i-th country in the k-th economics group.

4.1.2. Estimated Parameters

The estimation processes perform 20,000 samples from two Markov chains that are eliminated in the first 1000 sample iterations in each chain as a burn-in stage. The prior distributions are constructed for three parameters that have to be estimated: the shape parameter α , the mixing parameter w , and the coefficient β j k . Regarding the pattern of distribution in Figure 1, the goodness-of-fit test in Table 1, and the proposed prior (16), we use the prior distribution for α k by
α k G a m m a ( 6 , 1 )
for k = 1, 2, 3, 4; α k has a gamma distribution with a shape parameter of 6 and an inverse scale parameter of 1. Referring to the conjugate prior on (18), the mixing parameter w has a Dirichlet distribution as a prior distribution with value 1 for all parameters:
w D i r ( 1 , 1 , 1 , 1 )
The equal value of parameters on that Dirichlet distribution, D i r ( 1 , 1 , 1 , 1 ) , implies a uniform distribution over the three-dimensional simplex. Concerning the prior distribution for β j k , which is formed based on (17) according to our empirical studies, a large variance of σ 2 , i.e., a noninformative prior for β j k , can lead to no regularization on coefficient estimation. Consequently, the variance σ 2 needs to be relatively close to a zero mean; hence, the prior distributions for β j k consists of
β 0 k N ( 0 , 1 ) β 1 k N ( 0 , 0.01 ) β 2 k N ( 0 , 1 )
for k = 1, 2, 3, 4. The detailed estimated results can be seen in Table 2.
In Table 2, the estimated values of parameters have a 95% posterior credible interval and a related diagnostic measurement of MCMC convergence, i.e., the PSRF. All PSRF values less than 1.2 ensure that the two Markov chains are convergent to achieve the posterior distribution of the parameters. Figure 4 confirms the convergence of two Markov chains for β ^ 1 k and β ^ 2 k .
The posterior predictive check can be conducted for model checking purposes by determining the graphical posterior predictive checks. The graphical posterior predictive check that displays the observed data alongside the replicated data regenerated from the fitted model can show systematic differences between the observed and replicated data. Other methods that are useful for checking Bayesian models are discussed by Lunn et al. (2013). Figure 5 presents the distribution of observed and replicated data to show the adequacy of log-link gamma GLMs for fitting observed data.
In the Bayesian framework, a 95% posterior credible interval means that the actual probability of having true values of the estimated parameter in that interval is 0.95. Therefore, it can be applied as an assessment tool to determine the significance of the estimated parameter, which can be considered significant if the 95% posterior credible interval does not include a zero value. The 95% posterior credible intervals of two estimated parameters, β ^ 21 and β ^ 14 , contain zero values indicating that the β ^ 21 and β ^ 14 are not significant for the model. The estimated β ^ 21 , which is not significant, means that the predictor CPI does not have an effect on the GDP_PPP per capita in the low-income country group, because the compulsory education years has a positive effect on the GDP_PPP per capita. On the other hand, among high-income countries, it is not significantly influenced by compulsory education since the estimated β ^ 14 can have a zero value. The CPI, even only slightly, still has a positive influence on the GDP-PPP per capita. In the lower-middle and upper-middle country groups, the compulsory education years and the CPI have a positive influence on the GDP_PPP per capita.
Concerning comparative studies, we take two models: the Bayesian mixture of linear regression model as a simpler mixture of regression model and the Bayesian gamma regression model as a model without a finite mixture framework. The Bayesian mixture of linear regression model is given by
h ( y i | x i , ϑ ) = k = 1 4 w k N k ( y i | μ i k k , σ k 2 )
with N k ( . ) as a normal distribution in the k-th mixture component and
μ i k k = β 0 k + β 1 k   e d u y e a r s i k k + β 2 k   c p i i k k
The prior distributions for β j k and the standard deviations σ k consists of
σ k   U ( 0 , 8000 ) β 0 k N ( 0 , 1 × 10 6 ) β 1 k N ( 0 , 1 × 10 4 ) β 2 k N ( 0 , 1000 )
where σ k U ( 0 , 8000 ) means the standard deviations σ k are distributed uniformly between 0 and 8000, for k = 1, 2, 3, 4. The estimate procedures run 20,000 samples from two Markov chains, with the first 600 sample iterations in each chain discarded as a burn-in stage. The estimated parameters for the Bayesian mixture of linear regression model are presented on Table 3.
Table 3 reveals that the predictors, eduyears and cpi, do not affect the response in the first mixture component. It can be observed that two estimated parameters, β ^ 11 and β ^ 21 , have 95% posterior credible intervals that contain zero values.
The modeling of GDP_PPP per capita can be developed without regard to the four economic groups. In such a case, the Bayesian gamma regression model can be implemented without having a finite mixture framework. The gamma regression model is specified by
y i G a m m a ( α , α / μ i )
where
μ i = e x p ( β 0 + β 1   e d u y e a r s i + β 2   c p i i )
Similar prior distributions and processes for MCMC simulation in the Bayesian mixture of the log-link gamma GLMs are implemented for inferencing the Bayesian gamma regression model. The estimated parameters of the Bayesian gamma regression model can be seen in Table 4. The signs of the coefficients β ^ 0 , β ^ 1 , and β ^ 2 are positive, which signifies that the enhancement of the compulsory education years and the improvement of the corruption perception index will increase the GDP_PPP per capita.
We take a comparative study between the fitted Bayesian gamma regression model, the fitted Bayesian mixture of linear regression model as a simpler mixture model, and the fitted Bayesian mixture of the log-link gamma GLMs in predictive performance by computing the WAIC value. Table 5 displays the WAIC value for the fitted Bayesian mixture of the log-link gamma GLMs, which is smaller than the WAIC values of the fitted Bayesian gamma regression model and the fitted Bayesian mixture of linear regression model. Thus, in the predictive capability aspect, the fitted Bayesian mixture of the log-link gamma GLMs is better than the fitted Bayesian gamma regression model and the fitted Bayesian mixture of linear regression model.
To find out the predictive capability more comprehensively, we apply both models to predict future GDP_PPP values for 2020. The density plots of predicted results are compared graphically with the observed data of GDP_PPP in 2020 that are obtained from World Bank Open Data (2022). Figure 6 represents the density plots that can exhibit some differences between the predicted results and the observed data.
It can be seen from Figure 6 that the fitted Bayesian mixture of the log-link gamma GLMs has a better performance than the fitted Bayesian mixture of linear regression model and the fitted Bayesian gamma regression model in predicting future GDP_PPP values in 2020.

4.2. Modeling Household Income

In the field of income distribution analysis, the density function of income distribution can be used as an important approach to verify economic inequality. A functional form of the density function is determined to obtain a specific model that can exhibit the reality about income distribution, so inequality analyses can be built in terms of that specific model. Since the functional form of the density function is generally unknown, it needs to be estimated. Cowell and Flachaire (2015) remarked that the finite mixture model could be more convenient for estimating the density function of income distributions. They started to describe conceptually the implementation of the finite mixtures of linear regression for analyzing income distributions. However, the finite mixture of GLMs was not carried out in their studies.
The dynamics of household income as a fundamental element of income inequality can affect economic growth. Some researchers studied interrelated topics on household income, income inequality, and economic growth. Causa et al. (2014) found that improved growth in household income reduced income inequality. Meanwhile, Stiglitz (2015) stated that immoderate inequality could cause inadequate economic performance.

4.2.1. Data Description

We research the annual household income per capita in six economic corridors based on the Masterplan for Accelerating and Expansion of Indonesia Economic Development 2011–2025 (Coordinating Ministry for Economic Affairs 2011). The corridors consist of the six main regions of Indonesia: Sumatra, Java, Kalimantan, Sulawesi, Bali-Nusa Tenggara, and Papua-Maluku. Alisjahbana (2011) grouped corridors into three groups comprising two economic corridors in each. The first group consisted of Sumatra and Java; the second group, Kalimantan and Sulawesi, and the third, Bali-Nusa Tenggara and Papua-Maluku. In our research, we construct three mixture components representing the three groups. We develop our model from the point of view proposed by Chotikapanich et al. (2012). They constructed the income distribution of the whole region, which could be represented as a mixture model with subset regions as a member of the mixture component.
Household income data were determined from The Fifth Wave of the Indonesia Family Life Survey (IFLS-5) 2014 (Strauss et al. 2016). We sample 5545 households from 23 provinces in the six economic corridors. In more detail, 4, 267, 586, and 692 households are members of the first, second, and third groups, respectively. Our verification of the whole household income data using the Kolmogorov-Smirnov test indicates that it does not pursue a specific statistical distribution. However, once we examine the data in each mixture component, the response in the first mixture has a generalized gamma distribution with four parameters and a lognormal distribution with three parameters for responses in the other mixture components. Therefore, we need to determine an appropriate statistical distribution suitable for modeling household income data.
Some essential patterns such as non-negative, continuous, and positive-skewed are present in the household income data which are displayed in Figure 7. It shows the possibility of proposing gamma distribution as a representative statistical distribution for household income data. Figure 8 exhibits the scatter plots in four dimensions which relate the natural logarithm of household income data to all three predictors; the number of household members, the number of completed years of formal education by the head of the household, and the natural logarithm of the household’s wealth. The scatter plots indicate a linear relationship between the natural logarithm of household income data and all three predictors which exist in the overall response data in Figure 8a and in each mixture component shown in Figure 8b–d. These relationships give evidence that it can be modeled by the log-link gamma GLMs.
The performance of the gamma GLM was studied by Fu and Moncher (2004) who verified the unbiasedness and stability of the GLM for non-negative, continuous, and positive-skewed data. They found that the GLM assuming the gamma distribution gave better predictive accuracy and efficiency than the GLM assuming the normal distribution or the lognormal distribution. Thus, we consider that the gamma GLM is a reasonable model for analyzing household income data.
Previously, Wicaksono et al. (2017) showed that the natural log of annual household income per capita as a response variable had been regressive on household characteristics as predictors. Nonetheless, they worked under the assumption that the household income data followed a normal distribution, and their model did not use the finite mixture modeling framework.

4.2.2. Estimated Parameters

In the k-th mixture component, k = 1, 2, 3, we consider that annual household income per capita that related to household characteristics can be modeled by a log-link gamma GLM. Referring to Equation (9), the finite mixture model used in this study is defined as
h l o g ( y i | x i , ϑ ) = w 1 G 1 ( y i   1 1 | α 1 , α 1 / μ i   1 1 ( l o g ) ) + w 2 G 2 ( y i   2 2 | α 2 , α 2 / μ i   2 2 ( l o g ) ) + w 3 G 3 ( y i   3 3 | α 3 , α 3 / μ i   3 3 ( l o g ) )   ,
where ϑ = ( α ,   β 1 ,   β 2 , β 3 ,   w ) t . The variable y i denotes annual household income per capita on the i-th household observations which are specified, namely, y i 1 1 , y i 2 2 , and y i 3 3 for the i-th household observations included in the first, second, and third mixture components, respectively. Thus, for all observations i = 1 ,   2 ,   ,   5545 , i k = 1 ,   2 ,   ,   n k with k = 1, 2, 3, i.e., n = n 1 + n 2 + n 3 .
The function μ i   1 1 ( l o g ) , μ i   2 2 ( l o g ) , and μ i   3 3 ( l o g ) are defined as
μ i   1 1 ( l o g ) = e x p ( β 01 + β 11 x i   1 11 + β 21 x i   2 21 + β 31 x i   3 31 )
μ i   2 2 ( l o g ) = e x p ( β 02 + β 12 x i   2 12 + β 22 x i   2 22 + β 32 x i   2 32 )
and
μ i   3 3 ( l o g ) = e x p ( β 03 + β 13 x i   3 13 + β 23 x i   3 23 + β 33 x i   3 33 )
The predictors on each mixture component of Equations (30)–(32) are defined as follows: x i   k 1 k is the number of household member; x i   k 2 k is the number of completed years of formal education by the head of the household; and x i   k 3 k is the natural logarithm of the household’s wealth (in Indonesian rupiah per year) with k = 1, 2, 3. We take two Markov chains with 25,000 iterations on each chain that are discarded during the first 10,000 iterations as burn-in. Thus, we use 50,000 samples to estimate the parameters.
The prior distributions are set up for the shape parameter α , the mixing parameter w , and the coefficient β j k . Referring to the pattern of distribution in Figure 3 and the proposed prior (16), we use the prior distribution for α k :
α k G a m m a ( 2 , 1 )
where α k has a gamma distribution with a shape parameter of 2 and an inverse scale parameter of 1.
The mixing parameter w has a Dirichlet distribution as a prior distribution with value of 1 for all parameters,
w D i r ( 1 , 1 , 1 )
The equal value of parameters on that Dirichlet distribution, D i r ( 1 , 1 , 1 ) , implies a uniform distribution over the two-dimensional simplex. The prior of β j k is specified based on (17). Accordingly, we propose the small variance σ 2 = 0.1 ; thus, the prior distribution for β j k is
β 0 k , β j k N ( 0 , 0.1 )
for j = 1 , 2 , 3 and k = 1 , 2 , 3 . The implementation of the prior distribution N(0,0.1) suggests that the corresponding predictors β j k have fewer effects on the posterior distribution β j k . This arrangement scheme of prior distribution allows a data-driven approach, i.e., the likelihood is more dominant than the prior distribution throughout the computation of the posterior distribution. The results are provided in Table 6.
It can be noted from Table 6 that all of the estimated parameters are significant at a 95% posterior credible interval. It can be shown that for all estimated parameters, the values of PSRF that are equal to 1 confirm that the Markov chains for all estimated parameters are convergent. Figure 9, which represents the trace plot of the Markov chains for estimated coefficients β ^ 0 , β ^ 1 , β ^ 2 , and β ^ 3 , proves the convergences.
The estimated shape parameters α (2.2740, 0.5182, and 1.6270) for the first, second and third groups, respectively, closely fit the distribution pattern of annual household income per capita in each mixture component, and the mixing parameters are 0.7693, 0.1058, and 0.1249, respectively. In this case, the mixing parameter represents the proportion of households in the groups against the sample populations. The sign of the estimated coefficients β ^ 0 , β ^ 1 , β ^ 2 , and β ^ 3 are as expected for each of the groups. The negative sign for β ^ 1 suggests that the increasing number of household members reduces the annual household income per capita. The length of education by the head of the household positively correlates with the annual household income per capita, indicating positive sign for β ^ 2 . It implies that knowledge may improve as the length of education by the head of household rise, thereby resulting in higher annual household income per capita. The household’s wealth also has a positive relationship to the annual household income per capita. This relation is generally reasonable since households with more wealth can generate more income using their own wealth. The results show that the Bayesian-MCMC approach gives a suitable result for estimating a finite mixture of the log-link gamma GLMs. The distribution of observed and replicated data depicting a graphical posterior predictive check in Figure 10 shows that the fitted model generally matches the observed data.
To learn the capability of predictive accuracy, the fitted Bayesian mixture of the log-link gamma GLMs is compared with the fitted Bayesian gamma regression model by calculating the WAIC. The gamma regression model is given by:
y i G a m m a ( α , α / μ i )
with
μ i = e x p ( β 0 + β 1 x i 1 + β 2 x i 2 + β 3 x i 3 )
The estimated parameters of the Bayesian gamma regression model shown in Table 6 are determined through the Gibbs sampler algorithm with the same prior distributions which are used to infer the fitted Bayesian mixture of the log-link gamma GLMs:
α G a m m a ( 2 , 1 )
and
β 0 , β j N ( 0 , 0.1 )
Similar processes for MCMC simulations are also conducted with two Markov chains with 25,000 iterations discarded in the first 10,000 iterations as burn-in, so it uses 50,000 samples. Based on the PSRF values in Table 7, the estimated parameters are convergent to their posterior distributions, whereas the 95% posterior credible intervals indicate that all estimated parameters are significant.
However, the WAIC value of the Bayesian gamma regression, which has an infinite value as shown in Table 8, indicates that the Bayesian mixture of the log-link gamma GLMs is significantly better in the predictive accuracy than the Bayesian gamma regression model.

5. Discussion

Two examples of real-data applications have a different typical distribution of response data. In the first example, the modeling of GDP_PPP per capita following the gamma distribution, the Bayesian mixture of the log-link gamma GLMs considerably outperforms the Bayesian mixture of linear regression model and the Bayesian gamma regression based on the predictive measure of WAIC. Moreover, through the finite mixture framework, we discover the factual relationship between the GDP_PPP per capita and the predictors in each group. In low-income countries, only the compulsory education years has a significant effect on the GDP_PPP per capita. Conversely, only the CPI has an important contribution to the change in GDP_PPP per capita in high-income countries. In this case, the usefulness of the Bayesian mixture of the log-link gamma GLMs can be noted.
The second case, in addition to revealing the implementation of the model on the data that does not comply with the gamma distribution, exposes the influential presence of extreme values which can be regarded as outliers that can be eliminated from data or remain preserved in the data depending on their characteristics. Nevertheless, the existence of plentiful outliers in the data distribution was natural in the heavy-tailed distribution perspective (Klebanov and Volchenkova 2019). Hence, the outliers that exist in the household income data of the IFLS-5 do not need to be removed since they present an actual condition.
Referring to Equations (24)–(26), we find out that one of the possible sources in which the WAIC can have a large value is in the extreme values in the data distribution of y i that have a heavy-tailed distribution. Klebanov and Volchenkova (2019) showed that the observations belonging to the tail in a heavy-tailed distribution, i.e., extreme values, can have an infinite variance. To verify the existence of extreme values, we examine the adjusted boxplot, which is a modification of the boxplot used to depict a robust measure of skewness (Hubert and Vandervieren 2008). The adjusted boxplots displayed in Figure 11 describe some extreme values that exist in the household income data.
While more specifically, if we divide the data following the three mixture components as our proposed model, some extreme values will also be split into each mixture component. It will cause a difference in the WAIC value which is substantively wide between the fitted Bayesian gamma regression model and the fitted Bayesian mixture of the log-link gamma GLMs.
Several improvements for further studies related to the topic of this paper can be made for future research purposes. Inferential processes discussed in this paper use the Gibbs sampler algorithm through the MultiBUGS software. Further research can be developed by using the Hamiltonian Monte Carlo algorithm (HMC) with the no-U-turn (NUTS) sampler through the Stan software. Solikhah et al. (2021) showed that HMC using NUTS sampler performed well in estimating parameters of a mixture of K-component Fisher’s z autoregressive models. In addition, the proposed model can be developed for a mixture of distributions with more general gamma regression models with mean and shape (or variance) parameters following regression structures previously studied in Corrales and Cepeda-Cuervo (2019).

6. Conclusions

In this paper, we examine more extensively a Bayesian mixture of GLMs with gamma-distributed responses that combined three main parts: the GLMs with gamma-distributed response, finite mixture modeling, and a computational procedure for inferencing through the Bayesian-MCMC approach. Two link functions which are available for GLMs with gamma-distributed responses can give different results on the predictive mean, the log-link function is more appropriate than the inverse-link function to ensure the positivity of the predictive mean. Considering the implementation of the model on two real data applications, the link function used and the chosen prior distributions give an important role for the Bayesian-MCMC approach to work appropriately throughout the simulation-based inferential processes. We note some advantages of the Bayesian mixture of the log-link gamma GLMs. The model has better predictive accuracy than the Bayesian mixture of linear regression and the Bayesian gamma regression model. It can point out real relationships between the response and the predictors. Furthermore, it handles the problems concerning extreme values, whereas the Bayesian model without finite mixture framework has difficulty overcoming extreme values. Nevertheless, our research only uses the Gibbs sampler algorithm and the mixing parameter which is not a function of the predictors. Therefore, it can be recommended for the future research.

Author Contributions

Conceptualization, Methodology, I.S., N.I. and H.K.; data curation, I.S.; software, I.S.; writing—original draft preparation, I.S.; writing—review & editing, I.S., N.I. and H.K.; project administration, I.S.; funding acquisition, I.S. and N.I.; All authors critically read and revised the draft and approved the final paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Directorate of Research and Community Service-Ministry of Research, Technology and Higher Education, Indonesia under PDD research grant no. 474/UN27.21/PP/2018.

Data Availability Statement

The data are available from the stated sources.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. The list of 160 countries classified based on four economic groups by World Bank (2021a).
Table A1. The list of 160 countries classified based on four economic groups by World Bank (2021a).
GroupsCountry
LowAfghanistanUgandaCent. AfricanChadCongo, Dem.GuineaGambia
EthiopiaGuinea-BissauHaitiTogoSudanMalawiSierra Leone
RwandaMaliMadagascar TajikistanLiberiaBurkina Faso
Lower-
middle
AlbaniaAlgeriaBangladeshBeninBoliviaCabo VerdeCameroon
ComorosCongo, Rep.Cote d’IvoireDjiboutiEgyptEl SalvadorEswatini
GhanaHondurasIndiaKenyaKyrgyzLao PDRLesotho
MauritaniaMoldovaMongoliaMoroccoMyanmarNepalNicaragua
NigeriaPakistanPhilippinesSao Tome Pr.SenegalSri LankaTanzania
Timor-LesteTunisiaUkraineUzbekistanVietnamZambiaZimbabwe
Upper-
middle
AngolaArgentinaArmeniaAzerbaijanBelarusBosniaBrazil
BulgariaChinaColombiaCosta RicaDominicaDominicanEcuador
Eq. GuineaGabonGeorgiaGrenadaGuatemalaGuyanaIndonesia
IranIraqJamaicaJordanKazakhstanLebanonLibya
MalaysiaMaldivesMexicoMontenegroNamibiaN. MacedoniaParaguay
PeruRussian Fed.SerbiaSouth AfricaSt. LuciaSt. Vincent GSuriname
ThailandTurkey
HighAustraliaAustriaBahamas, TheBahrainBarbadosBelgiumBrunei Dar.
GermanyChileCroatiaCyprusCzechDenmarkLuxembourg
FinlandSpainCanadaUruguayHong KongHungaryIceland
IrelandIsraelItalyJapanKorea, Rep.KuwaitLatvia
LithuaniaEstoniaSeychellesMauritiusNetherlandsNew ZealandNorway
OmanPanamaPolandPortugalQatarRomaniaSaudi Arabia
Malta SingaporeSlovak Rep.SloveniaFranceSwedenSwitzerland
Trinidad and TobagoUnited Arab EmiratesUnited KingdomUnited StatesGreece

References

  1. Alisjahbana, Arminda. 2011. Masterplan Percepatan Dan Perluasan Pembangunan Ekonomi Indonesia 2011–2025. Paper presented at the Work Meeting for Acceleration and Expansion of Indonesia Economic Development, Bogor, Indonesia, February 21–22. [Google Scholar]
  2. Causa, Orsetta, Sonia Araujo, Agnès Cavaciuti, Nicolas Ruiz, and Zuzana Smidova. 2014. Economic Growth from the Household Perspective: GDP and Income Distribution Developments across OECD Countries. April. Available online: https://www.oecd-ilibrary.org/economics/economic-growth-from-the-household-perspective_5jz5m89dh0nt-en (accessed on 3 March 2020).
  3. Chotikapanich, Duangkamon, William E. Griffiths, D. S. Prasada Rao, and Vicar Valencia. 2012. Global Income Distributions and Inequality, 1993 and 2000: Incorporating Country-Level Inequality Modeled with Beta Distributions. The Review of Economics and Statistics 94: 52–73. [Google Scholar] [CrossRef]
  4. Coordinating Ministry for Economic Affairs. 2011. Master Plan: Acceleration and Expansion of Indonesia Economic Development, 2011–2025; Jakarta: Ministry of National Development Planning/National Development Planning Agency.
  5. Corrales, Marta Lucia, and Edilberto Cepeda-Cuervo. 2019. A Bayesian Approach to Mixed Gamma Regression Models. Revista Colombiana de Estadística 42: 81–99. [Google Scholar] [CrossRef]
  6. Cowell, Frank A., and Emmanuel Flachaire. 2015. Chapter 6—Statistical Methods for Distributional Analysis. In Handbook of Income Distribution. Edited by Anthony B. Atkinson and François Bourguignon. Amsterdam: Elsevier, vol. 2, pp. 359–465. [Google Scholar] [CrossRef] [Green Version]
  7. Cowles, Mary Kathryn, and Bradley P. Carlin. 1996. Markov Chain Monte Carlo Convergence Diagnostics: A Comparative Review. Journal of the American Statistical Association 91: 883–904. [Google Scholar] [CrossRef]
  8. Diebolt, Jean, and Christian P. Robert. 1994. Estimation of Finite Mixture Distributions Through Bayesian Sampling. Journal of the Royal Statistical Society: Series B (Methodological) 56: 363–75. [Google Scholar] [CrossRef]
  9. Faraway, Julian J. 2016. Extending the Linear Model with R: Generalized Linear, Mixed Effects and Nonparametric Regression Models, 2nd ed. New York: Chapman and Hall/CRC. [Google Scholar] [CrossRef]
  10. Frühwirth-Schnatter, Sylvia. 2006. Finite Mixture and Markov Switching Models. New York: Springer Science & Business Media. [Google Scholar]
  11. Fu, Luyang, and Richard B. Moncher. 2004. Severity Distributions for GLMs: Gamma or Lognormal? Evidence from Monte Carlo Simulations. In Casualty Actuarial Society Discussion Paper Program. Arlington: Casualty Actuarial Society, pp. 149–230. [Google Scholar]
  12. Garrido, Liliana, and Edilberto Cepeda. 2012. Mixture of Distributions in the Biparametric Exponential Family: A Bayesian Approach. Communications in Statistics-Simulation and Computation 41: 355–75. [Google Scholar] [CrossRef]
  13. Garrido, Liliana, and Edilberto C. Cuervo. 2014. Heteroscedastic Weibull-Normal Mixture Models: A Bayesian Approach. Communications in Statistics-Theory and Methods 43: 249–65. [Google Scholar] [CrossRef]
  14. Gelman, Andrew, Aleks Jakulin, Maria Grazia Pittau, and Yu-Sung Su. 2008. A Weakly Informative Default Prior Distribution for Logistic and Other Regression Models. The Annals of Applied Statistics 2: 1360–83. [Google Scholar] [CrossRef]
  15. Gelman, Andrew, and Kenneth Shirley. 2011. Inference from Simulations and Monitoring Convergence. In Handbook of Markov Chain Monte Carlo. Boca Raton: CRC Press. [Google Scholar] [CrossRef]
  16. Gelman, Andrew, Daniel Simpson, and Michael Betancourt. 2017. The Prior Can Often Only Be Understood in the Context of the Likelihood. Entropy 19: 555. [Google Scholar] [CrossRef] [Green Version]
  17. Gelman, Andrew, Jessica Hwang, and Aki Vehtari. 2014. Understanding Predictive Information Criteria for Bayesian Models. Statistics and Computing 24: 997–1016. [Google Scholar] [CrossRef]
  18. Gelman, Andrew, John B. Carlin, Hal S. Stern, David B. Dunson, Aki Vehtari, and Donald B. Rubin. 2013. Bayesian Data Analysis, 3rd ed. New York: Chapman and Hall/CRC. [Google Scholar] [CrossRef]
  19. Goudie, Robert J. B., Rebecca M. Turner, Daniela De Angelis, and Andrew Thomas. 2020. MultiBUGS: A Parallel Implementation of the BUGS Modeling Framework for Faster Bayesian Inference. Journal of Statistical Software 95: 1–20. [Google Scholar] [CrossRef]
  20. Grün, Bettina, and Friedrich Leisch. 2008. Finite Mixtures of Generalized Linear Regression Models. In Recent Advances in Linear Models and Related Areas: Essays in Honour of Helge Toutenburg. Edited by Shalabh and Christian Heumann. Heidelberg: Physica-Verlag HD, pp. 205–30. [Google Scholar] [CrossRef] [Green Version]
  21. Hubert, Mia, and Ellen Vandervieren. 2008. An Adjusted Boxplot for Skewed Distributions. Computational Statistics & Data Analysis 52: 5186–5201. [Google Scholar] [CrossRef]
  22. Hurn, Merrilee, Ana Justel, and Christian P. Robert. 2003. Estimating Mixtures of Regressions. Journal of Computational and Graphical Statistics 12: 55–79. [Google Scholar] [CrossRef]
  23. Iriawan, Nur, Kartika Fithriasari, Brodjol S. S. Ulama, Irwan Susanto, Wahyuni Suryaningtyas, and Anindya A. Pravitasari. 2019. On the Markov Chain Monte Carlo Convergence Diagnostic of Bayesian Bernoulli Mixture Regression Model for Bidikmisi Scholarship Classification. In Proceedings of the Third International Conference on Computing, Mathematics and Statistics (ICMS2017). Edited by Liew-Kee Kor, Abd-Razak Ahmad, Zanariah Idrus and Kamarul Ariffin Mansor. Singapore: Springer, pp. 397–403. [Google Scholar] [CrossRef]
  24. Iriawan, Nur, Kartika Fithriasari, Brodjol S. S. Ulama, Wahyuni Suryaningtyas, Irwan Susanto, and Anindya A. Pravitasari. 2018. Bayesian Bernoulli Mixture Regression Model for Bidikmisi Scholarship Classification. Jurnal Ilmu Komputer Dan Informasi 11: 67–76. [Google Scholar] [CrossRef]
  25. Klebanov, Lev B., and Irina Volchenkova. 2019. Outliers and the Ostensibly Heavy Tails. Mathematical Methods of Statistics 28: 74–81. [Google Scholar] [CrossRef]
  26. Lemoine, Nathan P. 2019. Moving beyond Noninformative Priors: Why and How to Choose Weakly Informative Priors in Bayesian Analyses. Oikos 128: 912–28. [Google Scholar] [CrossRef] [Green Version]
  27. Lenk, Peter J., and Wayne S. DeSarbo. 2000. Bayesian Inference for Finite Mixtures of Generalized Linear Models with Random Effects. Psychometrika 65: 93–119. [Google Scholar] [CrossRef] [Green Version]
  28. Lopera, Liliana Garrido, Edilberto Cepeda-Cuervo, and Jorge Alberto Achcar. 2011. Heteroscedastic Normal–Exponential Mixture Models: Bayesian and Classical Approaches. Applied Mathematics and Computation 218: 3635–48. [Google Scholar] [CrossRef]
  29. Lunn, David, Christopher Jackson, Nicky Best, Andrew Thomas, and David Spiegelhalter. 2013. The BUGS Book. In A Practical Introduction to Bayesian Analysis. London: Chapman Hall. [Google Scholar]
  30. Myers, Raymond H., Douglas C. Montgomery, G. Geoffrey Vining, and Timothy J. Robinson. 2012. Generalized Linear Models: With Applications in Engineering and the Sciences. Hoboken: John Wiley & Sons, vol. 791. [Google Scholar]
  31. Park, Byung-Jung, and Dominique Lord. 2009. Application of Finite Mixture Models for Vehicle Crash Data Analysis. Accident Analysis & Prevention 41: 683–91. [Google Scholar] [CrossRef] [Green Version]
  32. Plummer, Martyn, Nicky Best, Kate Cowles, and Karen Vines. 2006. CODA: Convergence Diagnosis and Output Analysis for MCMC. R News 6: 7–11. [Google Scholar]
  33. Rufo, Maria J., Jacinto Martín, and Carlos J. Pérez. 2006. Bayesian Analysis of Finite Mixture Models of Distributions from Exponential Families. Computational Statistics 21: 621–37. [Google Scholar] [CrossRef]
  34. Solikhah, Arifatus, Heri Kuswanto, Nur Iriawan, and Kartika Fithriasari. 2021. Fisher’s z Distribution-Based Mixture Autoregressive Model. Econometrics 9: 27. [Google Scholar] [CrossRef]
  35. Stiglitz, Joseph. 2015. 8. Inequality and Economic Growth. The Political Quarterly 86: 134–55. [Google Scholar] [CrossRef]
  36. Strauss, John, Firman Witoelar, and Bondan Sikoki. 2016. The Fifth Wave of the Indonesia Family Life Survey: Overview and Field Report. Santa Monica: RAND. [Google Scholar]
  37. Suryaningtyas, Wahyuni, Nur Iriawan, Kartika Fithriasari, Brodjol Sutija Suprih Ulama, Irwan Susanto, and Anindya Apriliyanti Pravitasari. 2018. On the Bernoulli Mixture Model for Bidikmisi Scholarship Classification with Bayesian MCMC. Journal of Physics: Conference Series 1090: 012072. [Google Scholar] [CrossRef]
  38. Susanto, Irwan, Nur Iriawan, Heri Kuswanto, and Suhartono. 2019. Bayesian Inference for the Finite Gamma Mixture Model of Income Distribution. Journal of Physics: Conference Series 1217: 012077. [Google Scholar] [CrossRef]
  39. Tatarinova, Tatiana, and Alan Schumitzky. 2015. Nonlinear Mixture Models: A Bayesian Approach. Singapore: World Scientific. [Google Scholar]
  40. Transparency.org. 2021. 2019-CPI. Available online: https://www.transparency.org/en/cpi/2019 (accessed on 6 January 2021).
  41. Watanabe, Sumio. 2010. Asymptotic Equivalence of Bayes Cross Validation and Widely Applicable Information Criterion in Singular Learning Theory. Journal of Machine Learning Research 11: 3571–94. [Google Scholar]
  42. Wedel, Michel, and Wagner A. Kamakura. 2000. Market Segmentation: Conceptual and Methodological Foundations, 2nd ed. International Series in Quantitative Marketing; New York: Springer. [Google Scholar] [CrossRef]
  43. Wesner, Jeff S., David L. Swanson, Mark D. Dixon, Daniel A. Soluk, Danielle J. Quist, Lisa A. Yager, Jerry W. Warmbold, Erika Oddy, and Tyler C. Seidel. 2020. Loss of Potential Aquatic-Terrestrial Subsidies Along the Missouri River Floodplain. Ecosystems 23: 111–23. [Google Scholar] [CrossRef]
  44. Wicaksono, Eko, Hidayat Amir, and Anda Nugroho. 2017. The Sources of Income Inequality in Indonesia: A Regression-Based Inequality Decomposition. Tokyo: Asian Development Bank. Available online: https://www.adb.org/publications/sources-income-inequality-indonesia (accessed on 6 March 2020).
  45. Wiper, Michael, David Rios Insua, and Fabrizio Ruggeri. 2001. Mixtures of Gamma Distributions with Applications. Journal of Computational and Graphical Statistics 10: 440–54. [Google Scholar] [CrossRef]
  46. World Bank Open Data. 2021. World Bank Open Data|Data. Available online: https://data.worldbank.org/ (accessed on 11 January 2021).
  47. World Bank Open Data. 2022. World Bank Open Data|Data. Available online: https://data.worldbank.org/indicator/NY.GDP.PCAP.PP.CD (accessed on 22 February 2022).
  48. World Bank. 2020. Purchasing Power Parities and the Size of World Economies: Results from the 2017 International Comparison Program. Washington, DC: World Bank. [Google Scholar] [CrossRef]
  49. World Bank. 2021a. New World Bank Country Classifications by Income Level: 2020–2021. World Bank Blogs. Available online: https://blogs.worldbank.org/opendata/new-world-bank-country-classifications-income-level-2020-2021 (accessed on 11 January 2021).
  50. World Bank. 2021b. Purchasing Power Parities for Policy Making: A Visual Guide to Using Data from the International Comparison Program. Washington, DC: World Bank. Available online: https://openknowledge.worldbank.org/handle/10986/35736 (accessed on 11 November 2021).
Figure 1. The flowchart of the research methodology implemented in this study.
Figure 1. The flowchart of the research methodology implemented in this study.
Econometrics 10 00032 g001
Figure 2. The density plot of the GDP_PPP.
Figure 2. The density plot of the GDP_PPP.
Econometrics 10 00032 g002
Figure 3. The scatterplot of the natural logarithm of GDP_PPP versus four predictors: (a) the compulsory education years; (b) the CPI; (c) the GDP; and (d) the population.
Figure 3. The scatterplot of the natural logarithm of GDP_PPP versus four predictors: (a) the compulsory education years; (b) the CPI; (c) the GDP; and (d) the population.
Econometrics 10 00032 g003
Figure 4. The trace plots of two Markov chains with the first and second Markov chains that are marked in red and blue, respectively, on the log-link gamma GLMs for (a) the coefficient β ^ 1 k ; (b) the coefficient β ^ 2 k .
Figure 4. The trace plots of two Markov chains with the first and second Markov chains that are marked in red and blue, respectively, on the log-link gamma GLMs for (a) the coefficient β ^ 1 k ; (b) the coefficient β ^ 2 k .
Econometrics 10 00032 g004
Figure 5. The graphical posterior predictive check of GDP_PPP.
Figure 5. The graphical posterior predictive check of GDP_PPP.
Econometrics 10 00032 g005
Figure 6. The density plots of predicted results and observed data in 2020.
Figure 6. The density plots of predicted results and observed data in 2020.
Econometrics 10 00032 g006
Figure 7. The distribution of annual household income per capita on (a) the first mixture component, (b) the second mixture component, and (c) the third mixture component.
Figure 7. The distribution of annual household income per capita on (a) the first mixture component, (b) the second mixture component, and (c) the third mixture component.
Econometrics 10 00032 g007
Figure 8. The four-dimensional scatter plots represent a linear relationship between the natural logarithm of household income data with all three predictors: (a) the overall response data; (b) the first mixture component; (c) the second mixture component; (d) the third mixture component.
Figure 8. The four-dimensional scatter plots represent a linear relationship between the natural logarithm of household income data with all three predictors: (a) the overall response data; (b) the first mixture component; (c) the second mixture component; (d) the third mixture component.
Econometrics 10 00032 g008
Figure 9. The trace plots of two Markov chains with the first and second Markov chains that are marked in red and blue, respectively, on each mixture components for (a) parameter β ^ 0 ; (b) parameter β ^ 1 ; (c) parameter β ^ 2 ; (d) parameter β ^ 3 .
Figure 9. The trace plots of two Markov chains with the first and second Markov chains that are marked in red and blue, respectively, on each mixture components for (a) parameter β ^ 0 ; (b) parameter β ^ 1 ; (c) parameter β ^ 2 ; (d) parameter β ^ 3 .
Econometrics 10 00032 g009aEconometrics 10 00032 g009b
Figure 10. The graphical posterior predictive check of household income on (a) the first mixture component; (b) the second mixture component; (c) the third mixture component.
Figure 10. The graphical posterior predictive check of household income on (a) the first mixture component; (b) the second mixture component; (c) the third mixture component.
Econometrics 10 00032 g010aEconometrics 10 00032 g010b
Figure 11. The adjusted boxplot on: (a) the whole data; (b) the first mixture component; (c) the second mixture component; and (d) the third mixture component.
Figure 11. The adjusted boxplot on: (a) the whole data; (b) the first mixture component; (c) the second mixture component; and (d) the third mixture component.
Econometrics 10 00032 g011
Table 1. The goodness-of-fit tests.
Table 1. The goodness-of-fit tests.
Datap-ValueSignificant
Statistical DISTRIBUTION
Kolmogorov-Smirnov TestChi Squared
Test
whole data0.54190.1989Gamma(1.06, 21,722)
first group 0.86730.8839Gamma(7.52, 286.48)
second group0.51660.8310Gamma(3.97, 1750.3)
third group0.91980.6462Gamma(9.73, 1733.4)
fourth group0.95070.7565Gamma(5.90, 8259.4)
Table 2. The estimated parameters of the first, second, third, and fourth mixture components.
Table 2. The estimated parameters of the first, second, third, and fourth mixture components.
Mixture ComponentEstimated Parameter Estimated Value95% Posterior Credible IntervalPSRFPrior Distribution
LowerUpper
First α ^ 1 4.71102.37608.18201 α 1 G ( 6 , 1 )
w ^ 1 0.12790.08130.18301 w 1 D i r ( 1 , 1 , 1 , 1 )
β ^ 01 6.08504.89807.12601 β 01 N ( 0 , 1 )
β ^ 11 0.13730.03650.25321 β 11 N ( 0 , 0.01 )
β ^ 21 0.0179−0.0040.04551 β 21 N ( 0 , 1 )
Second α ^ 2 4.88403.09207.24601 α 2 G ( 6 , 1 )
w ^ 2 0.26210.19770.33151 w 2 D i r ( 1 , 1 , 1 , 1 )
β ^ 02 6.47505.59007.25101 β 02 N ( 0 , 1 )
β ^ 12 0.13540.08110.19181 β 12 N ( 0 , 0.01 )
β ^ 22 0.03140.01090.05451 β 22 N ( 0 , 1 )
Third α ^ 3 7.5004.775011.0301 α 3 G ( 6 , 1 )
w ^ 3 0.27420.20870.34881 w 3 D i r ( 1 , 1 , 1 , 1 )
β ^ 03 8.9138.29009.45301 β 03 N ( 0 , 1 )
β ^ 13 0.03910.00030.07871 β 13 N ( 0 , 0.01 )
β ^ 23 0.0106 0.00050.02141 β 23 N ( 0 , 1 )
Fourth α ^ 4 7.47004.899010.7901 α 4 G ( 6 , 1 )
w ^ 4 0.33580.26500.41031 w 4 D i r ( 1 , 1 , 1 , 1 )
β ^ 04 9.09808.32809.45301.01 β 04 N ( 0 , 1 )
β ^ 14 0.0220−0.0290.07681 β 14 N ( 0 , 0.01 )
β ^ 24 0.02210.01540.02951.01 β 24 N ( 0 , 1 )
Table 3. The estimated parameters of the Bayesian mixture of linear regression model.
Table 3. The estimated parameters of the Bayesian mixture of linear regression model.
Mixture ComponentEstimated Parameter Estimated Value95% Posterior Credible IntervalPSRFPrior Distribution
LowerUpper
First σ ^ 1 1043820.113471 σ 1 U ( 0 , 8000 )
w ^ 1 0.21390.1540.27991 w 1 D i r ( 1 , 1 , 1 , 1 )
β ^ 01 118040.6823911 β 01 N ( 0 , 1 × 10 6 )
β ^ 11 102.2−17.68218.51 β 11 N ( 0 , 1 × 10 4 )
β ^ 21 23.82−5.61653.781 β 21 N ( 0 , 1000 )
Second σ ^ 2 3573291744031 σ 2 U ( 0 , 8000 )
w ^ 2 0.33570.26610.40971 w 2 D i r ( 1 , 1 , 1 , 1 )
β ^ 02 3059148946651 β 02 N ( 0 , 1 × 10 6 )
β ^ 12 311.9163458.41 β 12 N ( 0 , 1 × 10 4 )
β ^ 22 108.364.75151.21 β 22 N ( 0 , 1000 )
σ ^ 3 7644676279901 σ 3 U ( 0 , 8000 )
w ^ 3 0.20080.14290.26481 w 3 D i r ( 1 , 1 , 1 , 1 )
Third β ^ 03 4344251561601 β 03 N ( 0 , 1 × 10 6 )
β ^ 13 418.1241.25941 β 13 N ( 0 , 1 × 10 4 )
β ^ 23 188.4138238.61 β 23 N ( 0 , 1000 )
σ ^ 4 7963786479991 σ 4 U ( 0 , 8000 )
w ^ 4 0.24960.18680.31831 w 4 D i r ( 1 , 1 , 1 , 1 )
Fourth β ^ 04 6617476084901 β 04 N ( 0 , 1 × 10 6 )
β ^ 14 627.44448091 β 14 N ( 0 , 1 × 10 4 )
β ^ 24 467.7428.15081 β 24 N ( 0 , 1000 )
Table 4. The estimated parameters of the Bayesian gamma regression model.
Table 4. The estimated parameters of the Bayesian gamma regression model.
Estimated
Parameter
Estimated
Value
95% Posterior Credible IntervalPSRFPrior Distribution
LowerUpper
α ^ 2.21601.79902.69901 α G a m m a ( 6 , 1 )
β ^ 0 7.12706.65607.57601 β 0 N ( 0 , 1 )
β ^ 1 0.07980.03560.12511 β 1 N ( 0 , 0.01 )
β ^ 2 0.04130.03530.04711 β 2 N ( 0 , 1 )
Table 5. The WAIC values of the model for GDP_PPP case.
Table 5. The WAIC values of the model for GDP_PPP case.
Fitted ModelWAIC
Bayesian mixture of the log-link gamma GLMs3231
Bayesian mixture of linear regression3341
Bayesian gamma regression3411
Table 6. The estimated parameters of the first, second, and third mixture components.
Table 6. The estimated parameters of the first, second, and third mixture components.
Estimated
Parameter and Coefficient
Estimated
Value
95% Posterior Credible IntervalMarkov Chain ErrorPSRF
LowerUpper
α ^ 1 2.27402.18202.36700.00021
α ^ 2 0.51820.47010.56880.00011
α ^ 3 1.62701.46901.79100.00041
w ^ 1 0.76930.75810.78040.00001
w ^ 2 0.10580.09780.1140.00001
w ^ 3 0.12490.11640.13380.00001
β ^ 01 8.49308.21508.76300.00291
β ^ 02 0.88920.26911.51400.00341
β ^ 03 1.94701.42402.47100.00321
β ^ 11 −0.1080−0.1205−0.09530.00011
β ^ 12 −0.1013−0.1993−0.00350.00121
β ^ 13 −0.1298−0.1657−0.09260.00051
β ^ 21 0.03210.02620.03790.00001
β ^ 22 0.16790.13150.20140.00041
β ^ 23 0.01720.00130.03320.00011
β ^ 31 0.47100.45390.48890.00011
β ^ 32 0.89040.83750.94520.00051
β ^ 33 0.86850.83190.90490.00031
Table 7. The estimated parameters of the Bayesian gamma regression model.
Table 7. The estimated parameters of the Bayesian gamma regression model.
Estimated
Parameter and Coefficient
Estimated
Value
95% Posterior Credible IntervalMarkov Chain ErrorPSRF
LowerUpper
α ^ 1.39201.34401.44000.00011
β ^ 0 7.62907.32507.93600.00301
β ^ 1 −0.1092−0.1241−0.09410.00011
β ^ 2 0.05390.04720.06080.00001
β ^ 3 0.51780.49760.53750.00021
Table 8. The WAIC values of the model for household income case.
Table 8. The WAIC values of the model for household income case.
Fitted ModelWAIC
Bayesian mixture of the log-link gamma GLMs 192,200
Bayesian gamma regressioninfinity
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Susanto, I.; Iriawan, N.; Kuswanto, H. On the Bayesian Mixture of Generalized Linear Models with Gamma-Distributed Responses. Econometrics 2022, 10, 32. https://doi.org/10.3390/econometrics10040032

AMA Style

Susanto I, Iriawan N, Kuswanto H. On the Bayesian Mixture of Generalized Linear Models with Gamma-Distributed Responses. Econometrics. 2022; 10(4):32. https://doi.org/10.3390/econometrics10040032

Chicago/Turabian Style

Susanto, Irwan, Nur Iriawan, and Heri Kuswanto. 2022. "On the Bayesian Mixture of Generalized Linear Models with Gamma-Distributed Responses" Econometrics 10, no. 4: 32. https://doi.org/10.3390/econometrics10040032

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