Full text
UPCommons Portal del coneixement obert de la UPC http://upcommons.upc.edu/e-prints Aquesta és una còpia de la versió author’s final draft d'un article publicat a la revista Computational statistics and data analysis. URL d'aquest document a UPCommons E-prints: https://upcommons.upc.edu/handle/2117/328352 Article publicat / Published paper : Fernandez, D.; DFM; Pledger, S. Mixture-based clustering for the ordered stereotype model. "Computational statistics and data analysis", 2016, vol. 93, p. 46-75. DOI: 10.1016/j.csda.2014.11.004 © 2020. Aquesta versió està disponible sota la llicència CC-BY-NC-ND 4.0 https://creativecommons.org/licenses/by-nc-nd/4.0/
Computational Statistics and Data Analysis ( ) – Contents lists available at ScienceDirect Computational Statistics and Data Analysis journal homepage: www.elsevier.com/locate/csda Mixture-based clustering for the ordered stereotype model D. Fernández∗, R. Arnold, S. Pledger School of Mathematics, Statistics and Operations Research, Victoria University of Wellington, Wellington, New Zealand highlights •New methodology for clustering rows and columns from a matrix of ordinal data. •Establishes likelihood-based methods via finite mixtures with the stereotype model. •Tests the reliability of this methodology through a simulation study. •Illustrates this new approach with two examples. •Reviews and compares the performance several model choice measures. article info Article history: Received 20 March 2014 Received in revised form 6 November 2014 Accepted 8 November 2014 Available online xxxx Keywords: Biclustering Cluster analysis Dimension reduction EM-algorithm Finite mixture model Fuzzy clustering Likert scale Ordinal data Stereotype model abstract Many of the methods which deal with the reduction of dimensionality in matrices of data are based on mathematical techniques such as distance-based algorithms or matrix decomposition and eigenvalues. Recently a group of likelihood-based finite mixture models for a data matrix with binary or count data, using basic Bernoulli or Poisson building blocks has been developed. This is extended and establishes likelihood-based multivariate methods for a data matrix with ordinal data which applies fuzzy clustering via finite mixtures to the ordered stereotype model. Model-fitting is performed using the expectation–maximization (EM) algorithm, and a fuzzy allocation of rows, columns, and rows and columns simultaneously to corresponding clusters is obtained. A simulation study is presented which includes a variety of scenarios in order to test the reliability of the proposed model. Finally, the results of the application of the model in two real data sets are shown. ©2014 Elsevier B.V. All rights reserved. 1. Introduction An ordinal variable is one with a categorical data scale which describes order, and where the distinct levels of such a variable differ in degree of dissimilarity more than in quality (Agresti, 2010). This is different from nominal variables which vary in quality, not in quantity, and thus the order of listing the categories is irrelevant. For example, Likert scale responses in a questionnaire might be ‘‘disagree’’, ‘‘neither agree nor disagree’’ or ‘‘agree’’. In his seminal paper, Stevens (1946) called a scale ordinal if ‘‘any order-preserving transformation will leave the scale form invariant’’. Although the collection and use of ordinal variables is common, most of the current methods for analyzing them treat the data as if they were nominal (Hoffman and Franke, 1986) or continuous data (Agresti, 2010). On the one hand, treating an ordered categorical variable as ordinal rather than nominal provides advantages in the analysis such as simplifying the data description and allowing the use of more parsimonious models. The nominal approach ignores the intrinsic ordering of the data and thus the statistical ∗Correspondence to: MSOR, Victoria University of Wellington, PO Box 600, Wellington 6140, New Zealand. Tel.: +64 4 463 5341. E-mail addresses: [email protected] (D. Fernández), [email protected] (R. Arnold), [email protected] (S. Pledger). http://dx.doi.org/10.1016/j.csda.2014.11.004 0167-9473/©2014 Elsevier B.V. All rights reserved.
2D. Fernández et al. / Computational Statistics and Data Analysis ( ) – results are less powerful than they could be. On the other hand, models for continuous variables have similarities to those for ordinal variables although the use of them with ordinal variables has disadvantages such as the treatment of the output categories as equally spaced, which they may not be (see Agresti, 2010, Sections 1.2–1.3 for a list of advantages from treating an ordinal variable as ordinal rather than nominal or continuous). Categorical data analysis methods were first developed in the 1960s and 1970s (Bock and Jones, 1968;Snell,1964), including loglinear models and logistic regression (see the review by Liu and Agresti, 2005). An increasing interest in ordinal data has since produced the articles by Goodman (1979) and McCullagh (1980) on loglinear modeling relating to ordinal odds ratios, and logit modeling of cumulative probabilities respectively. Recently, new ordinal data analysis methods have been introduced such as the proportional odds model version of the cumulative logit model, and the stereotype model with ordinal scores (Agresti, 2010, Chap. 3 and 4) from which new lines of research have developed. Two recent examples of these are the application of a stereotype model in a case-control study by Ahn et al. (2009), and a new methodology to fit a stratified proportional odds model by Mukherjee et al. (2008). In particular, the stereotype model is a paired-category logit model which is an alternative when the fit of cumulative logits and adjacent-categories logit models in their proportional odds version is poor. Anderson (1984) proposed this model as nested between the adjacent-categories logit model and the standard baseline-category logits model (see the review by Agresti, 2002, Chapter 6). In the research literature, multiple algorithms and techniques have been developed which deal with the clustering of data such as hierarchical clustering (Johnson,1967;Kaufman and Rousseeuw, 1990), association analysis (Manly, 2005) and partition optimization methods such as the k-means clustering algorithm (Jobson,1992;Lewis et al.,2003;McCune and Grace, 2002). There has been research on cluster analysis for ordinal data based on latent class models (see Agresti and Lang, 1993;Moustaki, 2000;Vermunt, 2001;DeSantis et al., 2008;Breen and Luijkx, 2010;McPartland and Gormley, 2013 and the review by Agresti, 2010, Section 10.1). There are a number of clustering methods based on mathematical techniques such as distance metrics (Everitt et al., 2001), association indices (Wu et al.,2008;Chen et al.,2011), matrix decomposition and eigenvalues (Quinn and Keough, 2002;Manly,2005;Wu et al.,2007). However, these do not have a likelihood based formulation, and do not provide a reliable method of model selection or assessment. A particularly powerful model-based approach to one-mode clustering based on finite mixtures, with the variables in the columns being utilized to cluster the subjects in the rows, is provided by McLachlan and Basford (1988), McLachlan and Peel (2000), Everitt et al. (2001), Böhning et al. (2007), Wu et al. (2008) and Melnykov and Maitra (2010). The simultaneous clustering of rows and columns into row clusters and column clusters is called biclustering (or block clustering or two-mode clustering). Biclustering models based on double k-means have been developed in Vichi (2001) and Rocci and Vichi (2008). A hierarchical Bayesian procedure for biclustering is given in DeSarbo et al. (2004). Biclustering using mixtures has been proposed for binary data in Pledger (2000), Arnold et al. (2010) and Labiod and Nadif (2011), and for count data in Govaert and Nadif (2010). An approach via finite mixtures for binary and count data using basic Bernoulli or Poisson building blocks has been developed in Govaert and Nadif (2010) and Pledger and Arnold (2014). This work expanded previous research for one-mode fuzzy cluster analysis based on finite mixtures (McLachlan and Basford, 1988;McLachlan and Peel, 2000;Everitt et al.,2001) to a suite of models including biclustering. Finally, Matechou et al. (2011) have recently developed biclustering models for ordinal data using the assumption of proportional odds and having a likelihood-based foundation. The main difference with our work is that we use the assumption of ordinal stereotype model which has the advantage of allowing us to determine a new spacing of the ordinal categories, dictated by the data. In this article, we present an extension of the likelihood-based models proposed in Pledger and Arnold (2014) by applying them to matrices with ordinal data by using finite mixtures to define a fuzzy clustering. We use the ordered stereotype model introduced by Anderson (1984) in order to formulate the ordinal approach, which has rarely been used so far. Two possible reasons for this lack of use might be the absence of standard software for model fitting and its unusual structure including the product of parameters in the linear predictor (Kuss, 2006). The plan of the article is as follows. Section 2has definitions of the models and its formulation including fuzzy clustering via finite mixtures. Model fitting by using the iterative EM algorithm is described in Section 3. Section 4presents a review of several model comparison measures and a comparison of eleven information criteria performance. Two real-life examples and simulation studies are given in Section 5, and we conclude with a discussion in Section 6. 2. Model formulation In this section, we give the standard definition of the ordered stereotype model (Section 2.1) followed by a modification to include clustering (Section 2.2). The likelihood for the suite of basic models is provided next (Section 2.3). 2.1. Data and ordered stereotype model definition For a set of mordinal response variables each with qcategories measured on a set of nunits, the data can be represented by a n×mmatrix Ywhere, for instance, the nrows represent the subjects of the study and the mcolumns are the different questions in a particular questionnaire. Although the number of categories might be different, we assume the same qfor all such questions. If each answer is a selection from qordered categories (e.g. strongly agree, agree, neutral, disagree, strongly disagree), then yij ∈ {1,...,q},i=1,...,n,j=1,...,m.
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 3 The ordered stereotype model (Anderson, 1984) for the probability that yij takes the category kis characterized by the following log odds log Pyij =k|x Pyij =1|x=µk+φkδ′x,i=1,...,n,j=1,...,m,k=2,...,q,(1) where the inclusion of the following monotone increasing constraint 0=φ1≤φ2≤ · · · ≤ φq=1 (2) preserves the variable response Yis ordinal (see Anderson, 1984). The vector xis a set of predictor variables which can be categorical or continuous, and the vector of parameters δrepresents the effects of xon the log odds of the response variable for the category krelative to the baseline category. The first category is the baseline category, pis the number of covariates, the parameters {µ2, . . . , µq}are the cut points, and {φ2, . . . , φq}are the parameters which can be interpreted as the ‘‘scores’’ for the categories of the response variable yij. We restrict µ1=φ1=0 and φq=1 to ensure identifiability. With this construction, the category response probabilities in the ordered stereotype model are as follows Pyij =k|x=exp(µk+φkδ′x) q ℓ=1 exp(µℓ+φℓδ′x) for k=1,...,q,(3) where the probability for the baseline category, as defined in (3), satisfies Pyij =1|x=1− q ℓ=2 Pyij =ℓ|x and therefore, since µ1=φ1=0, this probability can be defined as Pyij =1|x=1 1+ q ℓ=2 exp(µℓ+φℓδ′x) . Greenland (1994) showed that the stereotype model is appropriate when the progression of the response variable occurs through various stages. Agresti (2010) (see Chapter 4) showed that the stereotype model is equivalent to an ordinal model, such as the proportional odds version of the adjacent-categories logit model, when the scores {φk}are a linear function of the different categories of the response variable. An advantage of the stereotype model is that it is more parsimonious than the baseline-category logit model or the multinomial logistic regression model. In addition, the ordered stereotype model is more flexible than the models including the proportional odds structure such as the version for the cumulative logit model (Agresti, 2010, Section 4.3.4) as a result of the {φk}parameters. However, the parameters are more difficult to estimate due to the intrinsic nonlinearity which arises from the product of parameters φkδ′xin the predictor. 2.2. Ordered stereotype model including clustering The structure of the linear predictor in the ordered stereotype model can include the predictor variables xas numerical covariates, or they may simply be related to the effect of the row and column on the observation yij. We consider this latter situation and build up δ′xonly taking into account the row and column effects by using a linear formulation. To do this, we define {α1, . . . , αn}and {β1, . . . , βm}as the sets of parameters quantifying the main effects of the nrows and mcolumns respectively, and the set {γ11, . . . , γnm}are the associations between the different rows and columns. In this way, we can formulate the following saturated model log Pyij =k Pyij =1=µk+φk(αi+βj+γij), k=2,...,q,i=1,...,n,j=1,...,m,(4) where n i=1αi=m j=1βj=0 and we impose sum-to-zero constraints on each row and column of the association (or pattern detection) matrix γ. This model has 2q+nm −4 independent parameters. The relationship between models (3) and (4) is shown in Appendix A. The most common submodels to formulate from the saturated model are the main effect model (γij =0, with 2q+n+m−5 parameters), the row effect model (βj=γij =0, 2q+n−4 parameters), the column effect model (αi=γij =0, 2q+m−4 parameters) and the null model (αi=βj=γij =0, 2q−3 parameters). The main problem with the model in (4) is that the specific row and column effects in this suite of models overparametrizes the data structure. This model is not parsimonious and it requires a lot of parameters for describing all the effects. A way to reduce the dimensionality of the problem is to introduce fuzzy clustering via finite mixtures. Hence, we obtain the following model formulation including row clustering, column clustering or biclustering.
4D. Fernández et al. / Computational Statistics and Data Analysis ( ) – •Row clustering log Pyij =k|i∈r Pyij =1|i∈r=µk+φk(αr+βj+γrj), k=2,...,q,r=1,...,R,j=1,...,m. •Column clustering log Pyij =k|j∈c Pyij =1|j∈c=µk+φk(αi+βc+γic ), k=2,...,q,i=1,...,n,c=1,...,C. •Biclustering log Pyij =k|i∈r,j∈c Pyij =1|i∈r,j∈c=µk+φk(αr+βc+γrc ), k=2,...,q,r=1,...,R,c=1,...,C, where R≤nis the number of row groups, C≤mthe number of column groups, i∈rmeans row iis classified in the row cluster rand j∈cmeans column jis classified in the column cluster c. It is important to note that the actual membership of the rows among the Rrow-clusters and the columns among the Ccolumn-clusters is unknown and, therefore, it is considered as missing information. Choosing R≪n(C≪m)ensures that the number of independent parameters in this model is less than nm. The parameters γrj,γic and γrc may not be necessary in some models, i.e. models without the interaction between row and column groups, where all rows show similar response patterns over the columns, and vice versa. Further, we define {π1, . . . , πR}and {κ1, . . . , κC}as the (unknown) proportions of rows and columns in each row and column group respectively, with R r=1πr=C c=1κc=1. We can view πrand κcas the a priori row and column membership probabilities. For the case of the ordered stereotype model including fuzzy biclustering, the model is defined with (q−1)cut point parameters µk,(q−2)score parameters φk,(R−1)row effect parameters αr,(C−1)column effect parameters βc,(R−1)(C−1)associations between row and column parameters γrc ,(R−1)row cluster membership parameters πrand (C−1)column cluster membership parameters κc. In that way, we may deduce that the model including fuzzy row clustering has 2q+Rm+(R−1)−4 independent parameters, the column clustering version has 2q+nC+(C−1)−4 independent parameters and the biclustering one has 2q+RC +(R−1)+(C−1)−4 independent parameters. Finally, in the same way as before, we can formulate the probability of the data response yij being equal to the category kconditional on the appropriate clustering as, •Row clustering θrijk =Pyij =k|i∈r=exp(µk+φk(αr+βj+γrj)) q ℓ=1 exp(µℓ+φℓ(αr+βj+γrj)) ,k=1,...,q,r=1,...,R,j=1,...,m.(5) •Column clustering θicjk=Pyij =k|j∈c=exp(µk+φk(αi+βc+γic )) q ℓ=1 exp(µℓ+φℓ(αi+βc+γic )) ,k=1,...,q,c=1,...,C,i=1,...,n.(6) •Biclustering θricjk=Pyij =k|i∈r,j∈c=exp(µk+φk(αr+βc+γrc )) q ℓ=1 exp(µℓ+φℓ(αr+βc+γrc )) , k=1,...,q,r=1,...,R,c=1,...,C.(7) The inclusion of the interaction term allows for different slopes and possible crossings. The additive version of these models omits the interaction term. 2.3. Basic models. Likelihoods In this section, we summarize the likelihood functions for the cases of row clustering, column clustering and biclustering. The formulation of the complete data log-likelihood is given in each case. 2.3.1. Row clustering As we noted in the previous section, the unknown data in the case of the row-clustered model is the actual membership of the rows among the Rrow-clusters. Thus, the incomplete data likelihood only sums over all possible partitions of rows
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 5 into Rclusters: L(Ω| {yij})= R r1=1 · · · R rn=1 πr1· · · πrn n i=1 m j=1 q k=1θrijkI(yij=k), where Ωis the parameter vector for the case of row clustering, πriis the a priori row membership probability of row i,θrijk is the probability of the data response defined in (5). Assuming independence among rows and, conditional on the rows, independence over the columns, we can simplify the previous incomplete data likelihood to L(Ω| {yij})= n i=1R r=1 πr m j=1 q k=1θrjkI(yij=k). We define the unknown row group memberships through the following indicator latent variables, Zir =I(i∈r)=1 if i∈r 0 if i∈ ri=1,...,n,r=1,...,R,(8) where i∈rindicates that row iis in row group r. It follows that R r=1 Zir =1,i=1,...,n, and since their a priori row membership probabilities are {πr} (Zi1,...,ZiR)∼Multinomial(1;π1, . . . , πR), i=1,...,n. These indicator latent variables fulfill the following convenient identity R r=1 aZir i= R r=1 aiZir for any ai= 0. Consequently, the complete data log-likelihood of this model using the known data {yij}and the unknown data {zir }is as follows lc(Ω| {yij},{zir })= n i=1 R r=1 zir log(πr)+ n i=1 m j=1 q k=1 R r=1 zir I(yij =k)log θrjk.(9) 2.3.2. Column clustering The model for the case of clustering the columns but not the rows is similar. It assumes independence among columns and, conditional on the columns, independence over the rows. Analogous to Zir for row clustering (see (8)) we define the following indicator latent variables for the unknown data Xjc =I(j∈c)=1 if j∈c 0 if j∈ cj=1,...,m,c=1,...,C.(10) The complete data log-likelihood of this model using the known data {yij}and the unknown data {xjc }is as follows lc(Ω| {yij},{xjc })= m j=1 C c=1 xjc log(κc)+ n i=1 m j=1 q k=1 C c=1 xjc I(yij =k)log (θick),(11) where Ωis the parameter vector for the case of column clustering and κcis the a priori column membership probability. 2.3.3. Biclustering In the case of clustering the rows and the columns simultaneously, the incomplete data likelihood sums over all possible partitions of rows into Rclusters and over all possible partitions of columns into Cclusters, and is given by L(Ω| {yij})= C c1=1 · · · C cm=1 κc1· · · κcm R r1=1 · · · R rn=1 πr1· · · πrn n i=1 m j=1 q k=1θricjkI(yij=k). Here Ωis the parameter vector for the case of biclustering and θricjkis the probability of the data response expressed in (7). Assuming independence among rows and, conditional on the rows, independence over the columns, we can simplify the previous incomplete data likelihood to L(Ω| {yij})= C c1=1 · · · C cm=1 κc1· · · κcm n i=1R r=1 πr m j=1 q k=1θrjkI(yij=k),(12)
6D. Fernández et al. / Computational Statistics and Data Analysis ( ) – which sums over the possible column cluster partitions. Similarly, if we assume independence among columns and, conditional on the columns, independence over the rows, we obtain the following simplified expression: L(Ω| {yij})= R r1=1 · · · R rn=1 πr1· · · πrn m j=1C c=1 κc n i=1 q k=1 (θick)I(yij=k).(13) We define the unknown data through the indicator latent variables described in (8) and (10). Consequently, the complete data log-likelihood of this model using the known data {yij}and the unknown data {zir }and {xjc }is as follows: lc(Ω| {yij},{zir },{xjc })= n i=1 m j=1 q k=1 R r=1 C c=1 zir xjc I(yij =k)log (θrck) + n i=1 R r=1 zir log (πr)+ m j=1 C c=1 xjc log (κc).(14) We estimate the MLEs from this expression by using the EM algorithm. In the E-step, the expected value of the first term is approximated using the variational approximation employed by Govaert and Nadif (2005) (see Appendix C for details). With the aim of ensuring a solution avoiding approximations, we use the resulting MLEs from the EM algorithm as starting points to numerically maximize the incomplete-data log-likelihood (12) (or (13)). We note that during the maximization a convenient transformation for the row and column membership parameters {πr}and {κc}is sr=logit(πr/R ℓ=rπℓ)for r=1,...,R−1 and qc=logit(κc/C ℓ=cκℓ)for c=1,...,C−1 respectively. This transformation means that the parameters srand qcare unconstrained, taking values over the whole real line. 3. Estimation of the parameters In this section, we develop a model fitting procedure using the EM algorithm (Dempster et al.,1977;McLachlan and Krishnan, 1997). One of the most common uses of the EM algorithm is in the case of the estimation of the parameters for a finite mixture-density model with incomplete data which in this case is the actual unknown cluster membership of each row and/or column. This method performs a fuzzy assignment of rows and/or columns to clusters based on the posterior probabilities. In this section, we develop this in detail for the case of clustering the rows but not the columns. It has a easy interpretation which helps explain of our methodology. The development for other two cases: clustering the columns but not the rows and biclustering are described in the Appendices B and C. 3.1. The expectation step (E-Step). Row clustering We apply the E-Step in the EM algorithm by considering the Zir as latent variables. In this manner, we use their a priori probabilities {πr}and the current values for the parameters so as to evaluate their expected values, Zir , which are the posterior probabilities that row iis a member of row group r. The conditional expectation of the complete data log-likelihood at iteration tcan be expressed as follows Q(Ω|Ω(t−1))=E{zir }|{yij},Ω(t−1)ℓc(Ω| {yij},{zir }) = n i=1 R r=1 log(π(t−1) r)Ezir | {yij},Ω(t−1) + n i=1 m j=1 q k=1 R r=1 I(yij =k)log θ(t−1) rjk Ezir | {yij},Ω(t−1).(15) The latent variable Zir is a Bernoulli random variable so that Ezir | {yij},Ω(t−1)=Pzir =1| {yij},Ω(t−1), and applying Bayes’ rule to this expression we obtain Z(t) ir =Pzir =1| {yij},Ω(t−1)=P{yij},Ω(t−1)|zir =1P(zir =1) R ℓ=1 P{yij},Ω(t−1)|ziℓ=1P(ziℓ=1) =π(t−1) r m j=1 q k=1 θ(t−1) rjk I(yij=k) R ℓ=1π(t−1) ℓ m j=1 q k=1 θ(t−1) ℓjk I(yij=k).(16)
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 7 This is the expected value of the latent variable Zir which defines the posterior probability that row iis in group ronce we have observed {yij}. Finally, we complete the E-step by substituting the previous expression in the complete data log-likelihood at the iteration texpressed in (15), Q(Ω|Ω(t−1))= n i=1 R r=1 Z(t) ir log(π(t−1) r)+ n i=1 m j=1 q k=1 R r=1 Z(t) ir I(yij =k)log θ(t−1) rjk .(17) 3.2. The maximization step (M-step). Row clustering The M-step of the EM algorithm is the global maximization of the previous expression (17) obtained in the E-step. For the case of finite mixture models, the updated estimation of the term containing the row-cluster proportions {π1,...πR} and the one containing the rest of the parameters Ωare computed independently. Thus, the M-step has two separate parts. Finally, the maximum-likelihood estimator for the parameter πrin the case that the indicator variables {Z1r,...,Znr } were observable is πr=1 n n i=1 zir ,r=1,...,R. However, the data zir are unobserved in our case. In that manner, we use their conditional expectation which we found in the E-step (16) to replace in the previous expression for the iteration t, π(t) r=1 n n i=1 Ezir | {yij},Ω(t−1)=1 n n i=1 Z(t) ir ,r=1,...,R.(18) To estimate the remaining parameters Ω, we must numerically maximize the conditional expectation of the complete data log-likelihood (15). In the case of row clustering, Ω=argmax Ωn i=1 m j=1 q k=1 R r=1 Zir I(yij =k)log θrjk, where the maximization is conditional on the constraints on the parameters. We repeat the two step iteration of the EM algorithm until convergence, that is until there is a small relative change in the likelihood between two consecutive iterations: ∥L(Ω(t+1)| {yij})−L(Ω(t)| {yij})∥ ∥L(Ω(t)| {yij})∥≈0. A disadvantage of mixture modeling is that the associated likelihood surface may be multimodal. A comprehensive search over different starting points is used to avoid finding only a local maximum. Particularly in our case, the iterative process is repeated 10 times with random starting points and the best MLE (those that lead to higher log-likelihood value) are kept. We have run experiments testing up to 100 random starting points and it was sufficient with 10 repetitions to avoid convergence to local optima. Finally, we have implemented the EM algorithm for the ordered stereotype model including clustering via finite mixtures and set up the simulation study by using the statistical package R2.15.1 (R Development Core Team, 2010). The maximization was carried out by using the quasi-Newton method provided as an option in optim(). 3.3. Reparametrization of the score parameters The increasing constraint that enforces the scores φ1, . . . , φqto be increasing in the stereotype model defined in (2) must be imposed during the estimation procedure. Such a constraint is complex to impose during optimization and hence for convenience we reparametrize φ1, . . . , φqas follows. We first set νk=logit(φk)for k=2,...,q−1, which implies that −∞ ≤ ν2≤ν3≤ · · · ≤ νq−1≤ ∞. We then set νk=νk−1+eukfor − ∞ <uk<∞,k=3,...,q−1. In that manner, our parameter vector {φ1=0, φ2, . . . , φq−1, φq=1}is replaced with {ν2,u3,...,uq−1}which has the same number of parameters but it is more convenient because the new parameter vector Rq−2is completely unconstrained. This makes the optimization process more straightforward. Once we find the MLEs of ν2,u3,...,uq−1, we can transform
8D. Fernández et al. / Computational Statistics and Data Analysis ( ) – back to the original set of parameters by φk= 0k=1 1 1+e−ν2k=2 expit logit(φ2)+ k ℓ=3 euℓk=3,...,q−1 1k=q, where expit(x)=(1+e−x)−1is the inverse of the logit function. 4. Model comparison 4.1. Introduction There are two main approaches to the comparison of a set of candidate likelihood-based models once they are fitted, in order to decide which one (or group of them) best approximates the (unknown) true model. One approach is to carry out a hypothesis test by using the likelihood ratio as a test statistic (LRT). Another approach uses information criteria which are based on a penalized form of the likelihood function where the penalty increases as the number of parameters in the model increases. Some of the most common information criteria measures are Akaike’s Information Criterion (AIC, Akaike, 1973), its small-sample modification (AICc,Akaike, 1973;Hurvich and Tsai, 1989;Burnham and Anderson, 2002), the Bayes’ Information Criterion (BIC, Schwarz, 1978) or its Integrated Classification Likelihood version (ICL-BIC, Biernacki et al., 1998). Unlike the LRT, information criteria quantify the differences in goodness of fit between a set of candidate likelihoodbased models (comparative measure of fit), but give no absolute measure of fit. The use of LRT is more computationally demanding than the information criteria because the LRT requires bootstrapping to obtain the p-value. This quantification of the significance is not assessed with the information criteria. However, the LRT does not lead to a suitable significance test in our approach. This occurs because regularity conditions do not hold for −2 log(LRT)to have its usual asymptotic distribution under the null hypothesis for mixture densities. Thus, model selection by LRT tends to overestimate the number of clusters (Stahl and Sallis, 2012). There has been a lot of published research to formulate theoretical results on the null distribution of the LRT for finite mixture model through simulation and bootstrapping studies (see the review in McLachlan and Peel, 2000, Section 6.5). One of the most common way may be using randomization tests (McLachlan,1987;Manly, 2007;Gotelli and Graves, 1996) to obtain the asymptotic null distribution. However, there is a lack of research on this topic focused on mixtures based on densities from ordinal variables and it might be a field to explore for future research. 4.2. Simulation study We set up a simulation study to empirically establish a relationship between our likelihood-based methodology for ordinal data and the performance of eleven information criteria in order to determine which was most reliable. We evaluate the following information criteria’s performances: AIC, AICc, BIC, ICL-BIC, AICu(McQuarrie et al., 1997), AIC3 (Bozdogan, 1994), CLC (Biernacki and Govaert, 1997), CAIC (Bozdogan, 1987), NEC (Biernacki et al., 1999), AWE (Banfield and Raftery, 1993) and L(Figueredo and Jain, 2002). Their definitions are given in Table 1. The results we are interested in are the percentage of simulated experiments where the eleven information criteria correctly determine the true number of row/column clusters in a set of diverse scenarios. The scenarios are determined by varying the sample size/subjects (n=50,100,500) and number of measures/questions (m=5,10). In addition, we made variations in the number of row clusters (R=2,3,4), column clusters (C=2,3,4) and the space between the q=4 score parameters {φk}. The five scenarios for {φk}may be described by: equal spacing between any pair of adjacent score parameters (Scenario 1), one pair of adjacent score parameters are very close in value (Scenario 2), one of the mixing cluster proportions is close to zero (Scenario 3), one pair of adjacent score parameters have the same value (Scenario 4), and the same as the first scenario but increasing the number of measures to m=10 (Scenario 5). All the parameters for each scenario in the row clustering and biclustering cases are shown in Tables D.10 and D.11 in Appendix D. For each scenario, we drew (h=100) data sets, and selected the best model for each data set using each information criterion. Therefore, we worked with a total of 4500 and 6000 data sets for row clustering and biclustering respectively. The EM algorithm to obtain the estimators is repeated 10 times with random starting points and the estimates with the highest likelihood are kept. Fig. 1 is a histogram displaying the percentage of cases in which each information criterion determines the true number of row clusters across the five scenarios and the factors used in the experimental control. The best performance was AIC (correctly selecting the number of row clusters in 93.8% of cases), followed by AICc(89.8%) and AICu(82.4%). In the case of biclustering, the results are very similar as AIC also performs the best, although with a lower percentage of correctly selecting the number of row and column clusters than the row clustering case (86.1%). AICcand AICualso perform very well with percentages close to AIC: 85.6% and 84.2% respectively. BIC is underestimating the number of clusters (incorrectly
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 15 Fig. 6. Histogram of the R=4 fitted student clusters {φ(i.)}from the row clustering version model. posterior probability. Different shade bars represent the row cluster to which the student is assigned according to the corresponding model. This average score (along the x-axis) is calculated in the following way. First, we compute the fitted response probabilities with the estimated parameters over the Rrow clusters and the qresponse categories, P[yij =k|i∈r] = exp(µk+ φk(αr+ βj)) q ℓ=1 exp(µℓ+ φℓ(αr+ βj)) ,i=1,...,n,j=1,...,m,k=1,...,q,r=1,...,R. From the previous probabilities, we can compute the weighted average over the qcategories for each row cluster φrj = q k=1 φkP[yij =k|i∈r],i=1,...,n,j=1,...,m,r=1,...,R. From here, we can calculate the mean response level of individual ito question j, conditional on its (fuzzy) allocation to the row clusters: φ(ij)= R r=1 zir φrj,i=1,...,n,j=1,...,m.(19) This is a numerical measure of the typical response to question jfor members of row group r, appropriately adjusting for the uneven spacing of the levels of the ordinal response. Finally, we determine the mean of the previous weighted averages over the mcolumns in order to get the average fitted scores of individual iacross all of the questions φ(i.)=1 m m j=1 φ(ij),i=1,...,n. Figs. 4–6 display these φ(i.)values for R=2, 3 and 4 clusters. Figs. 4 and 5respectively show two and three clearly distinguished groups. The histogram from Fig. 4 presents two modes and Fig. 5 shows two clear modes and one small mode located in the right-tale. However, Fig. 6 where four groups are fitted shows that the fourth group only includes two students and they are not clearly distinguished from the other three groups. These graphs illustrate the conclusion from AIC/AICcthat among the row clustering models, the model with three student groups is the best for our data. Figs. 7 and 8display the estimated probability θrk of a member of group rresponding at category level k(Eq. (5)). We might conclude that the students classified in the first group correspond to those with lowest opinion regarding the course, the ones in the second group have a more moderate opinion about the course and the students in the third group are those with more positive (though still heterogeneous) set of opinions. 5.2.2. Example 2: tree presences in Great Smoky Mountains We use a real data set from community ecology as a second example to illustrate our likelihood-based clustering method. The data set is regarding the distribution of 41 different tree species along 12 different site stations located at altitudes
16 D. Fernández et al. / Computational Statistics and Data Analysis ( ) – Fig. 7. R=3 student groups. The lines depict the probability for the category θrijk =Pyij =k|i∈r(see Eq. (5)) for each group rand the average over all students (black line). The percentage labeling is the estimated posteriori probability πrthat member of each group rwill respond to questions in each ordinal category (Eq. (18)). Fig. 8. R=3 student group profiles. The percentage represents the probability θrijk in each category (Eq. (5)). between 3500 and 4500 ft and sorted by moisture level (wetter to drier). The observations consist of percentage of total tree species present at each station and was presented in R.H. Whittaker’s study of vegetation of the Great Smoky Mountains (Whittaker, 1956, Table 3). The data set is reproduced in Table 8. The data include cells with a low but nonzero detection, at levels <0.5%. This missing data cause that the effective distances between the values do not reflect their interpretative distance. Thus, transformations may be required (Hennig and Liao, 2013) and that presents an appropriate opportunity to replace numerical data with an ordinal scale. In order to apply our model approach, we transform the original data {xij}regarding tree presence percentage to ordinal response categories setting yij = 0 if xij =0% 1 if 0% <xij ≤0.5% 2 if 0.5% <xij ≤1% 3 if 1% <xij ≤8% 4 if xij >8%
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 17 Table 8 Great Smoky Mountains data (Whittaker, 1956). Presence distribution of tree species along different site stations. All figures are percentages of total stems presence in station. Tree species Station number 1 2 3 4 5 6 7 8 9 10 11 12 Fangus grandifolia 10 5 1 1 1 – – – – – – – Ilex opaca – 1 – <0.5 – – – – – – – – Picea rubens –<0.5 – <0.5 <0.5 – – – – – – – Cornus alternifolia 1 1 – <0.5 <0.5 – – – – – – – Aesculus octandra 8 9 4 2 6 1 – – – – – – Tilia heterophylla 29 11 9 1 14 3 – – – – – – Acer spicatum – 16 11 – 17 1 – – – – – – Acer saccharum 17 7 1 1 5 1 – – – – – – Prunus serotina 2 1 – 1 <0.5 2 – – – – – – Fraxinus americana 1 1 – 1 1 <0.5 – – – – – – Betula allegheniensis 5 17 10 15 4 1 <0.5 – – – – – Magnolia acuminata –<0.5 – – <0.5 – 1 – – – – – Magnolia fraseri – – 20 4 1 – 1 – – – – – Tsuga canadensis 20 22 34 62 18 <0.5 <0.5 1 – – – – Halesia monticola 5 8 4 1 9 13 3 1 1 – – – Ilex montana 1<0.5 – 1 1 1 2 – – – – – Acer pensylvanicum 1<0.5 1 3 8 3 <0.5 1 – – – – Amelanchier laevis –<0.5 – <0.5 <0.5 – – – – – – – Quercus borealis – 1 – – 2 40 10 4 15 11 2 1 Acer rubrum – 1 – – 1 6 37 21 13 10 8 1 Prunus pensylvanica – – 2 – – – 1 – – – – – Betula lenta – – 1 4 4 1 2 2 – – – – Clethra acuminata – – – 1 <0.5 – – – – – – – Hamamelis virginiana – – – – 2 5 17 7 1 – 2 – Cornus florida – – – – 1 – <0.5 4 – – – – Liriodendron tulipifiera – – – – 2 – – 1 – <0.5 – – Rhododendron calendulaceum – – – – – 1 – 1 4 – – – Craya glabra – – – – – 4 <0.5 2 6 5 – – Carya tomentosa – – – – – – – 2 – – – – Carya ovalis – – – – – – – <0.5 – – – – Nyssa sylvatica – – 1 – – – 2 4 1 2 7 – Oxydendrum arboreum – – <0.5 1 – 1 3 8 14 16 1 1 Castanea dentata – – – – 2 5 7 9 10 12 1 – Sassafras albidum – – – – – 1 1 1 1 4 <0.5 – Quercus alba – – – – – 2 1 8 24 10 <0.5 – Robinia pseudoacacia – – – – – 4 5 1 3 8 3 <0.5 Quercus prinus – – – – – 3 4 15 4 16 11 1 Quercus veluntina – – – – – – <0.5 <0.5 1 1 – – Quercus coccinea – – – – – – 1 – – – – 1 Pinus rigida – – – – – – – 7 1 1 11 46 Pinus pungens – – – – – – – – 1 4 54 49 Table 9 Frequencies of tree presence percentage by station number, in ordinal scale. Ordinal scale 0 1 2 3 4 Tree presence No data recorded ≤0.5% ≤1% ≤8% >8% Frequency (xij)285 30 68 65 44 based on an equitable frequency percentage for each category. Table 9 summarizes the frequencies of tree presence data for this new ordinal scale with 5 categories. Apart from the first category, which is for sites and tree species without presences recorded, the categories with the highest frequencies are 2 and 3 (tree presence percentages between 0.5% and 8%). Here it is important to remark that we defined another ordinal scale with six categories in the beginning of the data analysis. The current category 3 was split in two subcategories (from 1% to 2% and from 2% to 8%) in that former ordinal scale. However, models fitted to these data indicated that the corresponding estimated score parameters φkfor those two adjacent categories were very close to each other. If φk=φk+1then the adjacent category logit between those two categories, say k and k+1 is log Pyij =k+1|i∈r Pyij =k|i∈r=(µk+1−µk)+(φk+1−φk)(αr+βj+γrj) =µk+1−µk.
18 D. Fernández et al. / Computational Statistics and Data Analysis ( ) – Fig. 9. R=3 tree presence groups. The lines depict the probability for the category θrijk =Pyij =k|i∈r(see Eq. (5)) for each group rand the average over all students (black line). The percentage labeling is the estimated posteriori probability πrthat member of each group rwill respond to questions in each ordinal category (Eq. (18)). Fig. 10. R=3 tree presence profiles. The percentages represent the probability θrk in each category (Eq. (5)). This implies that the relative frequencies in these two categories are independent of the clustering structure. Therefore retaining the distinction between kand k+1 is not informative about the clustering structure. In that case, the model still holds with the same scores if the ordinal scale is collapsed by combining those two adjacent categories into one single response category. Since we regard the {µk}as nuisance parameters, this collapsing does not limit our inference in any way. However, they should not be collapsed if keeping the original ordinal categories entails an ecological interest. Therefore, the dimensions of the data matrix Ywith the responses are n=41 tree species and m=12 site stations where each observation can take one of the 5 possible categories described above. After fitting a complete set of models and comparing them by using information criteria (see the summarized results in Table G.19 in Appendix G), the selected model (either using AIC or AICc) was the stereotype model version including row clustering with R=3 row groups and with interaction factors (µk+φk(αr+βj+γrj)). Figs. 9 and 10 show the profiles for the three resultant row clusters. For instance, Fig. 9 depicts that the highest probability for the row cluster number 3 (showed with a line with diamond symbols) is in ordinal category 3 and Fig. 10 shows a first set of bars where the highest
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 19 probabilities are in the categories with tree presence below 1%. Therefore, tree species classified in the first row group are those with a lower level of presence. 6. Discussion We have introduced a set of likelihood models based on the ordinal stereotype model and have introduced fuzzy clustering via finite mixtures in order to reduce the dimensionality of the problem and simplify the interpretation. Furthermore, we have described a procedure to derive the maximum likelihood estimators of the parameters of the suite of developed models by using the EM algorithm. Computation can be slow in this stage, though we have substantially reduced the time required by calling Cfrom R. In addition, we have tested model comparison setting up a simulation study conducted a study in which the results show that AIC, AICcand AICuare consistent information criteria to score fitted models based on our likelihood-based finite mixture model approach for ordinal data sets. In particular, AIC performs best among the tested information criteria to select the model with the correct number of clusters in a wide range of scenarios. Finally, we have demonstrated our approach by means of two examples with real data and have tested the reliability of our methodology through a simulation study. We have detected that there is an indication of multimodality of the likelihood surface in the column clustering model. A strategy to deal with this is to implement a convergence strategy where several starting values are tested over the parameter vector in order to obtain the global maximum. There are numerous applications for these likelihood-based clustering models in fields where multivariate techniques are necessary. The advantage of our approach is its likelihood-based foundation because maximum likelihood theory provides estimators and model selection. Many count or percentage data sets have extreme variabilities, for example very high counts and very low counts in ecological community data. Replacing these high counts with ‘‘medium’’ and ‘‘high’’ ordinal categories makes the actual counts less influential in the model fitting, giving broad categories which enable us to detect major overall patterns. This approach can be enriched adding covariates if they are available. As the mixture models have an unknown number of components, a Bayesian approach implementing a reversible jump MCMC sampler is also feasible (cf. Arnold et al., 2010). Another possible future interesting development might be to assume random effects for indicated row and column effects (αior βj) to reduce the number of unknown parameters. We have considered the case where responses in each column have the same number of ordinal response levels. This could be varied but may require a separate set of parameters {µjk}and {φjk}. An important future development would be new data visualization methods for finite mixtures models based on the stereotype model. In Figs. 7–10 we have displayed the different group profiles using {φ(i.)}from the data. New visualization tools may lead to the generation of new hypotheses in data exploration and the identification of patterns in the data. Output from these models allows us to determine a new spacing of the ordinal categories, dictated by the data. This will lead to more informative visualization, for example with the equal spacing of categories along the x-axis in Figs. 9 and 10 replaced with the more appropriate spacing determined by the fitted parameter values. The estimation of the spacing among ordinal responses in our methodology is an improvement over other ordinal data models such as proportional odds model and continuation-ratio model although more research in performance comparison with others equivalent methods is needed. Finally, another research direction to explore would be to compare clustering structures resulting from our methodology with those with binary, count or continuous data. In particular for data sets which original data is not ordinal and we apply transformations like in the Example 2 (Section 5.2.2). Acknowledgments The authors are sincerely grateful to Dr. Ivy Liu and Dr. Eleni Matechou for making many valuable suggestions and stimulating discussions about this work. We are grateful to two referees and an associate editor for helpful comments and references. Daniel Fernández acknowledges Victoria University of Wellington for providing financial support through Victoria Doctoral Scholarship program. Appendix A. Response probabilities in the ordered stereotype model In this appendix, we describe the relationship between models (3) and (4), which were formulated in Section 2.2. From Eq. (4) with the linear predictor including the covariates and q k=1Pyij =k|x=1, we calculate Pyij =1|x1+ q ℓ=2 exp(µℓ+φℓδ′x)=1. As µ1=φ1=0 for identifiability reasons, then Pyij =1|x=1 q ℓ=1 exp(µℓ+φℓδ′x) .(A.1) Therefore, Eq. (3) can be obtained from (4) just using the above expression (A.1) for Pyij =1|x.
20 D. Fernández et al. / Computational Statistics and Data Analysis ( ) – Table D.10 Parameter configuration for 5 tested scenarios in the row clustering case. Scenario 1 Scenario 2 Scenario 3 Scenario 4 Scenario 5 m=5m=5m=5m=5m=10 R=2 π1=0.450 π1=0.450 π1=0.950 π1=0.450 π1=0.450 µ2=0.814 µ2=0.814 µ2=0.814 µ2=0.814 µ2=0.814 µ3=0.951 µ3=0.951 µ3=0.951 µ3=0.951 µ3=0.951 µ4=0.207 µ4=0.207 µ4=0.207 µ4=0.207 µ4=0.207 φ2=0.335 φ2=0.335 φ2=0.335 φ2=0.500 φ2=0.335 φ3=0.662 φ3=0.972 φ3=0.662 φ3=0.500 φ3=0.662 α1=1.634 α1=1.634 α1=1.634 α1=1.634 α1=1.634 β1= −0.427 β1= −0.427 β1= −0.427 β1= −0.427 β1= −0.427 β2=1.285 β2=1.285 β2=1.285 β2=1.285 β2=1.285 β3=1.872 β3=1.872 β3=1.872 β3=1.872 β3=1.872 β4= −0.097 β4= −0.097 β4= −0.097 β4= −0.097 β4= −0.097 R=3 π1=0.200 π1=0.200 π1=0.470 π1=0.200 π1=0.200 π2=0.500 π2=0.500 π2=0.050 π2=0.500 π2=0.500 µ2=0.814 µ2=0.814 µ2=0.814 µ2=0.814 µ2=0.814 µ3=0.951 µ3=0.951 µ3=0.951 µ3=0.951 µ3=0.951 µ4=0.207 µ4=0.207 µ4=0.207 µ4=0.207 µ4=0.207 φ2=0.335 φ2=0.335 φ2=0.335 φ2=0.500 φ2=0.335 φ3=0.662 φ3=0.972 φ3=0.662 φ3=0.500 φ3=0.662 α1=3.634 α1=3.634 α1=3.634 α1=3.634 α1=3.634 α2= −0.819 α2= −0.819 α2= −0.819 α2= −0.819 α2= −0.819 β1= −0.427 β1= −0.427 β1= −0.427 β1= −0.427 β1= −0.427 β2=1.285 β2=1.285 β2=1.285 β2=1.285 β2=1.285 β3=1.872 β3=1.872 β3=1.872 β3=1.872 β3=1.872 β4= −0.097 β4= −0.097 β4= −0.097 β4= −0.097 β4= −0.097 R=4 π1=0.150 π1=0.150 π1=0.310 π1=0.150 π1=0.150 π2=0.300 π2=0.300 π2=0.050 π2=0.300 π2=0.300 π3=0.250 π3=0.250 π3=0.320 π3=0.250 π3=0.250 µ2=0.814 µ2=0.814 µ2=0.814 µ2=0.814 µ2=0.814 µ3=0.951 µ3=0.951 µ3=0.951 µ3=0.951 µ3=0.951 µ4=0.207 µ4=0.207 µ4=0.207 µ4=0.207 µ4=0.207 φ2=0.335 φ2=0.335 φ2=0.335 φ2=0.500 φ2=0.335 φ3=0.662 φ3=0.972 φ3=0.662 φ3=0.500 φ3=0.662 α1=3.634 α1=3.634 α1=3.634 α1=3.634 α1=3.634 α2= −0.819 α2= −0.819 α2= −0.819 α2= −0.819 α2= −0.819 α3=2.911 α3=2.911 α3=2.911 α3=2.911 α3=2.911 β1= −0.427 β1= −0.427 β1= −0.427 β1= −0.427 β1= −0.427 β2=1.285 β2=1.285 β2=1.285 β2=1.285 β2=1.285 β3=1.872 β3=1.872 β3=1.872 β3=1.872 β3=1.872 β4= −0.097 β4= −0.097 β4= −0.097 β4= −0.097 β4= −0.097 Notes: µ1=0, φ1=0, φ4=1 for all the scenarios. β5=2.20, β6=3.00, β7= −2.00, β8=3.90 and β9= −3.50 in Scenario 5. Appendix B. EM algorithm formulae. Column clustering In Section 3, we described the model fitting procedure for the row clustering case. In this appendix, the fitting procedure is formulated for the case of column clustering. The latent variable relating to the missing information for the actual membership of the columns is Xjc . The posterior probabilities of membership once we have observed the data {yij}are Xjc and the set of a priori probabilities are {κc}.Ωis the parameter vector for the case of column clustering. For the M-step, we use the sum-to-zero constraints on each row and column of the γiteration matrix and on the column effect parameters {βc}(cβc=0)in order to avoid identifiability problems. The column clustering model-specific formulae of EM-algorithm follow. E-step: X(t) jc =κ(t−1) c n i=1 q k=1 θ(t−1) ick I(yij=k) C ℓ=1κ(t−1) ℓ n i=1 q k=1 θ(t−1) iℓkI(yij=k) and Q(Ω|Ω(t−1))= m j=1 C c=1 X(t) jc log(κ(t−1) c)+ n i=1 m i=1 q k=1 C c=1 X(t) jc I(yij =k)log θ(t−1) ick .
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 21 Table D.11 Parameter configuration for 5 tested scenarios in the biclustering case. Scenario 1 Scenario 2 Scenario 3 Scenario 4 Scenario 5 m=5m=5m=5m=5m=10 R=2,C=2 π1=0.450 π1=0.450 π1=0.450 π1=0.450 π1=0.450 κ1=0.450 κ1=0.450 κ1=0.950 κ1=0.450 κ1=0.450 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 φ2=0.335 φ2=0.335 φ2=0.335 φ2=0.500 φ2=0.335 φ3=0.672 φ3=0.972 φ3=0.672 φ3=0.500 φ3=0.672 α1=1.634 α1=1.634 α1=1.634 α1=1.634 α1=1.634 β1=0.777 β1=0.777 β1=0.777 β1=0.777 β1=0.777 R=2,C=3 π1=0.450 π1=0.450 π1=0.450 π1=0.450 π1=0.450 κ1=0.200 κ1=0.200 κ1=0.470 κ1=0.200 κ1=0.200 κ2=0.500 κ2=0.500 κ2=0.050 κ2=0.500 κ2=0.500 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 φ2=0.335 φ2=0.335 φ2=0.335 φ2=0.500 φ2=0.335 φ3=0.672 φ3=0.972 φ3=0.672 φ3=0.500 φ3=0.672 α1=1.634 α1=1.634 α1=1.634 α1=1.634 α1=1.634 β1= −2.128 β1= −2.128 β1= −2.128 β1= −2.128 β1= −2.128 β2=3.212 β2=3.212 β2=3.212 β2=3.212 β2=3.212 R=3,C=2 π1=0.200 π1=0.200 π1=0.200 π1=0.200 π1=0.200 π2=0.500 π2=0.500 π2=0.500 π2=0.500 π2=0.500 κ1=0.450 κ1=0.450 κ1=0.950 κ1=0.450 κ1=0.450 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 φ2=0.335 φ2=0.335 φ2=0.335 φ2=0.500 φ2=0.335 φ3=0.672 φ3=0.972 φ3=0.672 φ3=0.500 φ3=0.672 α1=1.634 α1=1.634 α1=1.634 α1=1.634 α1=1.634 α2=3.251 α2=3.251 α2=3.251 α2=3.251 α2=3.251 β1=0.777 β1=0.777 β1=0.777 β1=0.777 β1=0.777 R=3,C=3 π1=0.200 π1=0.200 π1=0.200 π1=0.200 π1=0.200 π2=0.500 π2=0.500 π2=0.500 π2=0.500 π2=0.500 κ1=0.200 κ1=0.200 κ1=0.47 κ1=0.20 κ1=0.200 κ2=0.500 κ2=0.500 κ2=0.050 κ2=0.500 κ2=0.500 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ2=0.914 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ3=0.511 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 µ4=0.107 φ2=0.335 φ2=0.335 φ2=0.335 φ2=0.500 φ2=0.335 φ3=0.672 φ3=0.972 φ3=0.672 φ3=0.500 φ3=0.672 α1=1.634 α1=1.634 α1=1.634 α1=1.634 α1=1.634 α2=3.251 α2=3.251 α2=3.251 α2=3.251 α2=3.251 β1= −2.128 β1= −2.128 β1= −2.128 β1= −2.128 β1= −2.128 β2=3.212 β2=3.212 β2=3.212 β2=3.212 β2=3.212 Notes: µ1=0, φ1=0, φ4=1 for all the scenarios. M-step: κ(t) c=1 m m j=1 κ(t−1) c n i=1 q k=1 θ(t−1) ick I(yij=k) C l=1κ(t−1) l n i=1 q k=1 θ(t−1) ilk I(yij=k) and max Ωn i=1 m j=1 q k=1 C c=1 Xjc I(yij =k)log θick, conditional on the identifiability constraints on the parameters. Appendix C. EM algorithm formulae. Biclustering In Section 3, we described the model fitting procedure for the row clustering case. In this appendix, the fitting procedure is formulated for the case of biclustering.
22 D. Fernández et al. / Computational Statistics and Data Analysis ( ) – Table E.12 Simulation study (Section 5.1). Estimated score parameters for stereotype model including row clustering µk+φk(αr+βj+γrj ). MLEs and their standard errors from the score and row membership parameters ({φk},{πr}) for different number of row clusters Rand sample sizes nare shown. RNumpar True param. n=200 n=500 n=1000 n=5000 Mean S.E. Mean S.E. Mean S.E. Mean S.E. 2 15 φ2=0.335 0.324 0.235 0.336 0.140 0.337 0.098 0.336 0.044 φ3=0.672 0.655 0.206 0.674 0.123 0.672 0.087 0.671 0.038 π1=0.550 0.556 0.063 0.542 0.035 0.550 0.024 0.554 0.010 3 21 φ2=0.335 0.372 0.236 0.321 0.142 0.331 0.100 0.339 0.069 φ3=0.672 0.709 0.165 0.668 0.102 0.678 0.074 0.675 0.052 π1=0.200 0.201 0.091 0.219 0.015 0.172 0.008 0.202 0.007 π2=0.500 0.353 0.148 0.487 0.114 0.451 0.031 0.491 0.015 4 27 φ2=0.335 0.373 0.236 0.374 0.144 0.348 0.093 0.345 0.049 φ3=0.672 0.727 0.167 0.771 0.095 0.692 0.070 0.682 0.031 π1=0.200 0.084 0.129 0.099 0.118 0.179 0.101 0.181 0.059 π2=0.350 0.327 0.201 0.401 0.141 0.334 0.128 0.346 0.022 π3=0.230 0.196 0.181 0.259 0.128 0.179 0.099 0.214 0.059 5 33 φ2=0.335 0.323 0.243 0.374 0.154 0.335 0.102 0.335 0.073 φ3=0.672 0.698 0.152 0.744 0.097 0.684 0.071 0.675 0.050 π1=0.200 0.151 0.128 0.214 0.107 0.212 0.051 0.209 0.003 π2=0.120 0.114 0.155 0.136 0.121 0.128 0.061 0.121 0.003 π3=0.230 0.210 0.186 0.224 0.130 0.228 0.057 0.234 0.008 π4=0.300 0.462 0.198 0.440 0.157 0.388 0.111 0.311 0.011 6 39 φ2=0.335 0.442 0.238 0.404 0.147 0.333 0.103 0.346 0.071 φ3=0.672 0.741 0.166 0.766 0.106 0.709 0.075 0.680 0.056 π1=0.150 0.181 0.172 0.167 0.121 0.131 0.081 0.138 0.012 π2=0.300 0.182 0.155 0.221 0.091 0.225 0.058 0.227 0.009 π3=0.100 0.091 0.161 0.081 0.102 0.087 0.077 0.093 0.014 π4=0.200 0.246 0.139 0.166 0.081 0.194 0.044 0.194 0.005 π5=0.150 0.235 0.166 0.191 0.118 0.178 0.099 0.165 0.012 The latent variables relating to the missing information for the actual membership of the rows and columns are Zir and Xjc respectively. The posterior probabilities of membership once we have observed the data {yij}are Zir for the rows and Xjc for the columns. The set of a priori probabilities are {πr}(rows) and {κc}(columns). Ωis the parameter vector for the case of biclustering. For the M-step, we use the sum-to-zero constraints on each row and column of the γiteration matrix and on row effect parameters {αr}and column effect parameters {βc}(rαr=cβc=0)in order to avoid identifiability problems. The biclustering model-specific formulae of EM-algorithm follow (see the detailed formulation of the biclustering model by Pledger and Arnold, 2014). E-step: Z(t) ir =π(t−1) r m j=1 q k=1C c=1κc θ(t−1) rck I(yij=k) R ℓ=1π(t−1) ℓ m j=1 q k=1C c=1κc θ(t−1) ℓck I(yij=k) and X(t) jc =κ(t−1) c n i=1 q k=1R r=1πr θ(t−1) rck I(yij=k) C ℓ=1κ(t−1) ℓ n i=1 q k=1R r=1πr θ(t−1) rℓkI(yij=k). The E-step of the EM algorithm calls for the expected value of the complete data log-likelihood taking into account the fact that the only data unknown is {zir }and {xjc }conditional on the observed data {yij}: Q(Ω|Ω(t−1))= n i=1 R r=1 log π(t−1) rEzir | {yij},Ω(t−1)+ m j=1 C c=1 log κ(t−1) cExjc | {yij},Ω(t−1) + n i=1 m j=1 q k=1 R r=1 C c=1 I(yij =k)log θ(t−1) rck Ezir xjc | {yij},Ω(t−1).
D. Fernández et al. / Computational Statistics and Data Analysis ( ) – 23 Table E.13 Simulation study (Section 5.1). Estimated score parameters for stereotype model including biclustering µk+φk(αr+βc+γrc ). MLEs and their standard errors from the score, row and column membership parameters ({φk},{πr},{κc}) for different number of row and column clusters Rand Cand sample sizes nare shown. R C Numpar True param. n=25 n=50 n=100 Mean S.E. Mean S.E. Mean S.E. 2 2 10 φ2=0.335 0.383 0.304 0.346 0.178 0.339 0.138 φ3=0.672 0.705 0.260 0.699 0.232 0.678 0.118 π1=0.600 0.604 0.173 0.583 0.107 0.601 0.078 κ1=0.400 0.366 0.178 0.407 0.097 0.402 0.076 2 3 13 φ2=0.335 0.391 0.325 0.342 0.183 0.337 0.140 φ3=0.672 0.696 0.294 0.659 0.197 0.669 0.099 π1=0.600 0.628 0.188 0.591 0.087 0.604 0.061 κ1=0.400 0.412 0.171 0.398 0.102 0.400 0.088 κ2=0.200 0.189 0.168 0.201 0.094 0.199 0.059 3 2 13 φ2=0.335 0.298 0.299 0.341 0.131 0.336 0.111 φ3=0.672 0.713 0.297 0.693 0.166 0.675 0.109 π1=0.300 0.288 0.176 0.304 0.101 0.303 0.077 π2=0.400 0.371 0.163 0.388 0.099 0.397 0.065 κ1=0.400 0.421 0.181 0.401 0.137 0.400 0.111 3 3 17 φ2=0.335 0.401 0.313 0.388 0.201 0.347 0.131 φ3=0.672 0.701 0.277 0.669 0.181 0.671 0.093 π1=0.300 0.325 0.182 0.312 0.106 0.304 0.066 π2=0.400 0.371 0.178 0.381 0.101 0.397 0.071 κ1=0.400 0.384 0.157 0.398 0.092 0.402 0.063 κ2=0.200 0.219 0.148 0.210 0.104 0.195 0.061 Table E.14 Simulation study (Section 5.1). Estimated score parameters for stereotype model including row clustering µk+φk(αr+βj+γrj )when φ2=φ3or π2is small. MLEs and their standard errors from the score and row membership parameters ({φk},{πr}) for different number of row clusters Rand sample sizes nare shown. RNumpar True param. n=200 n=500 n=1000 n=5000 Mean S.E. Mean S.E. Mean S.E. Mean S.E. 2 15 φ2=0.500 0.492 0.221 0.483 0.131 0.501 0.091 0.498 0.041 φ3=0.500 0.524 0.089 0.502 0.056 0.511 0.036 0.503 0.017 π1=0.550 0.595 0.060 0.572 0.036 0.525 0.027 0.551 0.011 3 21 φ2=0.500 0.495 0.217 0.484 0.133 0.492 0.093 0.498 0.040 φ3=0.500 0.525 0.456 0.504 0.256 0.509 0.146 0.511 0.094 π1=0.200 0.202 0.097 0.180 0.013 0.171 0.010 0.203 0.009 π2=0.500 0.495 0.140 0.512 0.087 0.504 0.040 0.453 0.012 4 27 φ2=0.500 0.498 0.212 0.520 0.083 0.517 0.067 0.506 0.055 φ3=0.500 0.545 0.242 0.491 0.116 0.524 0.063 0.513 0.025 π1=0.200 0.196 0.165 0.188 0.102 0.193 0.058 0.197 0.016 π2=0.350 0.416 0.181 0.406 0.125 0.373 0.042 0.375 0.012 π3=0.230 0.240 0.262 0.285 0.163 0.249 0.021 0.280 0.009 3 21 φ2=0.335 0.332 0.228 0.336 0.096 0.334 0.068 0.341 0.047 φ3=0.672 0.666 0.207 0.674 0.088 0.661 0.064 0.682 0.045 π1=0.400 0.344 0.052 0.419 0.031 0.414 0.018 0.422 0.012 π2=0.015 0.010 0.123 0.024 0.065 0.012 0.042 0.019 0.026 The expectations in the former two terms are simply Zir and Xjc . However, the lack of a posteriori independence of the {zir } and {xjc }makes the evaluation of Ezir xjc | {yij},Ωcomputationally expensive as it requires a sum either over all possible allocations of rows to row groups, or over all possible allocations of columns to column groups. The variational approximation employed by Govaert and Nadif (2005) is a solution to this problem: Ezir xjc | {yij},Ω≃Ezir | {yij},ΩExjc | {yij},Ω= Zir Xjc . In that manner, the E-step of the EM algorithm is approximated as: Q(Ω|Ω(t−1))= n i=1 R r=1 Zir log π(t−1) r+ m j=1 C c=1 Xjc log κ(t−1) c + n i=1 m j=1 q k=1 R r=1 C c=1 Zir Xjc I(yij =k)log θ(t−1) rck .(C.1)
24 D. Fernández et al. / Computational Statistics and Data Analysis ( ) – Table E.15 Simulation study (Section 5.1). Estimated score parameters for stereotype model including column clustering µk+φk(αi+βc+γic )when φ2=φ3or κ2is small and m=15. MLEs and their standard errors from the score and column membership parameters ({φk},{κc}) for different number of column clusters C, number of columns mand sample sizes nare shown. CTrue param. n=25 n=50 Numpar Mean S.E. Numpar Mean S.E. 2 φ2=0.700 31 0.776 0.100 56 0.706 0.056 φ3=0.700 0.882 0.111 0.856 0.076 κ1=0.400 0.382 0.121 0.409 0.097 3 φ2=0.700 33 0.761 0.123 58 0.734 0.068 φ3=0.700 0.796 0.111 0.768 0.056 κ1=0.400 0.411 0.105 0.423 0.045 κ2=0.200 0.176 0.077 0.200 0.035 3 φ2=0.335 33 0.328 0.209 58 0.362 0.080 φ3=0.672 0.713 0.157 0.633 0.140 κ1=0.400 0.401 0.170 0.373 0.086 κ2=0.015 0.026 0.149 0.027 0.084 Table E.16 Simulation study (Section 5.1). Estimated score parameters for stereotype model including biclustering µk+φk(αr+βc+γrc )when φ2=φ3or π2and κ2are small. MLEs and their standard errors from the score, row and column membership parameters ({φk},{πr},{κc}) for different number of row and column clusters Rand Cand sample sizes nare shown. R C Numpar True param. n=25 n=50 n=100 Mean S.E. Mean S.E. Mean S.E. 2 2 10 φ2=0.500 0.477 0.361 0.507 0.164 0.522 0.141 φ3=0.500 0.602 0.388 0.593 0.208 0.529 0.174 π1=0.600 0.573 0.273 0.540 0.110 0.638 0.103 κ1=0.400 0.367 0.289 0.406 0.168 0.401 0.062 2 3 13 φ2=0.500 0.659 0.346 0.620 0.141 0.539 0.078 φ3=0.500 0.664 0.281 0.612 0.205 0.629 0.088 π1=0.600 0.514 0.284 0.689 0.149 0.670 0.146 κ1=0.400 0.363 0.401 0.410 0.188 0.358 0.089 κ2=0.200 0.253 0.311 0.249 0.142 0.237 0.029 3 2 13 φ2=0.500 0.628 0.247 0.429 0.164 0.544 0.065 φ3=0.500 0.651 0.230 0.576 0.137 0.546 0.060 π1=0.300 0.297 0.225 0.278 0.136 0.268 0.037 π2=0.400 0.408 0.228 0.409 0.130 0.362 0.059 κ1=0.400 0.482 0.285 0.418 0.143 0.409 0.088 3 3 17 φ2=0.500 0.404 0.210 0.497 0.106 0.447 0.036 φ3=0.500 0.563 0.212 0.558 0.110 0.518 0.039 π1=0.300 0.340 0.127 0.317 0.045 0.307 0.014 π2=0.400 0.358 0.149 0.396 0.105 0.385 0.014 κ1=0.400 0.458 0.141 0.382 0.108 0.399 0.016 κ2=0.200 0.239 0.085 0.219 0.076 0.204 0.013 2 3 13 φ2=0.335 0.390 0.320 0.338 0.141 0.301 0.057 φ3=0.672 0.760 0.271 0.620 0.107 0.642 0.080 π1=0.400 0.382 0.142 0.488 0.100 0.423 0.090 κ1=0.400 0.457 0.136 0.479 0.185 0.402 0.079 κ2=0.015 0.013 0.089 0.014 0.064 0.018 0.018 3 2 13 φ2=0.335 0.326 0.223 0.356 0.156 0.332 0.076 φ3=0.672 0.691 0.307 0.618 0.146 0.613 0.079 π1=0.400 0.463 0.180 0.373 0.068 0.397 0.024 π2=0.015 0.028 0.194 0.019 0.078 0.020 0.055 κ1=0.400 0.403 0.113 0.385 0.070 0.408 0.033 3 3 17 φ2=0.335 0.386 0.256 0.320 0.125 0.331 0.063 φ3=0.672 0.685 0.221 0.631 0.140 0.674 0.080 π1=0.400 0.391 0.170 0.311 0.098 0.415 0.068 π2=0.015 0.025 0.159 0.021 0.079 0.017 0.043 κ1=0.400 0.445 0.188 0.386 0.079 0.398 0.038 κ2=0.015 0.019 0.130 0.014 0.043 0.022 0.015