Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dirmeier/mixed-models

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mixed models

Reference implementations for (generalized) linear mixed models.

About

Concise reference implementations for fitting frequentist (generalized) linear mixed models. The implementations are not really efficient and don't use results from contemporary research (i.e., lme4's PLS and PIRLS). Specifically, the following methods are used:

  • For LMMs first the random effects are marginalized out and the variance parameters of the errors and of the random effects are estimated. Having the variance components estimated, Henderson's mixed model equations are used to estimate the fixed effects and predict random effects.

  • For GLMMs an IRLS approach is used. In the first step of each iteration variance components are estimated by using a Laplace approximation to the likelihood of the marginal model. In the second step we estimate the fixed effects and predict random effects using Henderson's mixed mdoel equations on working responses.

Author

Simon Dirmeier simd23 @ pm dot me

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.