
TL;DR
This paper introduces a novel factor analysis method for discrete and ordinal data using dependent and truncated Poisson models, employing model selection and simulation to evaluate accuracy.
Contribution
It proposes a new factor analysis approach tailored for discrete data, including ordinal data, with model selection and theoretical analysis of model probabilities.
Findings
Successfully fits factor models to discrete data
Demonstrates effectiveness through simulation and empirical studies
Provides asymptotic probability insights for model selection
Abstract
In this paper, we present a method for factor analysis of discrete data. This is accomplished by fitting a dependent Poisson model with a factor structure. To be able to analyze ordinal data, we also consider a truncated Poisson distribution. We try to find the model with the lowest AIC by employing a forward selection procedure. The probability to find the correct model is investigated in a simulation study. Moreover, we heuristically derive the corresponding asymptotic probabilities. An empirical study is also included.
| model | test all | selection | test all | selection | test all | selection | |
|---|---|---|---|---|---|---|---|
| (5) | 0.97 | 0.97 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| (4,1) | 0.93 | 0.91 | 0.99 | 0.99 | 1.00 | 1.00 | 1.00 |
| (3,2) | 0.79 | 0.78 | 0.98 | 0.98 | 1.00 | 1.00 | 1.00 |
| (3,1,1) | 0.76 | 0.76 | 0.90 | 0.90 | 0.92 | 0.92 | 0.92 |
| (2,2,1) | 0.62 | 0.62 | 0.90 | 0.90 | 0.99 | 0.99 | 1.00 |
| (2,1,1,1) | 0.49 | 0.51 | 0.66 | 0.68 | 0.74 | 0.76 | 0.78 |
| (1,1,1,1,1) | 0.30 | 0.39 | 0.32 | 0.42 | 0.33 | 0.42 | 0.44 |
| model | test all | selection | test all | selection | test all | selection | |
|---|---|---|---|---|---|---|---|
| (5) | 0.44 | 0.45 | 0.77 | 0.77 | 0.96 | 0.96 | 1.00 |
| (4,1) | 0.39 | 0.36 | 0.69 | 0.67 | 0.92 | 0.91 | 1.00 |
| (3,2) | 0.19 | 0.18 | 0.42 | 0.40 | 0.76 | 0.75 | 1.00 |
| (3,1,1) | 0.31 | 0.28 | 0.54 | 0.52 | 0.76 | 0.76 | 0.92 |
| (2,2,1) | 0.12 | 0.12 | 0.27 | 0.27 | 0.56 | 0.56 | 1.00 |
| (2,1,1,1) | 0.19 | 0.21 | 0.31 | 0.33 | 0.48 | 0.50 | 0.78 |
| (1,1,1,1,1) | 0.31 | 0.38 | 0.33 | 0.41 | 0.34 | 0.42 | 0.44 |
| model | ||||
|---|---|---|---|---|
| (7) | 0.97 | 1.00 | 1.00 | 1.00 |
| (6,1) | 0.94 | 1.00 | 1.00 | 1.00 |
| (5,2) | 0.81 | 0.97 | 0.99 | 1.00 |
| (5,1,1) | 0.84 | 0.92 | 0.91 | 0.92 |
| (4,3) | 0.82 | 0.97 | 0.99 | 1.00 |
| (4,2,1) | 0.70 | 0.93 | 0.99 | 1.00 |
| (4,1,1,1) | 0.65 | 0.75 | 0.77 | 0.78 |
| (3,3,1) | 0.73 | 0.95 | 0.99 | 1.00 |
| (3,2,2) | 0.64 | 0.96 | 1.00 | 1.00 |
| (3,2,1,1) | 0.54 | 0.82 | 0.91 | 0.92 |
| (3,1,1,1,1) | 0.43 | 0.56 | 0.59 | 0.61 |
| (2,2,2,1) | 0.45 | 0.83 | 0.98 | 1.00 |
| (2,2,1,1,1) | 0.33 | 0.60 | 0.74 | 0.78 |
| (2,1,1,1,1,1) | 0.22 | 0.35 | 0.41 | 0.44 |
| (1,1,1,1,1,1,1) | 0.13 | 0.16 | 0.16 | 0.18 |
| model | ||||
|---|---|---|---|---|
| (7) | 0.93 | 1.00 | 1.00 | 1.00 |
| (6,1) | 0.87 | 0.99 | 1.00 | 1.00 |
| (5,2) | 0.69 | 0.94 | 0.99 | 1.00 |
| (5,1,1) | 0.74 | 0.90 | 0.92 | 0.92 |
| (4,3) | 0.69 | 0.93 | 0.99 | 1.00 |
| (4,2,1) | 0.55 | 0.88 | 0.97 | 1.00 |
| (4,1,1,1) | 0.55 | 0.73 | 0.76 | 0.78 |
| (3,3,1) | 0.60 | 0.91 | 0.98 | 1.00 |
| (3,2,2) | 0.48 | 0.89 | 1.00 | 1.00 |
| (3,2,1,1) | 0.41 | 0.75 | 0.90 | 0.92 |
| (3,1,1,1,1) | 0.34 | 0.54 | 0.56 | 0.61 |
| (2,2,2,1) | 0.31 | 0.73 | 0.96 | 1.00 |
| (2,2,1,1,1) | 0.24 | 0.51 | 0.70 | 0.78 |
| (2,1,1,1,1,1) | 0.18 | 0.32 | 0.37 | 0.44 |
| (1,1,1,1,1,1,1) | 0.14 | 0.14 | 0.16 | 0.18 |
| model | ||||
|---|---|---|---|---|
| (7) | 0.50 | 0.87 | 0.98 | 1.00 |
| (6,1) | 0.37 | 0.79 | 0.97 | 1.00 |
| (5,2) | 0.27 | 0.66 | 0.94 | 1.00 |
| (5,1,1) | 0.35 | 0.67 | 0.88 | 0.92 |
| (4,3) | 0.29 | 0.66 | 0.94 | 1.00 |
| (4,2,1) | 0.20 | 0.54 | 0.86 | 1.00 |
| (4,1,1,1) | 0.23 | 0.53 | 0.72 | 0.78 |
| (3,3,1) | 0.23 | 0.57 | 0.90 | 1.00 |
| (3,2,2) | 0.13 | 0.47 | 0.91 | 1.00 |
| (3,2,1,1) | 0.17 | 0.44 | 0.74 | 0.92 |
| (3,1,1,1,1) | 0.18 | 0.37 | 0.50 | 0.61 |
| (2,2,2,1) | 0.09 | 0.33 | 0.75 | 1.00 |
| (2,2,1,1,1) | 0.09 | 0.27 | 0.52 | 0.78 |
| (2,1,1,1,1,1) | 0.11 | 0.20 | 0.31 | 0.44 |
| (1,1,1,1,1,1,1) | 0.11 | 0.16 | 0.17 | 0.18 |
| correlations | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| mean | variance | ||||||||
| 0.88 | 0.35 | 1.00 | |||||||
| 1.05 | 0.85 | 0.08 | 1.00 | ||||||
| 1.28 | 0.65 | 0.15 | -0.07 | 1.00 | |||||
| 1.01 | 0.57 | 0.28 | -0.03 | 0.40 | 1.00 | ||||
| 1.00 | 0.74 | 0.07 | 0.39 | -0.09 | -0.03 | 1.00 | |||
| 0.76 | 0.58 | 0.13 | 0.33 | -0.02 | 0.06 | 0.35 | 1.00 | ||
| 1.16 | 0.64 | 0.33 | -0.03 | 0.17 | 0.31 | -0.01 | 0.09 | 1.00 | |
| model (4,3) | mixed model | |
| - | 0.74 (0.06) | |
| 0.67 (0.06) | 0.75 (0.06) | |
| 0.48 (0.04) | 0.48 (0.04) | |
| 0.40 (0.04) | 0.37 (0.04) | |
| 0.89 (0.06) | 0.81 (0.06) | |
| 0.55 (0.04) | 0.48 (0.04) | |
| 0.74 (0.05) | 0.66 (0.05) | |
| 0.70 (0.05) | 0.70 (0.05) | |
| 0.64 (0.05) | 0.64 (0.05) | |
| 0.36 (0.03) | 0.36 (0.03) | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Traffic Prediction and Management Techniques · Bayesian Modeling and Causal Inference
Discrete factor analysis
Rolf Larsson
Abstract
In this paper, we present a method for factor analysis of discrete data. This is accomplished by fitting a dependent Poisson model with a factor structure. To be able to analyze ordinal data, we also consider a truncated Poisson distribution. We try to find the model with the lowest AIC by employing a forward selection procedure. The probability to find the correct model is investigated in a simulation study. Moreover, we heuristically derive the corresponding asymptotic probabilities. An empirical study is also included.Key words: Factor analysis, dependent Poisson model, AIC, model selection.
1 Introduction
The main idea of classical factor analysis (see e.g. Jöreskog et al, 2016) is to describe a random vector as a linear combination of unknown factors plus some independent random error say, where . Introducing the matrix of factor loadings , we then have the equation
[TABLE]
Restricting the to be uncorrelated with zero mean and unit variance, and ucorrelated with , the covariance matrix of is
[TABLE]
where is the covariance matrix of , usually assumed to be diagonal.
The main focus of (explanatory) factor analysis is to find out about the structure of the loading matrix . A common way to deal with this is to let be multivariate normal with zero mean and covariance matrix as in (2), and estimate the parameters by maximum likelihood, see Jöreskog (1967). Observe that the matrix is unique only up to rotation, i.e. for any where is some orthogonal matrix.
Despite for the many appealing features of maximum likelihood, searching for the ‘best’ factor analysis model given data involves some more or less ‘arbitrary’ steps such as choosing the number of factors and a suitable rotation matrix .
In applications, it is common that the data are observed on an ordinal scale. The continuous variable factor analysis model in (1) can still be applied to this situation, see e.g. Jöreskog and Moustaki (2001). To this end, the observed data are considered as outcomes from an underlying continuous variable (preferrably normal) that may be described by the factor model (1). Here, a certain (integer) value of the data corresponds to an interval on the continuous scale, defined by threshold parameters. As with all the other parameters, the thresholds may be estimated by maximum likelihood. In terms of numerics, this is a quite formidable task. Hence, alternative procedures have been proposed, for example using polychoric correlations, see Olsson (1979), or likelihood approximations, see Katsikatsou et al (2012).
Factor analysis with discrete data is performed by Zhou et al (2012) and Wedel et al (2003). The former proposes a fully Bayesian method where the parameter vector of the observed discrete variates is modelled with a factor structure similar to the classical Jöreskog model. The latter approach uses a generalized linear regression model, with a link function that is a function of covariates in a factor form. Like the classical method for continuous data, these two approaches are rather involved numerically and contain issues about factor rotation and determination of the number of factors.
In the present paper, we propose a completely different approach to discrete and ordinal data factor analysis. The basis of our approach is the dependent Poisson model, described in e.g. Karlis (2003). In particular, let , and be independent Poisson variates. Then, the variates and are also Poisson, but they are now linked through the common factor . Of course, this idea may be extended to arbitrary dimensions, and we could also think of a vector of variables which may be split up into a number of independent sub systems of the type described. This is then a way to construct a discrete factor model. To deal with ordinal data, we consider truncated distributions. To relax the requirement of independent sub systems, we propose a mixed model approach.
In fact, this factor model idea extends to any (combinations of) discrete distributions, but as a start, we only pursue Poisson in the present paper. Observe that there are many other ways to construct dependent systems of discrete random variables, e.g. via copulas, mixing (compound Poisson) and graphical models. However, none of these seems to produce a system with a factor structure. See further Inouye et al (2017) for a recent overview.
As will be seen in the sequel, the construction of factor models in the way outlined here, as well as maximum likelihood estimation of them, is fairly straightforward. The issue that may be problematic and time consuming is how to choose the ‘best’ possible model among the very many possible suggestions for a given dimension . In this paper, by the ‘best’ model we mean the one with the lowest value of the Akaike information criterion (AIC), see Akaike (1974). We propose to resolve this by employing a forward search algorithm. We will study the probability to find the ‘correct’ model (if there is one) by simulations in dimensions five (where we compare to selection among all possible models) and seven, and we also heuristically calculate the corresponding asymptotic probabilities.
The rest of the paper is as follows. In section 2 we lay out the model and its estimation via maximum likelihood. The selection algorithm is presented and discussed in section 3. Section 4 contains a simulation study. In section 5, we give an empirical example with ordinal data that previously has been analysed by Jöreskog et al (2016). Section 6 concludes.
2 Model and estimation
2.1 General
At first, let us repeat the Karlis bivariate model,
[TABLE]
where , and are independent random variables that may attain non negative integer values. (At this stage, we do not impose the Poisson assumption.) We say that is the “common factor” that “loads” on the variables and .
It is easy to imagine a setup of a number of possibly dependent variables which may be “linked” by a set of common factors where . If these factors are only allowed to load on one variable each, this gives the general model
[TABLE]
where and are all assumed to be independent non negative integer valued random variables. Moreover, we assume that for . Observe that this setup also allows for a set of independent components . In the following, we will refer to this as a model of type , where there are ones at the end. The variables may be shuffled around so that . For example, the model of type is given by
[TABLE]
We want to estimate the parameters of (4) by maximum likelihood. This is very feasible, since (4) consists of simultaneously independent systems. Hence, the likelihood is the product of the likelihoods of all these systems, and the maximum likelihood is the product of the corresponding maximum likelihoods, which all may be evaluated separately. For example, in (5), the likelihood is a product of likelihoods of one three-dimensional system with one common factor, one two-dimensional system with a common factor and two separate one-dimensional variates.
We need to add distributional assumptions on the s and s. For example (cf Karlis, 2003), we could assume that the are Poisson with parameters and that the are Poisson with parameters . Then, by the additivity property of the Poisson distribution, the are also Poisson, but dependent. The degree of dependence, measured by e.g. the correlation, is a function of the parameters. In the simplest example, (3) with and for , the correlation between and is given by
[TABLE]
Observe that in this way, only positive correlations are allowed for.
In (3), if and are the probability mass functions of and the respectively, and we have a set of observation pairs . Since and are conditionally independent given , the likelihood is
[TABLE]
Imposing the Poisson assumption, this becomes
[TABLE]
The right-hand side of (7) (of rather the log of it) is readily maximized over the parameters with standard numerical iteration methods. In fact, because of proposition 1 below, we only need to maximize over since it turns out that for where and are the MLEs of and the , respectively.
For any numerical maximization in this paper, we use the Matlab routine fmincon.
Next, consider a model with one common factor and an arbitrary number of variables, say, i.e.
[TABLE]
Let and be the probability mass functions of and the respectively, . Then, with -dimensional observations for , we get the likelihood
[TABLE]
and, imposing the Poisson assumption,
[TABLE]
Again, to perform numerical maximization of (10) over the parameters, we only need to maximize w.r.t. . This is a simple consequence of the following proposition. (This fact was also pointed out by Karlis, 2003.)
Proposition 1
The parameters that maximize (10), , satisfy the equalitites
[TABLE]
where for all .
Proof. See the appendix.
2.2 Truncated distributions
Considering the situation with ordinal data, the Poisson assumption does not seem to fit perfectly well because of the finite number of classes. However, it can still be considered to provide an approximation. Alternatively, the truncated Poisson distribution could be tried. This means that we condition the Poisson variable to at most attain a maximum value, say. The probability mass function of a variable truncated in such a way is
[TABLE]
The formulae in the previous section may be readily adjusted to cover this case. However, there does not seem to be any counterpart to proposition 1. Thus, numerical maximization of the likelihood must be performed simultaneously over all parameters, not only over .
Comparing to the traditional factor analysis setup with an underlying multivariate normal distribution, there are several immediate advantages with our approach: Our model is more explicit and does not take the long route over some underlying continuous distribution. Also, it seems that we may not run into identification and/or factor rotation issues.
The drawback is that we will have to search for the best model within a very large set of possible models. This issue will be discussed at some length in section 3.
2.3 A mixed model
Comparing our setup to traditional factor analysis models, a potential obstacle is the restriction that more than one factor cannot load on the same variable. In the literature, an ANOVA like extension to the outlined model here that permits this is proposed, see e.g. Karlis (2003) and Loukas and Kemp (1983).
For the purposes of the present paper, the ANOVA like model seems to be quite complicated. We suggest another type of model, that extends the model of the previous sections in an easy way and leads to a relatively simple likelihood function. For example, consider the model:
[TABLE]
We can think about this as two groups, the first group sharing the common factor and the second group sharing . But maybe should rather belong to the second group? This would give us the alternative model
[TABLE]
Now, a mixed model that allows for both of these possibilities is a model that is described by (12) with probability and by (13) with probability . Such a model may be interpreted as having both factors and loading on . Here, in a sense, describes the extent to which the first factor, , is relatively more important than as a loading on . Of course, gives us the model (12) as special case, and gives us (13).
As all the other parameters, may be estimated by maximum likelihood. With notation as above, the likelihood for the mixed model described here is
[TABLE]
where
[TABLE]
3 Model selection
3.1 A proposed method
When choosing between different models, one may for example use information criteria such as AIC or BIC, see e.g. Akaike (1974) and Schwarz (1978), respectively. When possible, sequential likelihood ratio tests may be employed as well.
In the following, we have chosen to stick to AIC. In presence of data sets of moderately large sizes, this seems to be the most common choice for model selection in the literature. We will use the definition
[TABLE]
where is the maximum likelihood value and is the number of parameters. The selected model is the one with lowest AIC.
The main obstacle with our method is that there are so many potential models (combinations of factors). For large dimensions (numbers of variables) , it is completely unrealistic to try them all, even for the fastest computer.
Below, we will consider dimensions 5 and 7. In dimension 5, there are 52 possible models: the (1,1,1,1,1) model, models of type (2,1,1,1), models of type (3,1,1), models of type (4,1), models of type (2,2,1), models of type (3,2), and the model of type (5), where the same factor loads on all the five variables.
In dimension 7, it can be shown that the number of possible models is 877. In fact, the number of possible models in dimension is described by the Bell number, cf Flajolet and Sedgewick (2009), p.560-562. The Bell number gives the number of partitions of the set of integers from 1 to . Calling this number , it holds that behaves like as tends to infinity. Hence, increases with more than an exponential rate with . Thus, for large dimensions, it is not practically feasible to consider all possible models.
The way out of this dilemma is to try some sort of model selection algorithm. In this paper, we suggest to start with the independence model (1,1,…,1), and compare it with all possible (2,1,…,1) models. (A total of models.) If the independence model is the best (has the lowest AIC), the algorithm stops. If not, we go on by estimating all (3,1,…,1) models where the pair of variables that had the same factor in the first step is joined by one of the other variables ( models) as well as all (2,2,1,…,1) models where we add a new pair of variables that consists of any two that were not in the first pair ( models). If none of the (3,1,…,1) of (2,2,1,…,1) models tried is better than the previously chosen (2,1,…,1) model, we stop and choose the previous model. If not, we go on to test new models, and so it goes on.
The principle in all steps is to take the favorite model of the previous step and then merge any two groups (considering the ones to be groups of their own). For example, if the previously selected model was of type (2,2,1,…,1), the new models tried are of types (3,2,1,…,1), (2,2,2,1,…,1) and (4,1,…,1).
For dimension , the algorithm is illustrated in figure 1. Note that in this figure, we have simplified the last step of the algorithm (if it reaches that far) to test model (5) together with (3,2) and (4,1).
Note that for our algorithm, in dimension five the maximum number of model estimations is 21, out of the 52 possible models. This may not be considered to be a really substantial reduction. However, in dimension seven, the maximum number of model estimations turns out to be 57 out of 877 possible models.
For an arbitrary dimension , the number of steps in the selection algorithm is of the order , see proposition 2. This is in contrast to the exponential rate of increase of the number of possible models as increases.
Proposition 2
In the forward selection algorithm, for dimension the maximum number of tested models is
[TABLE]
Proof. At first, we estimate the model (1,1,…,1). The second step is to estimate all possible (2,1,…,1) models, the number of which is . If one of them is the best so far, we go on estimating all models of the forms (3,1,…,1) or (2,2,1,…,1) that may be constructed by merging any two of the subsets in the (2,1,…,1) model. This number of subsets equals . If each step in the algorithm results in a better model than previously, the procedure goes on until a model with 3 subsets is tested against all of its submodels, the number of which is .
This shows that the maximum number of estimated models is as in the left hand side of (16). The equalities of (16) follow from simple algebra.
3.2 Asymptotic properties
In this section, we heuristically derive the asymptotic probabilities to select the correct model for the outlined selection algorithm.
Take dimension 5 as an example. At first, consider testing the model vs a specific alternative. Here, the null model has five parameters, while the alternative model has six, the “extra” parameter, say, being that of the common factor. Seeking to minimize AIC (cf (15)), we reject the null model and choose the alternative one if the difference of their log likelihood values is more than 2.
To calculate the asymptotic probability (asp in the following) for this to happen, we may employ classical results on the maximum likelihood ratio (MLR) test. Here, observe that we are testing : vs : , so we are testing the null that the parameter lies on the boundary of the parameter space. Under , the asymptotic distribution of the MLR test is given by e.g. Self and Liang (1987) as where is standard normal and is the indicator function. In other words, asymptotically and under , in our case the asp not to reject is given by
[TABLE]
To get further, we need to employ the following unproved postulates (cf Voung, 1989, for a theory of this type for the standard case when the null value of the parameter is not at the boundary of the parameter space):
Tests performed at the same step in the algorithm are asymptotically independent. 2. 2.
Tests of a null model with fewer parameters than the alternative model have asymptotic power 1. 3. 3.
Tests of a null model with as many as or fewer parameters than the alternative model have asymptotic probability 1 not to reject.
Now, consider testing the vs any model. There are alternative models. By postulate 1, we get that the asp not to reject is . Hence, we have heuristically derived the asp to correctly find the model to be approximately 0.44.
Next, consider the case when the model is true. Asymptotically, by postulate 2 the probability to get from the model to in the first step tends to one. Moreover, this must be the true one among the 10 possible similar models, because from postulate 3, the asp to accept the true model over a false model is one.
Coming this far, we will in fact select the true model if we do not reject it when testing vs the three models that are accomplished by merging the single items as well as testing vs the three models that we get by putting any single item together with the pair. Testing vs gives one extra factor parameter, so by postulate 1, the asp not to reject in any of these three cases is . Testing vs a model, however, gives no extra parameter, and so, by postulate 3, the asp to keep the model is one in this case. To sum up, the asp to correctly select a model is approximately 0.78.
We may go on in the same fashion to calculate the asp of correctly selecting any possible model. In particular, one may note that the asp of correctly selecting any model containing at most one single item is one.
All of this was also done for dimension 7. The asp values of correct selection are given together with the corresponding finite sample simulated probabilities in the tables of the next section (the columns).
4 Simulations
The main question to be asked in this section is: What is the probability that the selection algorithm finds the correct model? We check this with simulations. As a start, we will consider dimension 5, where it is feasible to compare the algorithm to the method of estimating all possible models (there are “only” 52 of them here). We then go on to dimension 7, which is also the dimension of the empirical example. In this dimension, we only study the selection algorithm. For this dimension, we also check what happens when the distribution is truncated.
All simulations are performed in Matlab2016a. We maximize the likelihood by minimizing the minus log likelihood using the function fmincon. As starting values for the function, we take 0 for the parameters of the factors and the means of the corresponding observations for the .
Inspired by the empirical example in the next section, we take the common factors to be . The that sum with a common factor to give the observed are also . For the that are not (so in these cases), we take . This means that all are .
We simulate models of all possible types and then check the proportion of times that AIC is smallest for the model simulated. We also check the proportion of times that the selection algorithm finds the correct model. This always means not only that it is of the correct type, but also that it places the variables correctly into the different groups that have the same common factor.
The results are given in tables 1 and 2. Comparing to testing all models, it is seen that the selection method works remarkably well. As expected, we also find that the selection probabilities increase with , and that they approach the asp derived in the previous section. Moreover, as is also natural, for models with relatively many factors they are smaller when the parameter is relatively smaller for the factors compared to the independent components. Cf table 2.
For dimension 7, we only consider the selection algorithm and one parameter combination, see table 3. The conclusions are similar to dimension 5.
In tables 4 and 5, we consider truncated distributions. The truncation at 3 of table 4 is the same as in the empirical example, whereas the truncation at 2 in table 5 illustrates what happens when the truncation probability is relatively high. To get the same expected value of the variables as in the untruncated case, we have chosen parameter values 1.08 and 1.414, respectively, instead of 1 (and half of these values instead of 0.5). As before, the probabilities to find the correct model increase with . Comparing to the case without truncation, we see that the probabilities are smaller, and even more so in case of the more severe truncation in table 5.
5 Empirical example
In this section, we analyze a seven-dimensional data set taken from Jöreskog et al (2016). The data come from the Eurobarometer Survey of 1992, where citizens of Great Britain were asked about their attitudes towards Science and Technology. The answers are collected on an ordinal scale with values 1,2,3,4. The sample size is . The variables are called Comfort, Environment, Work, Future, Technology, Industry and Benefit, but in the following, we will just refer to them as . Because the means of all variables are closer to 4 than to 1, we have chosen to transform them according to , to get a better fit to a truncated Poisson distribution. The truncation point is then at 3.
In table 6, we give descriptive statistics: mean, variance and the correlation matrix. Observe that the means are larger than the variances. This is in accord with the truncated Poisson distribution. For example, a Poisson variable with parameter 1.08 has expectation 1.00 and variance 0.84 and a parameter value of 0.836 corresponds to expectation 0.80 and variance 0.56. In view of this, we find that most of the variables have a little smaller variances than expected from the truncated Poisson, but not much smaller.
Looking at correlations, it can be seen that some are negative. This is impossible under the dependent Poisson model. However, all negative correlations are small in absolute value. Hence, in a factor analysis context they should be relatively unimportant anyway.
Next, we try our model selection method, applied for Poisson variables truncated at 3, to the data . The model found has the same factor structure as the one given in Jöreskog et al (2016) when estimated with maximum likelihood. It is a model where the variables are grouped as and . The estimates are found in the first column of table 7. (The standard errors are obtained from the empirical Fisher information, which in turn is calculated as numerical second derivatives of the observed minus log likelihood w.r.t. the parameters. The standard errors are the Fisher informations to the power of .)
We find that the estimates reflect the means of table 6 fairly well. (Recall that the expected value of a truncated Poisson is greater than the parameter.)
In Jöreskog et al (2016) a second model is fitted (using polychoric correlations and weighted least squares). In this model, is allowed to belong to both variable groups. To see if we can obtain something similar, we fit a mixed model to the data, where belongs to the first group with probability . We give the corresponding estimates in the second column of table 7.
We find that for the mixed model, the log likelihood is more than 2 units higher than the log likelihood for the (4,3) model. Hence, AIC is lower for the mixed model. The interpretation of is that is more strongly connected to the group than to . The latter finding is in accord with the estimates of Jöreskog et al (2016), where loads two to three times stronger on the first group than on the second.
Moreover, observe that for is about the same for both models and, in fact, they are equal up to two decimal points for for .
6 Concluding remarks
In this paper, we have proposed a method for performing factor analysis on discrete data. In principle, the method should work for any choice of discrete distribution. As a first try, we have chosen the Poisson distribution. Among the very many candidate models, we look for the one with smallest AIC in a forward search algorithm. We have found, both by heuristic calculations and simulations, that this method works well in the sense that it has a high probability to find the correct model (if there is one) for moderately large to large sample sizes.
Since most real life examples of discrete data factor analysis concern ordinal data, we modify our method to deal with this by looking at truncated discrete distributions. So far, ordinal data factor analysis has been performed as in Jöreskog et al (2016), who assume an underlying normal distribution. Numerically, the Jöreskog methodology can be rather complicated, at least when employing maximum likelihood, because in addition to the parameters of main interest, the threshold parameters need to be estimated. Also, as is always the case with traditional factor analysis, factor rotations of more or less arbitrary nature are imposed.
The method proposed in the present paper is more straightforward. The model is fully specified once the factor structure has been found. The difficulty lies in finding this structure among the very many possible ones. To this end, we have outlined a forward selection method which seems to work well for small and moderately large dimensions. However, model selection for very large dimensions seems to be a challenge that calls for further development of the selection method. This issue is left for future research.
Another aspect that needs further investigation is the choice of distribution. One could of course replace the Poisson by something else like the geometric, the binomial or the negative binomial distribution. Different mixture distributions (different distributions on factors and independent components) are also possible, for example the mixture of the Binomial and Poisson distributions as discussed in Karlis (2003) among others.
Also, other information criteria than AIC could be used, e.g. BIC. Moreover, in many applications it would be helpful to avoid the requirement that correlations can not be negative, see e.g. Famoye (2015) and Berkhout and Plug (2004). On the theoretical side, a full proof that the heuristic calculations on asymptotic probabilities to find the correct model are valid is called for.
References
Akaike, H. (1974), A new look at the statistical model identification. IEEE Transactions on Automatic Control 19, 716-723. Berkhout, B., Plug, E. (2004), A bivariate Poisson count data model using conditional probabilities. Statistica Neerlandica 3, 349-364. Famoye, F. (2015), A multivariate generalized Poisson regression model. Communications in Statistics - Theory and Methods 44, 497-511. Flajolet, P., Sedgewick, R. (2009), Analytic Combinatorics, Cambridge Univerisity Press: Cambridge. Inouye, D.I., Yang, E., Allen, G.I., Ravikumar, P. (2017), A review of multivariate distributions for count data derived from the Poisson distribution. WIREs Comput. Stat. 2017, 9:e1398, doi: 10.1002/wics.1398. Jöreskog, K.G. (1967), Some contributions to maximum likelihood factor analysis. Psychometrica, 32, 443-482. Jöreskog, K.G., Moustaki, I. (2001), Factor analysis of ordinal variables: A comparison of three approaches. Multivariate Behavioral Research, 36, 347-387. Jöreskog, K.G., Olsson, U.H., Wallentin, F.Y. (2016), Multivariate Analysis with LISREL, Springer. Katsikatsou, M., Moustaki, I., Yang-Wallentin, F., Jöreskog, K. G. (2012), Pairwise likelihood estimation for factor analysis models with ordinal data. Computational Statistics and Data Analysis 56, 4243-4258. Karlis, D (2003), An EM algorithm for multivariate Poisson distribution and related models. Journal of Applied Statistics 30, 63-77. Loukas, S., Kemp, C.D. (1983), On computer sampling from trivariate and multivariate discrete distributions. Journal of Statistical Computation and Simulation 17, 113-123. Olsson, U. (1979), Maximum likelihood estimation of the polychoric correlation coefficient. Psychometrica 44, 443-460. Schwarz, G. (1978), Estimating the dimension of a model. The Annals of Statistics 6, 461-464. Self, S.G., Liang, K.Y. (1987), Asymptotic properties of maximum likelihood estimators and likelihood ratio tests under nonstandard conditions. Journal of the American Statistical Association 82, 605-610. Voung, Q.H. (1989), Likelihood ratio tests for model selection and non-nested hypotheses. Econometrica 57, 307-333. Wedel, M., Böckenholt, U., Kamakura, W.A. (2003), Factor models for multivariate count data. Journal of Multivariate Analysis 87, 356-369. Zhou, M., Hannah, L.A., Dunson, D.B., Carin, L. (2012), Beta-negative binomial process and poisson factor analysis. In Proceedings of the 15th International Conference on Artificial Intelligence and Statistics.
Appendix: Proof of proposition 1
Suppose that it is not the case that all . Rewrite (10) as
[TABLE]
where for all and
[TABLE]
Without loss of generality, pick . Now, suppressing the arguments of , differentiation w.r.t in (18) yields
[TABLE]
where
[TABLE]
Hence, inserting into (19) and in view of (18),
[TABLE]
where e.g.
[TABLE]
But since
[TABLE]
it follows from (21) and analogous equations for the other that
[TABLE]
In view of (18), this is
[TABLE]
and (20) yields
[TABLE]
But since at , we get for this that
[TABLE]
which is zero for , as was to be shown.
The proof for the case that all follows similarly.
