/********************* senicreg97e.sps *******************/ include 'senicread97.sps'. /* Reads & Labels data subtitle 'SENIC DATA: Multiple Regression with Interactions'. Comment: rg1 to rg3 make South the (modal) reference category compute rg1 = r1. compute rg2 = r2. recode region (missing=sysmis) (4=1) (else=0) into rg3. /* Create Z-scores EASILY descriptives / variables = stay age nbeds census nurses service xratio culratio / save. /* Saves zstay ... zculrati /* Interactions are represented by products */ compute agestay = zage*zstay. compute staybeds = zstay * znbeds. compute staycen = zstay * zcensus. /* etc. regression variables = zstay to zculrati mschool rg1 to rg3 infrisk staycen /dependent=infrisk /enter. /* Note use of "to"