GENLOG fsex housing vote /MODEL=POISSON /DESIGN fsex housing vote /SAVE ADJRESID .This will create a variable ADJ_n where n is a number containing the adjusted residuals.
temp. select if fsex=1. tabu housing vote adj_1. temp. select if fsex=2. tabu housing vote adj_1.
Something similar can be achieved using the menu interface, via Statistics Custom Tables Basic Tables; the macro handles the case for two classifying variables.
Men +----------------+---------------------------------------+ | | VOTE | | +---------+---------+---------+---------+ | |Conservat| Labour | Lib-dem | Other | | |ive | | | | | +---------+---------+---------+---------+ | | Mean | Mean | Mean | Mean | +----------------+---------+---------+---------+---------+ |HOUSING | | | | | |Owned/mortgage | | | | | | Adjusted | | | | | | Residual | 8.65 | -2.87 | -2.32 | -.22 | |LA etc rented | | | | | | Adjusted | | | | | | Residual | -10.05 | 4.81 | -4.58 | .51 | |Private rented | | | | | | Adjusted | | | | | | Residual | -.18 | .79 | 1.01 | .32 | +----------------+---------+---------+---------+---------+ Women +----------------+---------+---------+---------+---------+ |HOUSING | | | | | |Owned/mortgage | | | | | | Adjusted | | | | | | Residual | 3.62 | -8.63 | 4.57 | -2.09 | |LA etc rented | | | | | | Adjusted | | | | | | Residual | -7.51 | 12.35 | -.85 | 2.28 | |Private rented | | | | | | Adjusted | | | | | | Residual | -2.92 | .36 | .80 | 1.13 | +----------------+---------+---------+---------+---------+
Loglinear Analysis Unit 4
|