Mixed and Multilevel Models

Specifying Fixed and Random Factors in Mixed Models

January 10th, 2022 by

One of the difficult decisions in mixed modeling is deciding which factors are fixed and which are random. And as difficult as it is, it’s also very important. Correctly specifying the fixed and random factors of the model is vital to obtain accurate analyses.

Now, you may be thinking of the fixed and random effects in the model, rather than the factors themselves, as fixed or random. If so, remember that each term in the model (factor, covariate, interaction or other multiplicative term) has an effect. We’ll come back to how the model measures the effects for fixed and random factors.

Sadly, the definitions in many texts don’t help much with decisions to specify factors as fixed or random. Textbook examples are often artificial and hard to apply to the real, messy data you’re working with.

Here’s the real kicker. The same factor can often be fixed or random, depending on the researcher’s objective. (more…)


Member Training: Matrix Algebra for Data Analysts: A Primer

August 31st, 2021 by

If you’ve been doing data analysis for very long, you’ve certainly come across terms, concepts, and processes of matrix algebra.  Not just matrices, but:

  • Matrix addition and multiplication
  • Traces and determinants
  • Eigenvalues and Eigenvectors
  • Inverting and transposing
  • Positive and negative definite

(more…)


Member Training: Goodness of Fit Statistics

March 4th, 2021 by


What are goodness of fit statistics? Is the definition the same for all types of statistical model? Do we run the same tests for all types of statistic model?

(more…)


Member Training: A Gentle Introduction To Random Slopes In Multilevel Models

December 31st, 2020 by

A Gentle Introduction to Random Slopes in Multilevel Modeling

…aka, how to look at cool interaction effects for nested data.

Do the words “random slopes model” or “random coefficients model” send shivers down your spine? These words don’t have to be so ominous. Journal editors are increasingly asking researchers to analyze their data using this particular approach, and for good reason.

(more…)


Member Training: Missing Data

December 1st, 2020 by

Missing data causes a lot of problems in data analysis. Unfortunately, some of the “solutions” for missing data cause more problems than they solve.

(more…)


Three Designs that Look Like Repeated Measures, But Aren’t

June 19th, 2020 by

Repeated measures is one of those terms in statistics that sounds like it could apply to many design situations. In fact, it describes only one.

A repeated measures design is one where each subject is measured repeatedly over time, space, or condition on the dependent variable

These repeated measurements on the same subject are not independent of each other. They’re clustered. They are more correlated to each other than they are to responses from other subjects. Even if both subjects are in the same condition.  (more…)