Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1307

Mixed (aka multilevel or hierarchical) models are linear models that include both fixed effects and random effects. They are used to model longitudinal or nested data.

18 votes
Accepted

Pitfalls of linear mixed models

This is a good question. Here are some common pitfalls: Using standard likelihood theory, we may derive a test to compare two nested hypotheses, $H_0$ and $H_1$, by computing the likelihood ratio t …
suncoolsu's user avatar
  • 6,712
9 votes

Can random effects apply only to categorical variables?

This is a good and a very basic question. The interpretation of random effects is very domain-specific and is dependent on the modeling choice (the statistical model or being a Bayesian or frequentis …
suncoolsu's user avatar
  • 6,712
24 votes
Accepted

How do I fit a multilevel model for over-dispersed poisson outcomes?

You can fit multilevel GLMM with a Poisson distribution (with over-dispersion) using R in multiple ways. Few R packages are: lme4, MCMCglmm, arm, etc. A good reference to see is Gelman and Hill (2007) …
suncoolsu's user avatar
  • 6,712
3 votes

How can I treat blocks in a split plot design?

The way you are thinking is one of the ways most people interpret blocks. But the bigger picture which sometimes people don't notice is: Blocks are a way to model a correlation structure. They let us …
suncoolsu's user avatar
  • 6,712
6 votes

Repeated measures ANOVA in R and Bonferroni adjusted intervals

You should provide more details about your data. From the limited details provided by you, assuming you have a data frame df which has response, trt, time, and subject information, then these are many …
suncoolsu's user avatar
  • 6,712