* Process data for both first stage (2001) and second stage (2002).
* Combine information on school and qualifications, for compatibility with previous WAS surveys.
if (rs08=1) educ= 0.
if ((rs08=2) & rs09<5 ) educ=10. /* match IMRB 1997 category.
if ((rs08=2) & (rs09>4 & rs09<7)) educ=20. /* new category, from 2001.
if ((rs08=2) & rs09=7 ) educ=30. /* complete primary.
if ((rs08=3 or rs08=4) & rs09<7) educ=40. /* incomplete secondary.
if ((rs08=3 or rs08=4) & rs09=7) educ=55. /* SSC.
if (rs08=5 or rs08=6) educ=65. /* college: unclear what rs09 means.
if (rs08=7) educ=72. /* college: unclear what rs09 means.
if (rs08=8) educ=75. /* college: unclear what rs09 means.
if ((rs08=9) & rs09<7) educ=77. /* incomplete degree.
if ((rs08=9) & rs09=7) educ=80.
if (rs08=10) educ=59.
val lab educ 0 "no school/illiterate"
10 "school up to 4 years" 20 "over 4 years primary school"
30 "primary school completed" 40 "secondary school, incomplete"
55 "matric/SSC(Secondary School Cert)"
65 "college not graduate (eg technical)" 67 "Secretarial"
72 "college diploma D1/D2" 75 "college diploma D3"
77 "incomplete degree" 80 "graduate/above, general"
85 "graduate/above, professional" 59 "other"
-2 "not disclosed" -3 "too young to be at school".
* My attempt at a scale: 0=no school to 100=20 years (i.e. PhD).
* Educ=40 should be equivalent to '5 to 9 years of educ' in IMRB 1997.
crosstab rs08 by rs09. /* What do rs09 values mean? (only 7="graduate" is labelled).
* For Indonesia, rs09 indicates if study completed - so, could make more detailed version educ variable.
freq rs13.
*Simple measure of class, similar to those used by market research firms (IMRB, Markinor, Marplan).
if (rs04<16) job= -3.
if ( rs13<4) job=65.
if (rs10=1 or rs13=4) job=27.
if (rs10=2) job= 2.
if (rs10=3) job=15.
if (rs10=4) job= 9.
if (rs10=5) job= 7.
if (rs10=6) job= 0.
if (rs12y>900 and rs12y<999) job=21.
if (rs12y>800 and rs12y<899) job=24.
if (rs12y>600 and rs12y<799) job=29.
if (rs12y>400 and rs12y<599) job=35.
if (rs12y>300 and rs12y<399) job=75.
if (rs12y>200 and rs12y<299) job=45.
if (rs12y>100 and rs12y<199) job=95.
if (rs12y>521 and rs12y<524 & rs13<4) job=59.
if (rs12y>900 and rs12y<999 & rs13<4) job=51.