MIXED

MIXED is available in Custom Tables and Advanced Statistics.

The MIXED procedure fits a variety of mixed linear models. The mixed linear model expands the general linear model used in the GLM procedure in that the data are permitted to exhibit correlation and non-constant variability.

MIXED dependent varname [BY factor list] [WITH covariate list] 

[/CRITERIA = [CIN({95** })] [HCONVERGE({.00000001**  } {ABSOLUTE  })
                  {value}              {value} {RELATIVE**}

             [DFMETHOD({SATTERTHWAITE**} {RESIDUAL} {KENWARDROGER})]

             [LCONVERGE({0**  } {ABSOLUTE**})] [MXITER({100**})]
                        {value} {RELATIVE  }           {n    }

             [MXSTEP({10**})] [PCONVERGE({0** },{ABSOLUTE**})] [SCORING({1**})]
                     {n  }              {value } {RELATIVE  }            {n  }

             [SINGULAR({1E-12**})] ]
                       {value  } 

[/EMMEANS = TABLES ({OVERALL          })]
                    {factor           }
                    {factor*factor ...}
            [WITH (covariate=value [covariate = value ...])
            [COMPARE [({factor})] [REFCAT({value})] [ADJ({LSD**     })] ]
                                          {FIRST}        {BONFERRONI}
                                          {LAST }        {SIDAK     }

[/FIXED = [effect [effect ...]] [| [NOINT] [SSTYPE({1  })] ] ]
                                                   {3**}

[/METHOD = {ML    }]
           {REML**}

[/MISSING = {EXCLUDE**}]
            {INCLUDE  }

[/PRINT = [CORB] [COVB] [CPS] [DESCRIPTIVES] [G] [HISTORY(1**)] [LMATRIX] [R]
                                                         (n  )
          [SOLUTION] [TESTCOV]]

[/RANDOM = effect [effect ...]
           [| [SUBJECT(varname[*varname[*...]])] [COVTYPE({VC**      })] [SOLUTION]]
                                                          {covstruct+}

[/REGWGT = varname]

[/REPEATED = varname[*varname[*...]] | SUBJECT(varname[*varname[*...]]) KRONECKER(varname[*varname[*...]])
             [COVTYPE({DIAG**    })]]
                      {covstruct†}
             [SPCOORDS(varname...)]

[/SAVE = [tempvar [(name)] [tempvar [(name)]] ...]

[/OUTFILE [EBLUPS('savfile' | dataset)]
[FILE_SEPARATE({FALSE**} {TRUE})]]

[/TEST[(valuelist)] = 
    ['label']  effect valuelist ... [| effect valuelist ...] [divisor=value]]
    [; effect valuelist ... [| effect valuelist ...] [divisor=value]]

[/TEST[(valuelist)] = ['label'] ALL list [| list] [divisor=value]]
                      [; ALL list [| list] [divisor=value]]

** Default if the subcommand is omitted.

covstruct can take the following values: AD1, AR1, ARH1, ARMA11, CS, CSH, CSR, DIAG, FA1, FAH1, HF, ID, TP, TPH, UN, UNR, VC.

For the REPEATED subcommand, covstruct can take the following additional values: SP_POWER, SP_EXPONENTIAL, SP_GAUSSIAN, SP_LINEAR, SP_LINEARLOG, SP_SPHERICAL, UN_AR1, UN_CS, UN_UN.

The KRONECKER keyword should be used only when COVTYPE is defined as UN_AR1, UN_CS, or UN_UN.

When both KRONECKER and REPEATED are in effect, they may or may not have common fields, but their values cannot be exactly the same (even when the values are not in the same order).

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the MIXED command can be generated from the Linear Mixed Models dialog box.

Release History

Release 29.0.1

  • OUTFILE subcommand entry added.

Release 29

  • The output includes pseudo-R2 measures and the intra-class correlation coefficient (when appropriate).

Release 28.0.1

  • Default convergence criterion in effect changed from PCONVERGE(.000001, ABSOLUTE) to HCONVERGE(.00000001, RELATIVE).

Release 25

  • SP_POWER, SP_EXPONENTIAL, SP_GAUSSIAN, SP_LINEAR, SP_LINEARLOG, and SP_SPHERICAL options added to the COVTYPE keyword on the REPEATED subcommand.
  • SPCOORDS keyword introduced on the REPEATED subcommand.
  • SOLUTION keyword introduced on the RANDOM subcommand.

Subscription (April 2018 update)

  • DFMETHOD keyword introduced on the CRITERIA subcommand.
  • KRONECKER keyword added to the REPEATED subcommand. The keyword should be used only when COVTYPE is one of three following Kronecker types.
  • UN_AR1, UN_CS, and UN_UN options added to the COVTYPE keyword on the REPEATED subcommand.

Example

MIXED Y.