# Generalised linear models

Using the machinery of linear regression to predict in somewhat more general regressions, using least-squares or quasi-likelihood approaches. This means you are still doing something like familiar linear regression, but outside the setting of e.g. linear response and possibly homoskedastic Gaussian noise.

## TODO

Discover the magical powers of log-concavity and what they enable.

## Classic linear models

Consider the original linear model. We have a (column) vector $$\mathbf{y}=[y_1,y_2,\dots,t_n]^T$$ of $$n$$ observations, an $$n\times p$$ matrix $$\mathbf{X}$$ of $$p$$ covariates, where each column corresponds to a different covariate and each row to a different observation.

We assume the observations are assumed to related to the covariates by $\mathbf{y}=\mathbf{Xb}+\mathbf{e}$ where $$\mathbf{b}=[b_1,y_2,\dots,b_p]$$ gives the parameters of the model which we donβt yet know, We call $$\mathbf{e}$$ the βresidualβ vector. Legendre and Gauss pioneered the estimation of the parameters of a linear model by minimising the squared residuals, $$\mathbf{e}^T\mathbf{e}$$, i.e. \begin{aligned}\hat{\mathbf{b}} &=\operatorname{arg min}_\mathbf{b} (\mathbf{y}-\mathbf{Xb})^T (\mathbf{y}-\mathbf{Xb})\\ &=\operatorname{arg min}_\mathbf{b} \|\mathbf{y}-\mathbf{Xb}\|_2\\ &=\mathbf{X}^+\mathbf{y} \end{aligned} where we find the pseudo inverse $$\mathbf{X}^+$$ using a numerical solver of some kind, using one of many carefully optimised methods that exists for least squares.

So far there is no statistical argument, merely function approximation.

However it turns out that if you assume that the $$\mathbf{e}_i$$ are distributed randomly and independently i.i.d. errors in the observations (or at least indepenedent with constant variance), then there is also a statistical justification for this idea;

π more exposition of these. Linkage to Maximum likelihood.

## Generalised linear models

The original extension. Kenneth Tayβs explanation is simple and efficient.

To learn:

• When we can do this? e.g. Must the response be from an exponential family for really real? What happens if not?
• Does anything funky happen with regularisation? what?
• model selection theory

### Response distribution

π What constraints do we have here?

π

### Quaslilikelihood

A generalisation of likelihood of use in some tricky corners of GLMs. used it to provide a unified GLM/ML rationale. I donβt yet understand it. Heyde says :

Historically there are two principal themes in statistical parameter estimation theory

It is now possible to unify these approaches under the general description of quasi-likelihood and to develop the theory of parameter estimation in a very general setting. [β¦]

It turns out that the theory needs to be developed in terms of estimating functions (functions of both the data and the parameter) rather than the estimators themselves. Thus, our focus will be on functions that have the value of the parameter as a root rather than the parameter itself.

## Hierarchical generalised linear models

GLM + hierarchical model = HGLM.

Generalised generalised linear models. Semiparametric simultaneous discovery of some non-linear predictors and their response curve under the assumption that the interaction is additive in the transformed predictors $g(\operatorname{E}(Y))=\beta_0 + f_1(x_1) + f_2(x_2)+ \cdots + f_m(x_m).$

These have now also been generalised in the obvious way.

## Generalised additive models for location, scale and shape

Folding GARCH and other regression models into GAMs.

GAMLSS is a modern distribution-based approach to (semiparametric) regression models, where all the parameters of the assumed distribution for the response can be modelled as additive functions of the explanatory variables

See Yee (2015).

## Vector generalised hierarchical additive models for location, scale and shape

Exercise for the student.

## Generalised estimating equations

π

But see Johnny Hong and Kellie Ottoboni. Is this just the quasi-likelihood thing again?

## GGLLM

GeneralizedΒ² LinearΒ² models unify GLMs with non-linear matrix factorisations.

## References

Atal, B. S. 2006. IEEE Signal Processing Magazine 23 (2): 154β61.
Barbier, Jean, Florent Krzakala, Nicolas Macris, LΓ©o Miolane, and Lenka ZdeborovΓ‘. 2017. arXiv:1708.03395 [Cond-Mat, Physics:math-Ph], August.
Bolker, Benjamin M., Mollie E. Brooks, Connie J. Clark, Shane W. Geange, John R. Poulsen, M. Henry H. Stevens, and Jada-Simone S. White. 2009. Trends in Ecology & Evolution 24 (3): 127β35.
Boyd, Nicholas, Trevor Hastie, Stephen Boyd, Benjamin Recht, and Michael Jordan. 2016. arXiv:1609.06764 [Stat], September.
Breslow, N. E., and D. G. Clayton. 1993. Journal of the American Statistical Association 88 (421): 9β25.
Buja, Andreas, Trevor Hastie, and Robert Tibshirani. 1989. Annals of Statistics 17 (2): 453β510.
Currie, I. D., M. Durban, and P. H. C. Eilers. 2006. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 68 (2): 259β80.
Eichler, Michael, Rainer Dahlhaus, and Johannes Dueck. 2016. Journal of Time Series Analysis, January, n/aβ.
Finke, Axel, and Sumeetpal S. Singh. 2016. arXiv:1606.08650 [Stat], June.
Friedman, Jerome, Trevor Hastie, and Rob Tibshirani. 2010. Journal of Statistical Software 33 (1): 1β22.
Gordon, Geoffrey J. 2002. In Proceedings of the 15th International Conference on Neural Information Processing Systems, 593β600. NIPSβ02. Cambridge, MA, USA: MIT Press.
Hansen, Niels Richard. 2010. arXiv:1003.0848 [Math, Stat], March.
Hastie, Trevor J., and Robert J. Tibshirani. 1990. Generalized Additive Models. Vol. 43. CRC Press.
Heyde, C. C. 1997. Quasi-likelihood and its application a general approach to optimal parameter estimation. New York: Springer.
Lee, Youngjo., John A. Nelder, and Yudi Pawitan. 2006. Generalized linear models with random effects. Monographs on statistics and applied probability 106. Boca Raton, FL: Chapman & Hall/CRC.
Mayr, Andreas, Nora Fenske, Benjamin Hofner, Thomas Kneib, and Matthias Schmid. 2012. Journal of the Royal Statistical Society: Series C (Applied Statistics) 61 (3): 403β27.
McCullagh, Peter. 1984. βGeneralized Linear Models.β European Journal of Operational Research 16 (3): 285β92.
Nelder, J. A., and R. J. Baker. 2004. βGeneralized Linear Models.β In Encyclopedia of Statistical Sciences. John Wiley & Sons, Inc.
Nelder, J. A., and R. W. M. Wedderburn. 1972. βGeneralized Linear Models.β Journal of the Royal Statistical Society. Series A (General) 135 (3): 370β84.
Scandroglio, Giacomo, Andrea Gori, Emiliano Vaccaro, and Vlasios Voudouris. 2013. International Journal of Financial Engineering and Risk Management 1 (1): 6β19.
Stasinopoulos, D. Mikis, Robert A. Rigby, et al. 2007. Journal of Statistical Software 23 (7): 1β46.
Stasinopoulos, Dimitrios, Robert Anthony Rigby, Gillian Heller, Vlasios Voudouris, and Fernanda De Bastiani. n.d. Flexible Regression and Smoothing: Using GAMLSS in R.
Thrampoulidis, Chrtistos, Ehsan Abbasi, and Babak Hassibi. 2015. In Advances in Neural Information Processing Systems 28, edited by C. Cortes, N. D. Lawrence, D. D. Lee, M. Sugiyama, R. Garnett, and R. Garnett, 3402β10. Curran Associates, Inc.
Venables, W. N., and C. M. Dichmont. 2004. Fisheries Research, Models in Fisheries Research: GLMs, GAMS and GLMMs, 70 (2β3): 319β37.
Wedderburn, R. W. M. 1974. Biometrika 61 (3): 439β47.
βββ. 1976. Biometrika 63 (1): 27β32.
Wood, Simon N. 2008. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 70 (3): 495β518.
Xia, Tian, Xue-Ren Wang, and Xue-Jun Jiang. 2014. Statistics 48 (4): 778β86.
Yee, Thomas W. 2015. Vector Generalized Linear and Additive Models. Springer Series in Statistics. New York, NY: Springer New York.
Zoeter, Onno. 2007. In 2007 5th International Symposium on Image and Signal Processing and Analysis, 435β40. Istanbul, Turkey: IEEE.

### No comments yet. Why not leave one?

GitHub-flavored Markdown & a sane subset of HTML is supported.