You are currently browsing the monthly archive for November 2014.
Recently some papers discussed in our journal club are focused on integrative clustering of multiple omics data sets. I found that they are all originated from factor analysis and make use of the advantage of factor analysis over principal component analysis.
Let’s recall the model for factor analysis:
where () and , with mean and loading matrix fixed, and factors with diagonal. And we also assume that and are uncorrelated. Note that this model is just characterizing the covariance structure of the Gaussian random vector . Now we need to think about the roles of the loading matrix and factors. In fact, we can think about this model in the following way: if we are given such a random vector, then is just what you see of this random vector in one coordinate system under which the components of are correlated; but if you look at the random vector in another coordinate system which is a linear transformation () of the original coordinate system, then you will see , whose components are uncorrelated. That is, the randomness in and is the same but with different views. With the observed sample with sample size ,
we can use the EM algorithm to get the MLE of the parameters (note that you will find maximizing the likelihood directly is hard).
Now for principal component analysis, for clarity, we are going to differentiate the classical (non-probabilistic) principal component analysis and probabilistic principal component analysis. The classical principal component analysis actually has no statistical model. And the probabilistic principal component model is defined as the above factor analysis model with and is orthonormal. And people can show that as , it becomes the classical principal component analysis. Actually we know that PCA maximizes data variance captured by the low dimensional projection, or equivalently minimizes the reconstruction error under the norm of the projected data points with the original data, namely
where here is the data matrix, and . And we know that solution to this problem is through SVD of the sample covariance: contains the eigenvectors corresponding to the largest eigenvalues. And are the projected data points. From this analysis, we could see that the difference between factor analysis and the classical principal component analysis is that PCA treats covariance and variance identically, while factor analysis is trying to model to covariance and variance separately. In fact, the principal components are chosen to capture as much variance as possible, but the latent variables in a factor analysis model are chosen to explain as much covariance as possible. (Note that all the correlations amongst the variables must be explained by the common factors; if we assume joint normality the observed variables will be conditionally independent given .)
In applications, we just deal with the data matrix, . And the loadings of the first principal component, as a vector, denoted as , is a normalized vector, i.e. , which makes have the largest variance. And we call as the first principal component score vector. In the common R package “prcomp” for the principal component analysis, the following command out=prcomp(X, scale=TRUE), can give us the loading matrix by referring to out$rotation, and the score matrix by referring to out$x. That is the loading matrix is and the score matrix is , which is the realizations of the factors .
Now think about what is the difference between the factor analysis and the probabilistic principal component analysis (PPCA). From the above definition, we see that the main difference is that factor analysis allow individual characteristics through the error term by instead of . In this perspective, we have
with common structure across all components of and individual characteristics . While PPCA does not allow any individual characteristics by assuming for all . This essential difference will make factor analysis more useful in integrative data analysis since it has more flexibility.
The AOAS 2013 paper is exactly using the above idea for modeling the integrative clustering:
where with data sources. By stacking all the data sources together, we have
which is exactly a simple factor analysis. And this factor analysis model is more useful than PCA in this data integration setup just due to the allowing of individual characteristics for different data sources through . And their paper is also dealing with sparsity in .
The 2014 arXived paper is just generalizing the above paper by allowing another layer of individual characteristis:
But the problem for this one is how to do the estimation. Instead of using EM algorithm as used in the AOAS 2013 paper, they used the one as in the PCA by minimizing the reconstruction error.
On this Tuesday, Professor Xuming He presented their recent work on subgroup analysis, which is very interesting and useful in reality. Think about the following very much practical problem (since the drug is expensive or has certain amount of side effect):
If you are given the drug response, some baseline covariates which have nothing to do with the treatment, and the treatment indicator as well as some post-treatment measurements, how could you come up with a statistical model to tell whether there exist subgroups which respond to the treatment differently?
Think about 5 minutes and continue the following!
Dr He borrowed a very traditional model in Statistics, logistic-normal mixture model to study the above problem. The existence of the two subgroups is characterized by the observed baseline covariates, which have nothing to do with the treatment:
where is the unobserved membership index. And the observed response follows a normal mixture model
with different means and , where usually contains but also includes the treatment indicator as well as any post-treatment measurements. Given that there is two subgroups characterized by the baseline covariates (which makes the test problem regular), they tried to test whether the two groups respond to the treatment differently, that is testing the component of which corresponds to the treatment indicator.
Nice work to demonstrate how to come up with a statistical model to study some interesting and practical problems!
But the above part has nothing to do with the title, EM algorithm. Actually you could imagine that they will use EM as a basic tool to study the above mixture model. That’s why I came back to revisit this great idea in Statistics.
Given complete random vector with observed and unobserved, we have the likelihood function . Then the log marginal likelihood has the following property:
where the last inequality is from Jensen’s inequality, and is any density function put on . In order to make the bound tight, i.e. to make the above inequality as equality, one possible way is , which leads to
Then we have
In summary, we have the following EM procedure:
- E step: get the conditional distribution ;
- M step:
And the corresponding EM algorithm can be described as the following iterative procedure:
- E step: get the conditional distribution ;
- M step:
In order to make this procedure effective, in the M step, the condition expectation should be easy to calculate. In fact, usually, since the expectation will be taken under the current , which will not produce any new , we usually get first and then by plugging we have .
And this procedure guarantees the following to make sure the convergence
In summary, EM algorithm is useful when the marginal problem is difficult while the joint problem is easy. However is unobservable, and the EM algorithm attempts to maximize iteratively, by replacing it with its conditional expectation given the observed data. This expectation is computed with respect to the distribution of the complete data evaluated at the current estimate of .
In the talk given by Professor Xuming He, he mentioned a rule of thumb from practice experience that the EM algorithm produces a good enough estimator in the first few steps.
The core idea of Empirical Likelihood (EL) is to use a maximum entropy discrete distribution supported on the data points and constrained by estimating equations related with the parameters of interest. As such, it is a non-parametric approach in the sense that the distribution of the data does not need to be specified, only some of its characteristics usually via moments. In short, it’s a non-parametric likelihood, which is fundamental for the likelihood-based statistical methodology.
Bayesian Analysis is a very popular and useful method in applications. As we discussed in the last post, it’s essentially an belief updating procedure through data, which is very natural in modeling. Last time, I said I did not get why there is a severe debate between Frequentist and Bayesian. Yesterday, I had a nice talk with Professor Xuming He from University of Michigan. When we talked about the Bayesian analysis, he made a nice point that in Frequentist analysis, the model mis-specification can be addressed in a very rigorous way to conduct valid statistical inference; while in Bayesian analysis, it is very sensitive to the likelihood as well as the prior, but how to do the adjustment is a big problem (here is a paper discussing model misspecification problems under Bayesian framework).
Before the discussion with Dr. Xuming He, intuitively, I thought it’s very natural and potentially very useful to combine empirical likelihood with Bayesian analysis by regarding empirical likelihood as the likelihood used in the Bayesian framework. But now I got to understand the importance of why Professor Nicole Lazar from University of Georgia had a paper on “Bayesian Empirical Likelihood” to discuss the validity of posterior inference: “…can likelihoods other than the density from which the data are assumed to be generated be used as the likelihood portion in a Bayesian analysis?” And the paper concluded that “…while they indicate that it is feasible to consider a Bayesian inferential procedure based on replacing the data likelihood with empirical likelihood, the validity of the posterior inference needs to be established for each case individually.”
But Professor Xuming He made a nice comment that Bayesian framework can be used to avoid the calculation of maximum empirical likelihood estimator by proving of the asymptotically normal posterior distribution with mean around the maximum empirical likelihood estimator. The original idea of their AOS paper was indeed to use the computational advantage from Bayesian side to solve the optimization difficulty in getting maximum empirical likelihood estimator. This reminded me of another paper about “Approximate Bayesian Computation (ABC) via Empirical Likelihood“, which used empirical likelihood to get improvement in the approximation at an overall computing cost that is negligible against ABC.
We know that for general Bayesian analysis, the goal is to be able to simulate from the posterior distribution by using MCMC for example. But in order to use MCMC to simulate from the posterior distribution, we need to be able to evaluate the likelihood. But sometimes, it’s hard to evaluate the likelihood due to the complexity of the model. For example, recently laundry socks problem is a hit online. Since it’s not that trivial to figure out the the likelihood of the process although we have a simple generative model from which we can easily simulate samples, Professor Rasmus Bååth presented a Bayesian analysis by using ABC. Later Professor Christian Robert presented exact ptobability calculations pointing out that Feller had posed a similar problem. And here is another post from Professor Saunak Sen. The basic idea for ABC approximation is to accept values provided the simulated sample is sufficiently close to the observed data point:
- Simulate , where is the prior;
- Simulate from the generative model;
- If is small, keep , where is observed data point. Otherwise reject.
Now how to use empirical likelihood to help ABC? Actually although the original motivation is the same, that is to approximate the likelihood (ABC approximate the likelihood via simulation and empirical likelihood version of ABC is to use empirical likelihood to approximate the true likelihood), it’s more natural to start from the original Bayesian computation (this is also why Professor Christian Robert changed the title of their paper). For the posterior sample, we can generate as the following from the importance sampling perspective:
- Simulate , where is the prior;
- Get the corresponding importance weight as where is the likelihood.
Now if we do not know the likelihood, we can do the following:
- Simulate , where is the prior;
- Get the corresponding importance weight as where is the empirical likelihood.
This is the way of doing Bayesian computation via empirical likelihood.
The main difference between Bayesian computation via empirical likelihood and Empirical likelihood Bayesian is that the first one use empirical likelihood to approximate the likelihood in the Bayesian computation and followed by Bayesian inference, while the second one is that use Bayesian computation to overcome the optimization difficulty and followed by studying of the frequentist property.
updated[4/28/2015]: Here is a nice post talking about the issue for the Bayesian, especially for the model misspecification.
Last night, I had a discussion about the integrative data analysis (closely related with the discussion of AOAS 2014 paper from Dr Xihong Lin’s group and JASA 2014 paper from Dr. Hongzhe Li’s group) with my friend. If some biologist gave you the genetic variants (e.g. SNP) data and the phenotype (e.g. some trait) data, you were asked to do the association analysis to identify the genetic variants which is significantly associated with the trait. One year later, the biologist got some additional data such as gene expression data which are related with the two data sets given before, and you are now asked to calibrate your analysis to detect the association more efficiently and powerfully by integrating the three data sources. In this data rich age, it’s quite natural to get into this situation in practice. The question is how to come up with a natural and useful statistical framework to deal with such data integration.
For simplicity, we considered the problem that if you are first given two random variables, to study the association between them. Later on you are given another random variable to help to detect the significance association between and . We assume the following true model:
where is independent with . Now the question is what is the characteristic for to be helpful to raise the power for the detection.
- What if and are uncorrelated? If they are uncorrelated, then what if and are uncorrelated?
- What if and are correlated?
After thinking about these, you will find that for to be useful, it’s ideal that is uncorrelated with and is highly correlated with , i.e. highly correlated with the error term so that it can be used to explain more variation contained in to reduce the noise level.
In order to see why, first notice that the problem exactly depends on how to understand the following multiple linear regression problem:
Now from the multiple linear regression knowledge, we have
where (see below for the proof). Thus in order to raise the signal to noise ratio, we hope that , i.e. or , which can keep the signal large. But in order to reduce the noise, we need . In summary, we need to have , which means that and are uncorrelated, and , which means that can be used to explain some variability contained in the noise.
Now please think about the question:
What is the difference between doing univariate regression one by one and doing multiple linear regression all at once?
Here is some hint: first we regress and both onto ,
And then on one hand we find that , and on the other hand we regress the residual onto the residual to get via
This procedure actually is explaining what is the multiple linear regression and what is the meaning for the coefficients (think about the meaning of from the above explanation).