Estimation and Inference for Very Large Linear Mixed Effects Models

K. Gao, A. B. Owen
10/25/2016
23 citations
stat.MEstat.APstat.CO

Official code: kxgao/scalable-crossed-mixed-effects (7 stars, Python, MIT, last commit 2021-10-01).

Abstract

Linear mixed models with large imbalanced crossed random effects structures pose severe computational problems for maximum likelihood estimation and for Bayesian analysis. The costs can grow as fast as $N^{3/2}$ when there are N observations.

Show full abstract

Such problems arise in any setting where the underlying factors satisfy a many to many relationship (instead of a nested one) and in electronic commerce applications, the N can be quite large. Methods that do not account for the correlation structure can greatly underestimate uncertainty. We propose a method of moments approach that takes account of the correlation structure and that can be computed at O(N) cost. The method of moments is very amenable to parallel computation and it does not require parametric distributional assumptions, tuning parameters or convergence diagnostics. For the regression coefficients, we give conditions for consistency and asymptotic normality as well as a consistent variance estimate. For the variance components, we give conditions for consistency and we use consistent estimates of a mildly conservative variance estimate. All of these computations can be done in O(N) work. We illustrate the algorithm with some data from Stitch Fix where the crossed random effects correspond to clients and items.

View on arXivView PDF

Code Implementations(1)

MIT

Scalable estimation for crossed mixed models

72PythonJun 9, 20175 years agoMIT
statistics

Similar Papers

Cite this paper

@article{gao2016estimation,
  title  = {Estimation and Inference for Very Large Linear Mixed Effects Models},
  author = {K. Gao and A. B. Owen},
  year   = {2016},
  eprint = {1610.08088},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1610.08088}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1610.08088.svg)](https://codeofpaper.com/paper/1610.08088)

Discussion