MIXREG: a computer program for mixed-effects regression analysis with autocorrelated errors

Comput Methods Programs Biomed. 1996 May;49(3):229-52. doi: 10.1016/0169-2607(96)01723-3.


MIXREG is a program that provides estimates for a mixed-effects regression model (MRM) for normally-distributed response data including autocorrelated errors. This model can be used for analysis of unbalanced longitudinal data, where individuals may be measured at a different number of timepoints, or even at different timepoints. Autocorrelated errors of a general form or following an AR(1), MA(1), or ARMA(1,1) form are allowable. This model can also be used for analysis of clustered data, where the mixed-effects model assumes data within clusters are dependent. The degree of dependency is estimated jointly with estimates of the usual model parameters, thus adjusting for clustering. MIXREG uses maximum marginal likelihood estimation, utilizing both the EM algorithm and a Fisher-scoring solution. For the scoring solution, the covariance matrix of the random effects is expressed in its Gaussian decomposition, and the diagonal matrix reparameterized using the exponential transformation. Estimation of the individual random effects is accomplished using an empirical Bayes approach. Examples illustrating usage and features of MIXREG are provided.

Publication types

  • Research Support, U.S. Gov't, P.H.S.

MeSH terms

  • Adolescent
  • Bayes Theorem
  • Biometry
  • Child
  • Cluster Analysis
  • Data Interpretation, Statistical
  • Evaluation Studies as Topic
  • Humans
  • Longitudinal Studies
  • Models, Statistical
  • Regression Analysis*
  • Smoking Prevention
  • Software*