- Methodology article
- Open Access

# A general approach to simultaneous model fitting and variable elimination in response models for biological data with many more variables than observations

- Harri T Kiiveri
^{1}Email author

**9**:195

https://doi.org/10.1186/1471-2105-9-195

© Kiiveri; licensee BioMed Central Ltd. 2008

**Received:**27 September 2007**Accepted:**15 April 2008**Published:**15 April 2008

## Abstract

### Background

With the advent of high throughput biotechnology data acquisition platforms such as micro arrays, SNP chips and mass spectrometers, data sets with many more variables than observations are now routinely being collected. Finding relationships between response variables of interest and variables in such data sets is an important problem akin to finding needles in a haystack. Whilst methods for a number of response types have been developed a general approach has been lacking.

### Results

The major contribution of this paper is to present a unified methodology which allows many common (statistical) response models to be fitted to such data sets. The class of models includes virtually any model with a linear predictor in it, for example (but not limited to), multiclass logistic regression (classification), generalised linear models (regression) and survival models. A fast algorithm for finding sparse well fitting models is presented. The ideas are illustrated on real data sets with numbers of variables ranging from thousands to millions. R code implementing the ideas is available for download.

### Conclusion

The method described in this paper enables existing work on response models when there are less variables than observations to be leveraged to the situation when there are many more variables than observations. It is a powerful approach to finding parsimonious models for such datasets. The method is capable of handling problems with millions of variables and a large variety of response types within the one framework. The method compares favourably to existing methods such as support vector machines and random forests, but has the advantage of not requiring separate variable selection steps. It is also works for data types which these methods were not designed to handle. The method usually produces very sparse models which make biological interpretation simpler and more focused.

## Keywords

- Support Vector Machine
- Random Forest
- Lasso
- Sparse Model
- Recursive Feature Elimination

## Background

Many statistical models for studying the relationship between a response variable and a set of predictor variables have been developed over the years, e.g. generalised linear models [1], survival models [2] and multi class logistic regression models [3]. These models typically assume that there are many more *observations* than variables. However, with the advent of high throughput biotechnology data such as that collected by microarrays, SNP chips and mass spectrometers, it has become possible to gather data sets with several orders of magnitude more *variables* than observations. In this paper we describe a unified mechanism for enabling the use of a wide variety of existing statistical models in the case that there are many more variables than observations. Underlying this mechanism is a notion of model sparsity and the mechanism can be viewed as either likelihood based methodology with a sparsity penalty or a Bayesian methodology with a sparsity prior. There is some expositional advantage to the Bayesian approach so we will focus on that here. Fully Bayesian approaches to this problem do not seem tractable for the problem sizes to be considered.

The general approach and algorithm is described in the Results section below along with comments on practical implementation, and a number of real life examples of application of the method. The numbers of variables involved in these examples range from thousands to millions. Additional insight as to how the algorithm functions is described in Additional file 1 for the case of linear regression.

Before embarking on the description of the approach, we first introduce a small amount of notation. In the following we have N samples, and vectors such as y, z and μ have components y_{i}, z_{i} and μ_{i} for i = 1,..., N. Vector multiplication and division is defined component wise and Δ (·) denotes a diagonal matrix whose diagonals are equal to the argument. We also use ||·|| to denote the Euclidean norm, and the L1 norm of a vector x is $\sum _{i}\left|{x}_{i}\right|$.

### Context and methods

We suppose that we are given an N by p matrix of data *X* with the number of variables p possibly, but not necessarily, much greater than the number of samples N. Associated with this matrix is a response vector *y*, and we are interested in building a predictive relationship between *y* and *X*. Such data matrices commonly occur with data collected from microarrays, SNP chips, and mass spectrometers. Let *L*(*y*|*X*, *β*, *φ*) be a likelihood function for a model we would like to fit to this data in order to achieve this. Here *β* is a p by 1 vector of parameters of primary interest, and *φ* a q by 1 vector of parameters of secondary interest, such as scale parameters. Example models include generalised linear models, multi-class logistic regression and proportional hazards survival models, however the discussion to follow is not limited to these models. We will describe a general method for simultaneous parameter estimation and variable selection which will cope with variable numbers in the order of millions for a wide variety of common (statistical) response models.

*β*, which attempts to capture the notion that most of the components of

*β*are likely to be zero or at least "negligible". We then maximise the posterior distribution of the parameters of interest to get estimates of

*β*. To define the prior consider a two step process. First we generate a variance from a distribution with the property that there is a high probability that the variance will be "very small". Given this variance, we then generate a parameter value from a normal distribution with this variance and mean value zero. Applying this process independently for each component of

*β*, the marginal distribution of

*β*, which we use as our prior, can be written

where *p*(*β* |*ν*^{2}) is *N*(0, Δ(*ν*^{2})). For this article we chose $p({\nu}^{2})={\displaystyle \prod _{i=1}^{p}p({\nu}_{i}^{2})}$ where each of the ${\nu}_{i}^{2}$ has a scaled gamma distribution with common shape parameter 0 ≤ *k* ≤ 1, and scale parameter b > 0. We will refer to this prior as the normal-gamma or NG prior below. This choice has worked very well in practice, however the methods do not depend on this choice. Some other possible choices are discussed in the supplementary information, see also Griffin and Brown [4]. We choose an uninformative prior for φ.

*β*can be written as a product of components of the form

*K*denotes a modified Bessel function of the third kind [5], and Γ denotes the gamma function. Some interesting special cases of this prior are:

- (i)
k = 1

*p*(*β*_{ i }) = (*δ*/2) exp(*δ*|*β*_{ i }|). (3)This prior is used in the Lasso [6], and enables an L1 constraint to be imposed on the parameters in the model. However, for k < 1 the prior is stronger than the Lasso "prior" and we focus attention on these priors here. Note that reliable, very sparse models are of particular interest in the development of diagnostics for disease.

- (ii)
k = 0

*p*(*β*_{ i }) ∝*δ*exp {-*δ*|*β*_{ i }|}/*δ*|*β*_{ i }| (4) - (iii)
k = 0,

*δ*= 0,*p*(*β*_{ i }) ∝ 1/|*β*_{ i }| (5)

This prior corresponds to using a Jeffreys hyperprior for the variances *ν*^{2}, see Figueiredo [7, 8] and Kiiveri [9].

In our Bayesian framework the posterior distribution of *β*, φ and *ν* given *y* is

*p*(*β*, *φ*, *ν*|*y*) ∝ *L*(*y*|*β*, *φ*) *p*(*β* |*v*)*p*(*v*). (6)

By treating *ν* as a vector of missing data we can use the EM algorithm [10] to maximise the log of *p*(*β*, *φ* |*y*) to produce maximum a posteriori (MAP) estimates of *β* and *φ*. This approach gets around the issue of the non differentiability of the prior at zero. The prior above is such that the MAP estimates will tend to be sparse i.e. if a large number of parameters are redundant, many components of *β* will be zero. Details of the algorithm are given below.

## Results

### Algorithm

The EM algorithm for the general problem defined above can be described with the following steps.

#### Step 1

Set n = 0, initialise *φ*^{(0)}, *β*^{(0)} and set tolerance parameters ε, ε_{1} and ε_{2} equal to 10^{-4} (say). Choose values of k and *δ* in the prior (*k* = 0 and *δ* = 0 often work well in practise).

#### Step 2

For n ≥ 0, perform the E step by computing the conditional expectation *d*^{(n)}= (*E*{*ν*^{-2}|*β*^{(n)}, *k*, *δ* })^{-0.5}

where L is the log likelihood function of *y*. Here, and in the following, we adopt the convention that for any component of *β*_{
n
}which is zero, the corresponding component of *d*_{
n
}is by definition also zero and 0 = 0/0. More details of the derivation of (7) are given in Appendix 1 in the supplementary information.

#### Step 3

*Q*in (7) as a function of

*β*. This can be done with Newton Raphson iterations as follows. Set

*β*

_{0}=

*β*

^{(n)}and for r ≥ 0,

*β*

_{r+1}=

*β*

_{ r }+

*α*

_{ r }

*η*

_{ r }where α

_{r}is chosen by a line search algorithm to ensure Q(

*β*

_{r+1}|

*β*

^{(n)}, φ

^{(n)}) > Q(

*β*

_{r}|

*β*

^{(n)}, φ

^{(n)}) and

Here, *Y*_{
n
}= *X* Δ (*d*_{
n
}), ${B}_{r}=-{\partial}^{2}L/\partial {\mu}_{r}^{2}$ and *μ* _{
r
}= *X β* _{
r
}. Stop when some convergence criterion is satisfied e.g |*β* _{
r
}- *β* _{r+1}| <*ε*, and let *β* * be the value of *β*_{r+1}when iterations are terminated. Note that in many cases (8) is simply a form of iteratively reweighted (and rescaled) ridge regression.

#### Step 4

Second, choose *φ*^{(n+1)}= *φ*^{(n)}+ *κ* _{
n
}(*φ* * - *φ*^{(n)}) where *φ* * satisfies $\frac{\partial}{\partial \varphi}L(y|{\beta}^{(n+1)},\varphi )$ and *k*_{
n
}is a damping factor such that 0 <*κ* _{
n
}≤ 1.

#### Step 5

Check convergence. If |*β* ^{(n+1)}- *β* ^{(n)}| <*ε* _{2} then stop, else set n = n+1 and go to step 2 above. *End of algorithm*.

For the general case modifications are required if the regularised matrix in (8) is indefinite.

Note that $\frac{{\partial}^{2}L}{{\partial}^{2}{\mu}_{r}}$ in step 4 above can also be replaced by its expectation $\text{E}\left\{\frac{{\partial}^{2}L}{{\partial}^{2}{\mu}_{r}}\right\}$ which will be at least negative semi definite. Negative definite (block) diagonal approximations to the second derivative will also generate ascent directions if used in the M step.

### Implementation

The prior distribution discussed here places much more weight on parameters being zero than is customary. There are many issues involved in the practical implementation of the procedure outlined above. Some of these issues are discussed below.

### Initialisation

In general the posterior can have many local maxima so a critical part of the algorithm is the intialisation. Another issue is that initial values too close to zero may also result in iterations converging to *β* = 0.

A good initial value is one for which the likelihood function attains, or is very close to its global maximum. Intuitively, this means we start at a point where the fit to the observed data is the best possible. To make progress from such an initial value, the algorithm can only decrease the second term in Equation (7) by making one or more components of *β* smaller. (Note that the second term of (7) could be interpreted as a collection of pseudo t-statistics.) From such an initial value we can think of the algorithm as maintaining the best fit to the data possible whilst diminishing the importance of and eventually removing parameters from the model. Parameters which can be totally removed from the model without affecting the optimal fit are likely to disappear first until a trade off between model complexity and goodness of fit, as measured by the likelihood function, begins as iterations continue.

For models in the exponential family class, for example generalised linear models, such an initial value can easily be obtained by performing a ridge regression of a transformed and possibly slightly perturbed version of the response vector *y*, see the supplementary information for more details.

### The E step

for i = 1,..., p, where *K* denotes the modified Bessel function of the third kind and $\delta =\sqrt{2/b}$. The function *K* is a standard function in the R package [11], see also Zhang and Jin [12] for stand alone code. A sketch of the derivation of the above result is given in Appendix 2 in the supplementary information.

Some useful special cases of (9) are:

### The M step

Let *p*^{(n)}denote the number of parameters which are currently nonzero at iteration number *n*. We can use the same matrix identity referred to above to obtain expressions for (8) which require inversion of matrices of size min (N, *p*^{(n))}or less.

*p*

^{(n)}≤ N use

*p*

^{(n)}> N use

Note that (12) appears to require the inversion of a *p* by *p* matrix, however the calculation can be done by inverting a *p*^{(n)}by *p*^{(n)}matrix since *p*-*p*^{(n)}columns of *Y*_{
n
}are identically zero, see the definition of *Y*_{
n
}in Equation (8). By partitioning *Y*_{
n
}, *β*_{
r
}and *d*^{(n)}into conformable zero and non-zero components (12) and (13) can be calculated efficiently. In fact it is only necessary to calculate *η*_{
r
}for parameters which are currently non-zero.

When the number of parameters *p*^{(n)}in the model becomes less than N the size of the matrices being inverted becomes *p*^{(n)}by *p*^{(n)}and continues to decrease as more parameters are eliminated from the model. Note that the algorithm can be implemented to be O(min(N^{3}, p^{3})).

### Convergence

*β*to obtain

*β*

^{(n+1)}is defined so that the left hand side of (14) is zero. Hence if the sequence (

*β*

^{(n)},

*φ*

^{(n)}) converges

For the NG prior, using Abramowitz and Stegun [13], section 9.6.9, it can be shown that for small beta and 0 ≤ *k* ≤ 0.5 we have

*E*{*ν*^{-2}|*β* ^{(n)}}~*b*(*k*)/|*β* |^{2}

and for 0.5 ≤ *k* ≤ 1 we have

*E*{*ν*^{-2}|*β* ^{(n)}}~*c*(*k, δ*)/|*β* |^{(3-2k)}

where *b*(*k*) and *c*(*k*, *δ*) are constants. It follows that the rate of convergence to zero of the outer iteration in the EM algorithm is quadratic for 0 ≤ *k* ≤ 0.5 and varies from quadratic to linear as *k* varies from 0.5 to 1.

### Multiple solutions

Multiple maxima of the posterior can be explored by sequentially running the algorithm and deleting selected variables from consideration in the next run. This often produces classes of models with similar predictive performance which can be used to provide alternative or expanded interpretations. Predictions using these models can also be combined by majority voting schemes or model averaging.

When N <*p* the likelihood has flat spots as can be seen from the relation

*X β* = *X* (*β* + *r*)

*X*. Using (17), given a starting value

*β*

_{0}with likelihood value close to the global maximum, random points with this same property can be generated as follows. Generate a p by 1 vector of random variables

*n*, compute

It is easy to see that *β*_{
r
}has the same likelihood value as *β*_{0}.

### Forcing variables into the model

The algorithm can be easily modified to force variables into the model (eg intercepts) by simply not penalising certain coefficients.

### Selection of hyperparameters

In the prior discussed here, the choice *k* = 0, *δ* = 0 (i.e no tuning parameters) works surprisingly well in many cases, giving very sparse models with small cross validation errors. However, this prior can sometimes lead to the elimination of all variables. In such cases cross validated errors computed over a grid of *k* and *δ* values can provide guidance in selecting the hyperparameters. Often, setting *δ* = 0 and just computing cross validated errors over a grid of values of *k* works well. Note that any process for assessing the quality of the predictions from a model chosen in this way should explicitly include this selection process to avoid selection bias. We will expand on this below.

### Implementing multiclass logistic regression

To implement the algorithm for a particular model simply requires expressions for the first two derivatives of the likelihood function. See the supplementary information for details for multiclass logistic regression.

### Enlarged sets of predictors

As mentioned earlier, enlarged sets of predictor variables for biological interpretation can be identified by running the algorithm multiple times and removing variables previously selected from consideration. An alternative strategy, which can identify sets of important highly correlated variables is to define a new *X* matrix by clustering the columns of the original matrix *X* and taking means of the clusters [14].

### Other models

It can be shown that the algorithm still applies if the likelihood function in (6) is replaced by some other goodness of fit criterion. For example, linear kernel support vector machines can be implemented with the above algorithm (and a Gaussian prior) by using the penalized hinge loss formulation and noting that

|1 - *x*|_{+} = lim *γ* ^{-1} log (1 + exp(*γ* (1 - *x*))

where |1 - *x*|_{+} = max (-(1 - *x*),0) and the limit means *γ* → ∞, see for example [15]. Using the above criterion with the normal gamma prior, we can also fit the L1 penalised support vector machine (k = 1) and a more strongly penalised version with no tuning parameters (k = 0, *δ* = 0).

A minor modification to the E step enables L1 linear regression with L1 constraints (k = 1) on the parameters to be fitted by the algorithm. There is also a penalised version of L1 regression with no tuning parameters (k = 0, *δ* = 0).

Note that we do not need to use linear or quadratic programming to fit these models. More details will be reported elsewhere.

### Testing

We give some examples of fitting models to data with orders of magnitude more variables than samples using various likelihood functions below. To eliminate selection bias [16] in our assessment of predictions, we validate results either on a totally independent data set, or through the use of n fold cross validation in such a manner that for each fold the hold out sample plays no role whatsoever in the formulation of our prediction [17]. For models with no hyperparameters this means that for each fold the simultaneous model fitting and variable selection is redone and predictions then made for the holdout data. For models with hyperparameters, any cross validation necessary to estimate these parameters is also redone for each fold. Where necessary, we will refer to the above as "including the variable selection or hyperparameter selection process in the cross validation". In the examples below, with the possible exception of the ordered categorical data example, selection bias has been accounted for by the above methods. The results for all the examples are for very sparse models found by the algorithm.

### Smoking Data

For our first example we use the gene expression data (Affymetrix U133A chips) from Spira et al. [18]. We analyse a subset of the data consisting of 34 current smokers and 23 who have never smoked. We treat smoking status as a binary "response" and search for genes which are predictive of this "response" in a logistic regression model. The number of variables (genes) in this problem is 22283.

For the default values *δ* = 0 and k = 0, the algorithm discovers a model with three genes for the full dataset. The 10 fold cross validated error rate, calculated as mentioned above, is 0.07. The corresponding misclassification table is given in the supplementary information.

For illustrative purposes, we also computed the 10 fold cross validated error rates for a grid of values of the hyperparameters *b* and *k* in the NG sparsity prior, see supplementary information. The smallest value was 0.018, corresponding to one misclassification. For *k* = 0.6, and *δ* ≈ 0 (*δ* = 0 is a limiting case as b → ∞) the apparent error rate was 0.035. For this combination, neighbouring grid values had similar error rates so the specific values of k and b are not critical. The model involved 5 genes. Including the choice of k in the cross validation (*δ* = 0) gave a cross validated error rate of 0.052. Including the choice of both hyperparameters in the cross validation did not increase this error rate.

For comparison purposes we also used a support vector machine [19–21] with recursive feature elimination [22] to classify this data. The best model contained 8 genes and had an apparent (i.e variable selection step not included in the validation) zero cross validated error rate. Three of the genes were common to those found by our algorithm. When the variable selection process was included in the cross validation this error rate increased to about 10%.

With random forests [23], using the top 5 variables ranked by standardised variable importance gave an out of bag error rate of 0.052. Including the variable selection step in the cross validation had neglible effect on this error rate.

Enlarged lists of discriminating genes can be found by our algorithm by deleting the genes found and rerunning the algorithm. This can be repeated multiple times until there is no longer any discriminating power in the resulting models. For this data set almost all of the genes found by SVM and random forests appear in this expanded list.

When classes appear to be linearly separable, experience with a variety of data sets with small to moderate sample sizes suggests that the methods described in this paper give comparable and sometimes marginally better results to those obtained by support vector machines or random forests. The main advantage is that there is no need to do additional steps such as recursive feature elimination or pruning with variable importance to arrive at a sparse model. The other advantage is that many different types of models can be handled in this one framework.

### Ordered Categorical prostate cancer data

where *p*_{
ig
}denotes the probability that observation i belongs to class g, ${p}_{ig}^{\ast}={\displaystyle \sum _{h=1}^{g}{p}_{ig}}$ and ${x}_{i}^{T}$ denotes the i^{th} row of the expression data matrix *X*. Here G = 3.

Prostate cancer example (10 fold) cross validated confusion matrix

Predicted | ||||
---|---|---|---|---|

Observed | Benign | Cancer | Metastasized | Proportion correct |

Benign | 18 | 3 | 0 | 0.85 |

Cancer | 5 | 38 | 2 | 0.84 |

Metastasized | 0 | 8 | 12 | 0.60 |

Prostate cancer example- weighted analysis (10 fold) cross validated confusion matrix

Predicted | ||||
---|---|---|---|---|

Observed | Benign | Cancer | Metastasized | Proportion correct |

Benign | 16 | 5 | 0 | 0.76 |

Cancer | 4 | 36 | 5 | 0.80 |

Metastasized | 0 | 4 | 16 | 0.80 |

This time a model with 5 genes was identified of which three were in common with the previous model.

We should be cautious about this last model and ideally it should be validated with independent data, however it serves to illustrate the application of our methodology to ordered categorical data. Other methods such as, support vector machines and random forests do not take into account any ordering present in categorical variables.

### Multiclass Leukaemia data

To illustrate an application of the multiclass logistic regression model we consider the Leukaemia dataset reported by Ross et al. [26]. The data consists of microarray measurements from Affymetrix U133 A and B chips. There were104 individuals classified into 6 sub types of leukaemia (the "other" class is omitted). We do a probe level analysis so p = 497467 i.e. there are roughly half a million variables. The class names are (1 – T-ALL, 2 – E2A-PBX1, 3 – MLL-rearrangement, 4 – BCR-ABL, 5 – TEL-AML1, 6 – Hyper diploid).

Applying the methodology described above, the leave one out cross validation error is 0.048. The cross validated misclassification matrix is given in the supplementary information.

The method identified 5 probes which appear to be useful for sub-typing leukaemia. Using random forests [23] (with no additional variable selection step) the out of bag error rate is 0.019 using over 3000 probes and 0.096 for a model using the top ten probes ranked by standardised variable importance. This latter figure did not increase by including the variable selection step in the cross validation.

### Survival analysis

To illustrate the use of our method with survival data we fit a Cox proportional hazards model [2] to the Lymphoma data set reported by Dave et al. [27]. See the supplementary information for access details.

This data set consists of 44928 "gene" (probe set) expression measurements from Affymetrix U133A and B chips on 191 patients. Censored survival times were available for 187 of these individuals. In Dave et al. [27] the data was divided into a training set of 95 observations and a validation set of 96 observations. Allowing for missing survival times the training set has 93 individuals and the validation set 94 individuals. Note that the validation set has censored observations.

*validation*data as a statistic, we then generated a null distribution for this statistic by permuting the rows of the X matrix for the

*training*data 200 times, rerunning the algorithm each time and making a prediction on the validation data. The p value of our observed statistic was about 0.2, which suggests the support for this model is not strong.

Observed and expected counts in validation set for 3 gene model

Time interval | 0–5 yrs | 5–10 yrs | 10–15 yrs | 15–20 yrs | > 20 yrs |
---|---|---|---|---|---|

| 28.74 | 21.67 | 16.93 | 13.14 | 13.51 |

| 28.02 | 20.12 | 15.58 | 15.15 | 15.13 |

Observed and expected counts in validation set for Dave et al. (2004) survival index using over 60 genes

Time interval | 0–5 yrs | 5–10 yrs | 10–15 yrs | 15–20 yrs | > 20 yrs |
---|---|---|---|---|---|

| 28.14 | 20.33 | 18.09 | 13.42 | 14.02 |

| 25.82 | 22.55 | 19.31 | 15.27 | 11.06 |

Note that on the basis of the L1 norm statistic, the 3 gene fit has a smaller L1 norm.

### Ethnicity and sex – Perlegen SNP data

We now illustrate how the method scales up to datasets with millions of variables. In a recent article, Hinds et al. [28] report on the collection and analysis of a large data set in which 71 individuals were genotyped for over 1.5 million single-nucleotide polymorphisms (SNPs). Ethnicity and sex information for each of the 71 individuals was also recorded. Using only SNPs on chromosomes 1–22, the methods in this paper identified two SNPs which classified sex and three SNPs which classified ethnicity. The identified SNPs were validated with the Hapmap data set [29]. A publication giving more details about these results is in preparation.

## Discussion

Although in the above we have not provided details of the genes (variables) in the models presented in the above examples, in cases when the gene function is known, the selected genes have a biologically meaningful function in the context of the dataset being analysed. Specifically, for the Smoking data we saw genes appearing in networks associated with biological themes that we'd expect from an assault such as smoking on tracheal epithelial cells. Many of these are well documented in the literature, e.g. xenobiotic metabolism (P450 family of genes, CYP1A1), genes associated with immune function (complement system, C3) and inflammatory response. In addition there were genes involved in the early-immediate stress response (fos, jun, glutathione) which is expected from a toxic challenge to cells. Likewise, the genes in the leukemia classifier showed links with genes related to various aspects of the cell cycle, DNA repair, DNA replication and check-point controls as well as genes involved in cell growth and proliferative responses. Finally for the Perlegen SNP data the ethnicity classifier used a SNP which was associated with a gene which codes for skin colour.

Biological interpretations like the above have also been reflected in our experience with these methods over a number of years.

Concerning the computer time required to analyse these examples, on a 2.2 GHz machine, the two class problem with 20,000+ variables ran in under one minute. The six class problem with roughly 500,000 variables took about half an hour to run, and the two class problem with 1.5 million SNPs (three million variables) ran in about an hour and a half. Examples were run in R with no particular optimisation of the code. The times for the SNP example could most likely be reduced by the use of sparse matrices.

## Conclusion

Using a sparsity prior or sparsity penalty in conjunction with a likelihood function is a powerful approach to finding parsimonious models for datasets with many more variables than observations. The method is capable of handling problems with millions of variables and makes it possible to fit almost any statistical model with a linear predictor in it to data with more variables than observations.

In the linear case, and where comparison is possible, the methods described in this paper compare favourably with well known methods such as support vector machines and random forests. However, they have the advantage in that variable selection and parameter estimation occur simultaneously and no additional steps are required to obtain a sparse model.

An R library implementing the algorithm described in this paper is freely available for non-commercial use [30].

## Declarations

### Acknowledgements

I would like to thank Professor Philip Brown for suggesting the use of the normal gamma prior and Dr Frank De Hoog for insights into the EM algorithm and its convergence. I would also like to thank the reviewers for their valuable comments.

## Authors’ Affiliations

## References

- Nelder JA, Wedderburn RWM: Generalised linear models. Journal of the Royal Statistical Society A. 1972, 135: 370-384. 10.2307/2344614.View ArticleGoogle Scholar
- Cox DR, Oakes D: Analysis of survival data. Monographs on statistics and applied probability. 1984, London ; New York , Chapman and Hall, viii, 201 p.-Google Scholar
- Kotz S, Johnson NL: Encyclopedia of Statistical Sciences. 1985, New York , Wiley, 5: 665-Google Scholar
- Griffin JE, Brown PJ: Alternative prior distributions for variable selection with very many more variables than observations. 34-[http://www2.warwick.ac.uk/fac/sci/statistics/crism/research/2005/paper05-10/05-10w.pdf]
- Watson GN: A treatise on the theory of Bessel functions. 1966, Cambridge , University Press, vi, 804 p.-2ndGoogle Scholar
- Tibshirani R: Regression shrinkage and selection via the Lasso. Journal of the Royal Statistical Society Series B-Methodological. 1996, 58 (1): 267-288.Google Scholar
- Figueiredo M: Adaptive Sparseness Using Jeffreys Prior. Advances in Neural Information Processing Systems. Edited by: Dietterich TG, Becker S, Ghahramani Z. 2002, Cambridge, MA , MIT Press, 14:Google Scholar
- Figueiredo M: Unsupervised sparse regression. In Nonlinear Estimation and Classification. Edited by: Denison DD, Hansen MH, Holmes CC, Mallick B, Yu B. 2003, Springer-Verlag, 171: 474.View ArticleGoogle Scholar
- Kiiveri HT: A Bayesian approach to variable selection when the number of variables is very large. In Science and Statistics: A Festschrift for Terry Speed. Edited by: Goldstein DR 2003, Hayward, California, Institute of Mathematical Statistics, 41: 127-143.View ArticleGoogle Scholar
- Dempster A: Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society, B. 1977, 39: 1-21.Google Scholar
- Team RDC: R: A Language and Environment for Statistical Computing. 2005, R Foundation for Statistical ComputingGoogle Scholar
- Zhang S, Jin JM: Computation of special functions. 1996, New York, John Wiley, xxvi, 717 p-Google Scholar
- Abramowitz M, Stegun IA: Handbook of mathematical functions with formulas, graphs, and mathematical tables. 1972, Washington , U.S. G.P.O., xiv, 1046 p-10thGoogle Scholar
- Park MY, Hastie T, Tibshirani R: Averaged gene expressions for regression. Biostatistics. 2007, 8 (2): 212-227. 10.1093/biostatistics/kxl002.View ArticlePubMedGoogle Scholar
- Zhang T, Oles F: Text Categorization Based on Regularized Linear Classification Methods. Information Retrieval. 2001, 4 (1): 5-31. 10.1023/A:1011441423217.View ArticleGoogle Scholar
- Ambroise C, McLachlan GJ: Selection bias in gene extraction on the basis of microarray gene-expression data. Proceedings of the National Academy of Sciences of the United States of America. 2002, 99 (10): 6562-6566. 10.1073/pnas.102102699.PubMed CentralView ArticlePubMedGoogle Scholar
- Zhu JX, McLachlan GJ, Ben-Tovim Jones L, Wood IA: On selection biases with prediction rules formed from gene expression data. Journal of Statistical Planning and Inference. 2008, 138: 374-386. 10.1016/j.jspi.2007.06.003.View ArticleGoogle Scholar
- Spira A, Beane J, Shah V, Liu G, Schembri F, Yang X, Palma J, Brody JS: Effects of cigarette smoke on the human airway epithelial cell transcriptome. Proceedings of the National Academy of Sciences of the United States of America. 2004, 101 (27): 10143-10148. 10.1073/pnas.0401422101.PubMed CentralView ArticlePubMedGoogle Scholar
- Keerthi SS, Shevade SK, Bhattacharyya C, Murthy KRK: Improvements to Platt's SMO algorithm for SVM classifier design. Neural Computation. 2001, 13 (3): 637-649. 10.1162/089976601300014493.View ArticleGoogle Scholar
- Platt JC: Fast training of support vector machines using sequential minimal optimization. Advances in kernel methods support vector learning. Edited by: Schèolkopf B, Burges CJC, Smola AJ. 1999, Cambridge, Mass., MIT Press, vii, 376 p.Google Scholar
- Schèolkopf B, Burges CJC, Smola AJ: Advances in kernel methods support vector learning. 1999, Cambridge, Mass., MIT Press, vii, 376 p-Google Scholar
- Guyon I, Weston J, Barnhill S, Vapnik V: Gene selection for cancer classification using support vector machines. Machine Learning. 2002, 46 (1-3): 389-422. 10.1023/A:1012487302797.View ArticleGoogle Scholar
- Breiman L: Random forests. Machine Learning. 2001, 45 (1): 5-32. 10.1023/A:1010933404324.View ArticleGoogle Scholar
- Tomlins SA, Mehra R, Rhodes DR, Cao X, Wang L, Dhanasekaran SM, Kalyana-Sundaram S, Wei JT, Rubin MA, Pienta KJ, Shah RB, Chinnaiyan AM: Integrative molecular concept modeling of prostate cancer progression. Nature genetics. 2007, 39 (1): 41-51. 10.1038/ng1935.View ArticlePubMedGoogle Scholar
- McCullagh P, Nelder JA: Generalized linear models. Monographs on statistics and applied probability; 37. 1989, London; New York, Chapman and Hall, xix, 511 p-2ndGoogle Scholar
- Ross ME, Zhou X, Song G, Shurtleff SA, Girtman K, Williams WK, Liu HC, Mahfouz R, Raimondi SC, Lenny N, Patel A, Downing JR: Classification of pediatric acute lymphoblastic leukemia by gene expression profiling. Blood. 2003, 102 (8): 2951-2959. 10.1182/blood-2003-01-0338.View ArticlePubMedGoogle Scholar
- Dave SS, Wright G, Tan B, Rosenwald A, Gascoyne RD, Chan WC, Fisher RI, Braziel RM, Rimsza LM, Grogan TM, Miller TP, LeBlanc M, Greiner TC, Weisenburger DD, Lynch JC, Vose J, Armitage JO, Smeland EB, Kvaloy S, Holte H, Delabie J, Connors JM, Lansdorp PM, Ouyang Q, Lister TA, Davies AJ, Norton AJ, Muller-Hermelink HK, Ott G, Campo E, Montserrat E, Wilson WH, Jaffe ES, Simon R, Yang L, Powell J, Zhao H, Goldschmidt N, Chiorazzi M, Staudt LM: Prediction of survival in follicular lymphoma based on molecular features of tumor-infiltrating immune cells. The New England journal of medicine. 2004, 351 (21): 2159-2169. 10.1056/NEJMoa041869.View ArticlePubMedGoogle Scholar
- Hinds DA, Stuve LL, Nilsen GB, Halperin E, Eskin E, Ballinger DG, Frazer KA, Cox DR: Whole-genome patterns of common DNA variation in three human populations. Science. 2005, 307 (5712): 1072-1079. 10.1126/science.1105436.View ArticlePubMedGoogle Scholar
- Hapmap. [http://www.hapmap.org]
- GeneRave Download. [https://www.bioinformatics.csiro.au/GeneRave/index.shtml]

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.