GENLOG

GENLOG is available in the Advanced Statistics option.

GENLOG is a general procedure for model fitting, hypothesis testing, and parameter estimation for any model that has categorical variables as its major components.

GENLOG varlist[BY] varlist [WITH covariate varlist]

 [/CSTRUCTURE=varname]

 [/GRESID=varlist]  

 [/GLOR=varlist]

 [/MODEL={POISSON**  }]
         {MULTINOMIAL}
 
 [/CRITERIA=[CONVERGE({0.001**})][ITERATE({20**})][DELTA({0.5**})] 
                      {n      }           {n   }         {n    }   

            [CIN({95**})] [EPS({1E-8**})]
                 {n   }       {n     }
          
            [DEFAULT]

 [/PRINT=[FREQ**][RESID**][ADJRESID**][DEV**] 
         [ZRESID][ITERATION][COV][DESIGN][ESTIM][CORR]
         [ALL] [NONE]
         [DEFAULT]]

 [/PLOT={DEFAULT**                 }] 
        {RESID([ADJRESID][DEV])    } 
        {NORMPROB([ADJRESID][DEV]) } 
        {NONE                      }  

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

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

 [/DESIGN=effect[(n)] effect[(n)]... effect {BY} effect...] 
                                            {* }

**Default if the subcommand or keyword is omitted.

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

Syntax for the GENLOG command can be generated from the General Loglinear Analysis dialog.

Example

GENLOG DPREF RACE CAMP.