1. Home
  2. Hierarchical Generalized Linear Models (HGLM)

Hierarchical Generalized Linear Models (HGLM)

Select menu: Stats | Regression Analysis | Mixed Models | Hierarchical Generalized Linear Models

This menu provides an interface to the facilities for fitting hierarchical generalized linear models (HGLMs) in the HG-system of John Nelder and Youngjo Lee. 

  1. After you have imported your data, from the menu select 
    Stats | Regression Analysis | Mixed Models | Hierarchical Generalized Linear Models.
    OR
    Stats | Mixed Models (REML) | Hierarchical Generalized Linear Models.
  2. Fill in the fields as required then click Run.

You can set additional Options then after running, you can save the results by clicking Save.

These models extend generalized linear models (GLMs) to include additional random terms in the linear predictor. They include generalized linear mixed models (GLMMs) as a special case, but do not constrain the additional terms to follow a Normal distribution and to have an identity link (as in the GLMM). For example, if the basic generalized linear model is a log-linear model (Poisson distribution and log link), a more appropriate assumption or the additional random terms might be a gamma distribution and a log link (for further details see the Methods section of the help information on HGANALYSE).

Available data

This lists data structures appropriate to the current input field. The contents will change as you move from one field to the next. Double-click on a name to copy it to the current input field or type the name.

Response variate

Specifies the response variate (dependent variate). This can be entered in directly or can be selected from those within the Available data list.

Fixed model

Specifies the fixed model terms for the HGLM.

Model

The terms to be fitted to the fixed model are specified by entering a model formula.

Distribution

List of available error distributions for the fixed model (this corresponds to error distribution of a GLM). If you select the binomial distribution, then you must supply the Binomial totals in the space provided.

Lists the available link functions for the fixed model.

Binomial totals

For a binomial distribution, this specifies a variate which contains the number of units the response was obtained from. The values in this must be greater than or equal to the corresponding values in the Response variate.

Random model

Defines the random model for a hierarchical generalized linear model.

Model

The terms to be fitted to the random model are specified by entering a model formula.

Distribution

List of available error distributions for the random model.

Lists the available link functions for the fixed model.

Operators

This provides a quick way of entering operators in the fixed and random model formulas. Double-click on the required symbol to copy it to the current input field. You can also type in operators directly. See model formula for a description of each.

See also

Updated on March 29, 2019

Was this article helpful?