Thanks for all the advices.
I fixed the ado-file up, everything works but a litlle problem arised.
The sample of ISCO88 in the dataset includes 34.455 cases,
while the sample is reduced after transformed ISCO88 into ISEI (thanks Maarten!)
to 33.964. So some cases seemed to be droped.
The overall sample in ISSP2005 is 43.440.
Regarding the missings for
a)ISEI:
90 | 7 0.02 78.19
. | 9,476 21.81 100.00
------------+-----------------------------------
Total | 43,440 100.00
and b) ISCO88:
9340 | 31 0.07 79.32
.a | 599 1.38 80.70
.b | 305 0.70 81.40
.c | 271 0.62 82.02
.d | 2,234 5.14 87.16
.e | 5,576 2.84 100.00
------------+-----------------------------------
Total | 43,440 100.00
So I am wondering what happend to the cases? Why is there a reduction?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/