** user=**** ** password=**** ** package=spss ** project=lis set printback=listing . * SPSS US LIS 1991 : Example CAMSIS matching to US 91 data. get file= us91p . * Current occ unit (isco88's)=pocc. * (incomplete) Employment status info from ptypewk only. * Derive employment status indicator. compute status=ptypewk. recode status (1, 8=5) (2,3,4=4) (5=1) (6=3) (7=2) (else=9) . add value label status 1 "Self-Employed, not incorporated" 2 "Family Worker" 3 "Self-Employed, incorporated" 4 "Government Employee" 5 "Other Employee" 9 "Unknown". variable label status "Employment status". cro status by psex. * Key indexing variable is occbst. compute occbst=-999. if (pocc > 0 ) occbst=pocc*10 + status . temp. select if (pocc > 0). means tables=occbst by status . * Match with CAMSIS file using occbst as key. sort cases by occbst. sav out= cstemp . get file="u:/camsis/csusis91.sav" . descriptives var=all. sort cases by occbst. match files table=* /in=csocc /file=cstemp /in=source /by=occbst. fre var=csocc source. cro csocc by source. select if (source=1). * (this removes those occbst values which are not * represented in the LIS sample). cro source by psex. * Current values are within gender. * also can make a cross-gender CAMSIS variable : . compute cgentcs=-999. if (psex=1) cgentcs=htcs . if (psex=2) cgentcs=wtcs . compute cgenscs=-999. if (psex=1) cgenscs=hscs . if (psex=2) cgenscs=wscs . descriptives var=occbst cgentcs cgenscs siops isei . temp. select if (pocc > 0). descriptives var= occbst cgentcs cgenscs siops isei . temp. select if (pocc > 0 & siops > 0). descriptives var= occbst cgentcs cgenscs siops isei . * note that the last summary shows us that a handful of * cases have occs and camsis scores but have missing * siops scores by the ISMF translation. * Quick assessment: compare values by a US education recode. compute educ=peduc. recode educ (1=1) (2,3,4=2) (5,6,7,8=3) . add value labels educ 1 "Elementary" 2 "Intermediate" 3 "Degree or above" . variable label educ "education categories". fre var=educ . temp. select if (pocc > 0). descriptives var= educ cgentcs cgenscs siops isei . temp. select if (pocc > 0 & siops > 0 & psex=1). means tables= cgentcs cgenscs siops isei by educ /statistics=anova. temp. select if (pocc > 0 & siops > 0 & psex=2). means tables= cgentcs cgenscs siops isei by educ /statistics=anova. /* For interest here are the Eta-squared statistics with education from above: Men: CAMSIS title only : 0.35 CAMSIS title by status : 0.32 SIOPS : 0.39 ISEI: 0.34 Women: CAMSIS title only : 0.27 CAMSIS title by status : 0.25 SIOPS : 0.21 ISEI: 0.19 */