• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Analysis Factor

The Analysis Factor

Statistical Consulting, Resources, and Statistics Workshops for Researchers

  • Home
  • About
    • Our Programs
    • Our Team
    • Our Core Values
    • Our Privacy Policy
    • Employment
    • Guest Instructors
  • Membership
    • Statistically Speaking Membership Program
    • Login
  • Workshops
    • Online Workshops
    • Login
  • Consulting
    • Statistical Consulting Services
    • Login
  • Free Webinars
  • Contact
  • Login

Models for Repeated Measures Continuous, Categorical, and Count Data

by Karen Grace-Martin 2 Comments

Lately, I’ve gotten a lot of questions about learning how to run models for repeated measures data that isn’t continuous.

Mostly categorical. But once in a while discrete counts.

A typical study is in linguistics or psychology where each subject is asked to answer some Yes/No question on each of many trials.  Each trial contains a different stimulus, each of which represents some combination of conditions.

For example, the participant may be asked to pronounce a word on each trial.  The outcome is whether or not they pronounce it correctly and each word is either common or uncommon and either long or short.

So one question I’ve been asked a lot is whether we cover these models in our upcoming Repeated Measure Workshop, and if not, how to learn them.

The direct answer is no, we don’t cover models with categorical or count responses.  In order to model a repeated measured data set with a categorical response, you’re going to need to use either a GEE or a Generalized Linear Mixed Model (GLMM).

But that quick answer may not tell you the whole story.

GLMMs are more complicated than linear mixed models.  First, you need to understand generalized linear models, like logistic and negative binomial regression.  That means concepts like odds ratios, link functions, maximum likelihood.

For most people, that’s the easier part.

You also need to understand mixed models for repeated measures.  That means concepts like random intercepts and slopes, covariance structures for G and R matrices, fixed and random factors, marginal models. 

That’s the hard part.

It’s harder, mainly because these models are so flexible.  Very slight differences in design or data collection can require different specifications for the model.  And repeated measures add a different layer of complication.

This is the part most people get stuck on.

Pretty much everything you need to know about linear mixed models is also important for GLMMs.

It’s true that the coding is a little different in GLMM procedures than in linear mixed model procedures.  This is true in pretty much every stat package.

So if you need to learn how to analyze a repeated measures logistic regression, where to start depends what you already understand. 

If you already understand linear mixed models, but want to know how to code and apply those concepts to a binary or count outcome, then you are 90% of the way there.  In that case, focus on learning Generalized Linear Models and coding.

But if you are getting stuck on the repeated or mixed part of the GLMM, focus on that–it’s the part with the most moving parts and that requires most of the decisions in the modeling.

What is GLMM and When Should You Use It?
When you have multilevel or repeated data and normality just isn't happening, you may need GLMM. Get started learning Generalized Linear Mixed Models and when and how to apply them to your data.

Tagged With: generalized linear mixed model

Related Posts

  • Regression Diagnostics in Generalized Linear Mixed Models
  • Understanding Random Effects in Mixed Models
  • What is the Purpose of a Generalized Linear Mixed Model?
  • How to Get SPSS GENLINMIXED Output Without the Model Viewer

Reader Interactions

Comments

  1. Heba says

    November 11, 2018 at 11:38 am

    Hello

    I have a data for two populations
    Asked both same 36 questions,
    And count how many of pop.1 answers ( a ) choice for each question.
    And i want to compare between two groups

    Please advise me suitable test for such count data

    Reply
  2. Getachew Tekle says

    September 17, 2018 at 9:48 am

    I am pleased to inform you that this is the best way of addressing world’s community statistical difficulties including me. So, I am very happy and interested in your efforts made. Saying this, I have some difficulties in Bayesian approach in Win Bugs or R. May be helped, please?

    Regards!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Please note that, due to the large number of comments submitted, any questions on problems related to a personal study/project will not be answered. We suggest joining Statistically Speaking, where you have access to a private forum and more resources 24/7.

Primary Sidebar

Free Webinars

Binary, Ordinal, and Multinomial Logistic Regression for Categorical Outcomes (Signup)

This Month’s Statistically Speaking Live Training

  • April Member Training: Statistical Contrasts

Upcoming Workshops

  • Logistic Regression for Binary, Ordinal, and Multinomial Outcomes (May 2021)
  • Introduction to Generalized Linear Mixed Models (May 2021)

Read Our Book



Data Analysis with SPSS
(4th Edition)

by Stephen Sweet and
Karen Grace-Martin

Statistical Resources by Topic

  • Fundamental Statistics
  • Effect Size Statistics, Power, and Sample Size Calculations
  • Analysis of Variance and Covariance
  • Linear Regression
  • Complex Surveys & Sampling
  • Count Regression Models
  • Logistic Regression
  • Missing Data
  • Mixed and Multilevel Models
  • Principal Component Analysis and Factor Analysis
  • Structural Equation Modeling
  • Survival Analysis and Event History Analysis
  • Data Analysis Practice and Skills
  • R
  • SPSS
  • Stata

Copyright © 2008–2021 The Analysis Factor, LLC. All rights reserved.
877-272-8096   Contact Us

The Analysis Factor uses cookies to ensure that we give you the best experience of our website. If you continue we assume that you consent to receive cookies on all websites from The Analysis Factor.
Continue Privacy Policy
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

SAVE & ACCEPT