2.76 Generalized Linear Mixed Model(Pro)

Contents

Summary

The Generalized Linear Mixed Model app is used to fit a generalized linear mixed model, which drops the normality and identity-link assumptions of Linear Mixed Effects Model and extend it to non-Gaussian and non-linear data.

Note:

The app requires R software (recommended version 4.4.1) and package (lme4). If R is not yet installed on your computer, please follow the steps in Description > Installation section on this page to install it.


Relative Topics:

Tutorial

Sample File

This tutorial uses the sample OPJU file shipped with the app. Right click the Generalized Linear Mixed Model app icon GLMM Icon.png in the Apps Gallery (docked at the right side of Origin workspace), and choose Show Samples Folder from the context menu. In the folder that opens, drag-and-drop the project file Generalized Linear Mixed Model Sample.opju into Origin.

Note: If you want to save the OPJU after changing, it is recommended saving it to a different folder location (e.g. User Files Folder) or with a different name.

GLMM Sample Data.png

To study the begging behaviour of barn-owl nestlings, researchers collected negotiation calls during the 30s before a parent returned (column E in [Book1]Sheet1), and recorded the potential effecting factors including the nest locations (column A), food treatment - satiated or food-deprived (column B), sex of the feeding parent (column C), and brood size (column D). Generalized Linear Mixed Model is used to examine how these factors relate to the call rate.

Steps

  1. Click the Generalized Linear Mixed Model app icon in the Apps Gallery to open the dialog.
  2. In the Input tab, set as follow:
    • Dependent Variable = Col(E)"SiblingNegotiation"
    • Continuous Variables = Col(D)"BroodSize"
    • Categorical Variables = Col(B)"FoodTreatment" and Col(C)"SexParent"
      • Specify Deprived and Female for Reference Factor Level of FoodTreatment and SexParenet, respectively.
    • 1st Subject Variable = Col(A)"Nest"
      GLMM Tutorial Input Tab.png
  3. In the Settings tab, set as follow:
    • Family Function = Poisson
    • Under Fixed Effects group, choose Custom Model for Model Type, and then choose BroodSize, FoodTreatment, SexParent, FoodTreatment*SexParent in the popped-up dialog for Model.
    • Check Include Intercept checkbox for both Fixed and Random Effects.
    GLMM Tutorial Settings Tab.png
  4. In the Quantities tab, check to output all the quantities.
    GLMM Tutorial Quantities Tab.png
  5. In the Plots tab, check all plots.
    GLMM Tutorial Plots Tab.png
  6. Click OK.

Results and Explanations