* HEILSA OG LÍÐAN ÍSLENDINGA 2007: FRAMKVÆMDASKÝRSLA - VIÐAUKI D * útg. 5.05.2011. * VIÐAUKI D - SPSS syntax skipanir fyrir R-breytur, * Fjallað er um R-breytur í megintexta skýrslunnar. ** Eftirfarandi syntax-skipanir voru unnar fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007 en ganga einnig fyrir sameinuð gögn kannana frá 2007 og 2009. ** Eftirfarandi breytur eru reiknaðar hér fyrir neðan: ** r5a-r, r6xa-t, r7xa-j, r8a-e, r10a-s, r11a-f, r13, r14, r15, r16, r17, r18, r21, r22, ** r23, r24a-e, r45, r46, r48, r50, r71a-d, r72a-e, r75, r76x, r76, r78, r79, r80, r82a-c, r88, r91, r93a-j, r95a-g, r96, r92a-k, r97a-m, r98a-i ** Ef þessar breytur eru ekki vistaðar í þá gagnaskrá sem unnið er með er hægt að sækja viðeigandi skipanir í þetta skjal. ** Stjörnumerktur texti, með "*" eða "**" fyrir framan, er ekki skipanir. Þennan texta er óhætt að keyra á opin gögn ásamt skipunum (ekki stjörnumerkt). ******************************************************************************************************************************************************** ** s5 --> r5. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. * Bætt við upplýsingum um þá sem líklega eru að svara nei á spurningum með því að sleppa að svara. * Ef einstaklingur svarar JÁ á a.m.k einni spurningu (s11a-f) en svarar ekki hinum á hann líklega við NEI og fær því gildið 4 á þeim spurningum. missing values s5a to s5r (12 thru 9999). compute s5fjsj = nvalid(s5a to s5q). compute s5JA =0. compute s5NEI =0. exe. vector s5SJ = s5a to s5q. loop #i = 1 to 17. if s5SJ(#i) le 2 s5JA = s5JA + 1. if s5SJ(#i) = 3 s5NEI = s5NEI + 1. end loop. compute JASV5 = 0. if s5fjsj ne 17 and s5NEI = 0 and s5JA ge 1 JASV5 = 1. exe. missing values s5a to s5r (). compute r5a = s5a . compute r5b = s5b . compute r5c = s5c . compute r5d = s5d . compute r5e = s5e . compute r5f = s5f . compute r5g = s5g . compute r5h = s5h . compute r5i = s5i . compute r5j = s5j . compute r5k = s5k . compute r5l = s5l . compute r5m = s5m . compute r5n = s5n . compute r5o = s5o . compute r5p = s5p . compute r5q = s5q . compute r5r = s5r . vector AST5 = s5a to s5r. vector RAST5 = r5a to r5r. loop #i = 1 to 18. if AST5(#i) = 9999 and JASV5 = 1 RAST5(#i) = 4. end loop. exe. * Spurning eingöngu ætluð konum, þessvegna eiga þeir karlar sem voru missing að vera það áfram. if s73 = 1 and s5r = 9999 r5r = 9999. exe. var label r5a "Hefur ...truflað daglegt líf þitt? - Blinda eða verulega skert sjón ". var label r5b "Hefur ...truflað daglegt líf þitt? - Heyrnarleysi eða verulega skert heyrn ". var label r5c "Hefur ...truflað daglegt líf þitt? - Málleysi eða málskerðing/talskerðing ". var label r5d "Hefur ...truflað daglegt líf þitt? - Skert hreyfigeta ". var label r5e "Hefur ...truflað daglegt líf þitt? - Þrekleysi ". var label r5f "Hefur ...truflað daglegt líf þitt? - Vöðvabólga ". var label r5g "Hefur ...truflað daglegt líf þitt? - Verkir í baki/herðum ". var label r5h "Hefur ...truflað daglegt líf þitt? - Verkir í handleggjum ". var label r5i "Hefur ...truflað daglegt líf þitt? - Verkir í fótleggjum ". var label r5j "Hefur ...truflað daglegt líf þitt? - Tíðir höfuðverkir ". var label r5k "Hefur ...truflað daglegt líf þitt? - Tannpína ". var label r5l "Hefur ...truflað daglegt líf þitt? - Verkir í kvið ". var label r5m "Hefur ...truflað daglegt líf þitt? - Andþyngsli ". var label r5n "Hefur ...truflað daglegt líf þitt? - Svefnerfiðleikar ". var label r5o "Hefur ...truflað daglegt líf þitt? - Þungar áhyggjur ". var label r5p "Hefur ...truflað daglegt líf þitt? - Kvíði ". var label r5q "Hefur ...truflað daglegt líf þitt? - Depurð ". var label r5r "Hefur ...truflað daglegt líf þitt? - Tíðaverkir ". val label r5a to r5r 1 "JÁ, á síðustu 12 mánuðum" 2 "JÁ, fyrir meira en 12 mánuðum" 3 "NEI, aldrei" 4 "Líklega NEI, aldrei". exe. missing values r5a to r5r (12 thru 9999). missing values s5a to s5r (12 thru 9999). exe. ** s6x -> r6x og s7x -> r7x * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. * Nýju gildi bætt við á spurningu 6 (s6xa-t) og 7 (s7xa-j) og R breytur vistaðar út. missing values s6xa to s6yt (). compute r6xa = -1. compute r6xb = -1. compute r6xc = -1. compute r6xd = -1. compute r6xe = -1. compute r6xf = -1. compute r6xg = -1. compute r6xh = -1. compute r6xi = -1. compute r6xj = -1. compute r6xk = -1. compute r6xl = -1. compute r6xm = -1. compute r6xn = -1. compute r6xo = -1. compute r6xp = -1. compute r6xq = -1. compute r6xr = -1. compute r6xs = -1. compute r6xt = -1. exe. missing values s7xa to s7yj (). compute r7xa = -1. compute r7xb = -1. compute r7xc = -1. compute r7xd = -1. compute r7xe = -1. compute r7xf = -1. compute r7xg = -1. compute r7xh = -1. compute r7xi = -1. compute r7xj = -1. exe. missing values s6xa to s6xt (12 thru 9999). compute fjsjuksum = nvalid(s6xa to s6xt). exe. compute JA =0. compute NEI =0. vector SJUKD = s6xa to s6xt. loop #i = 1 to 20. - if SJUKD (#i) le 2 JA = JA + 1. - if SJUKD (#i) = 3 NEI = NEI + 1. end loop. compute JASVAR = 0. if fjsjuksum ne 20 and NEI = 0 and JA ge 1 JASVAR =1. * fre jasvar. missing values s7xa to s7xj (4 THRU HI). compute fjsjuksum2 = nvalid(s7xa to s7xj). COMPUTE JA2 = 0. COMPUTE NEI2 = 0. vector SJUKD2 = s7xa to s7xj. loop #i = 1 to 10. + if SJUKD2 (#i) le 2 JA2 = JA2 + 1. + if SJUKD2 (#i) = 3 NEI2 = NEI2 + 1. end loop. exe. COMPUTE JASVAR2 = 0. if (fjsjuksum ne 20 OR fjsjuksum2 ne 10) and NEI2= 0 and NEI = 0 and (JA2 ge 1 OR JA GE 1) JASVAR2 =1. exe. set width = 255. MISSING VALUES s6xa to s6xt (). MISSING VALUES s6ya to s6yt(). MISSING VALUES r6xa to r6xt (). vector SJUKD = s6xa to s6xt. vector GREIN = s6ya to s6yt. vector SJUKGR = r6xa to r6xt. loop #k = 1 to 20. - if any(SJUKD(#k), 12, 13, 123, 23, 9999) SJUKGR(#k) = 9999. - if SJUKD(#k) = 3 SJUKGR(#k) = 0. - if SJUKD(#k) = 2 and any(GREIN(#k), 12, 9999) SJUKGR(#k) = 2. - if SJUKD(#k) = 2 and GREIN(#k) = 1 SJUKGR(#k) = 3. - if SJUKD(#k) = 2 and GREIN(#k) = 2 SJUKGR(#k) = 4. - if SJUKD(#k) = 1 and any(GREIN(#k), 12, 9999) SJUKGR(#k) = 5. - if SJUKD(#k) = 1 and GREIN(#k) = 1 SJUKGR(#k) = 6. - if SJUKD(#k) = 1 and GREIN(#k) = 2 SJUKGR(#k) = 7. - if SJUKD(#k) = 9999 AND JASVAR2 = 1 SJUKGR(#k) = 1. end loop. var label r6xa "Hefur þú einhvern tíma haft... og hefur læknir greint... - Astma". var label r6xb "Hefur þú einhvern tíma haft... og hefur læknir greint... - Langvinna berkjubólgu, langvinnan lungnateppusjúkdóm eða lungnaþembu". var label r6xc "Hefur þú einhvern tíma haft... og hefur læknir greint... - Kransæðastíflu (hjartaáfall, hjartadrep)". var label r6xd "Hefur þú einhvern tíma haft... og hefur læknir greint... - Kransæðasjúkdóm (hjartakveisu, brjóstverk)". var label r6xe "Hefur þú einhvern tíma haft... og hefur læknir greint... - Hækkaðan blóðþrýsting (háþrýsting)". var label r6xf "Hefur þú einhvern tíma haft... og hefur læknir greint... - Heilaáfall (blóðtappa eða blæðingu í heila)". var label r6xg "Hefur þú einhvern tíma haft... og hefur læknir greint... - Liðagigt (bólgur í liðum, iktsýki)". var label r6xh "Hefur þú einhvern tíma haft... og hefur læknir greint... - Slitgigt". var label r6xi "Hefur þú einhvern tíma haft... og hefur læknir greint... - Vefjagigt". var label r6xj "Hefur þú einhvern tíma haft... og hefur læknir greint... - Langvinna bakveiki". var label r6xk "Hefur þú einhvern tíma haft... og hefur læknir greint... - Langvinnan sjúkdóm í hálsi". var label r6xl "Hefur þú einhvern tíma haft... og hefur læknir greint... - Sykursýki". var label r6xm "Hefur þú einhvern tíma haft... og hefur læknir greint... - Ofnæmi, s.s. nefbólgu, augnbólgu, húðbólgu, fæðuofnæmi og annað". var label r6xn "Hefur þú einhvern tíma haft... og hefur læknir greint... - Magasár (sár í maga eða skeifugörn)". var label r6xo "Hefur þú einhvern tíma haft... og hefur læknir greint... - Skorpulifur eða aðra skerta starfsemi lifrar". var label r6xp "Hefur þú einhvern tíma haft... og hefur læknir greint... - Krabbamein (illkynja æxli, þ.m.t. hvítblæði og eitlaæxli)". var label r6xq "Hefur þú einhvern tíma haft... og hefur læknir greint... - Góðkynja æxli". var label r6xr "Hefur þú einhvern tíma haft... og hefur læknir greint... - Alvarlegan höfuðverk, s.s. mígreni". var label r6xs "Hefur þú einhvern tíma haft... og hefur læknir greint... - Þvagleka eða vandamál við að stjórna þvagblöðru". var label r6xt "Hefur þú einhvern tíma haft... og hefur læknir greint... - Skjaldkirtilssjúkdóm". val label r6xa to r6xt 0 "Aldrei haft sjúkdóm/einkenni" 1 "Líklega aldrei haft sjúkdóm/einkenni" 2 "Áður haft sjúkdóm/einkenni, ekki vitað hvort læknir hafi greint" 3 "Áður haft sjúkdóm/einkenni, læknir hefur greint" 4 "Áður haft sjúkdóm/einkenni, læknir hefur ekki greint" 5 "Hef núna sjúkdóm/einkenni, ekki vitað hvort læknir hafi greint" 6 "Hef núna sjúkdóm/einkenni, læknir hefur greint" 7 "Hef núna sjúkdóm/einkenni, læknir hefur ekki greint". exe. MISSING VALUES s7xa to s7xj (). MISSING VALUES s7ya to s7yj(). MISSING VALUES r7xa to r7xj (). vector SJUKD2 = s7xa to s7xj. vector GREIN2 = s7ya to s7yj. vector SJUKGR2 = r7xa to r7xj. loop #k = 1 to 10. - if any(SJUKD2(#k), 12, 13, 123, 23, 9999) SJUKGR2(#k) = 9999. - if SJUKD2(#k) = 3 SJUKGR2(#k) = 0. - if SJUKD2(#k) = 2 and any(GREIN2(#k), 12, 23, 9999) SJUKGR2(#k) = 2. - if SJUKD2(#k) = 2 and GREIN2(#k) = 1 SJUKGR2(#k) = 3. - if SJUKD2(#k) = 2 and GREIN2(#k) = 2 SJUKGR2(#k) = 4. - if SJUKD2(#k) = 1 and any(GREIN2(#k), 12, 9999) SJUKGR2(#k) = 5. - if SJUKD2(#k) = 1 and GREIN2(#k) = 1 SJUKGR2(#k) = 6. - if SJUKD2(#k) = 1 and GREIN2(#k) = 2 SJUKGR2(#k) = 7. - if SJUKD2(#k) = 9999 AND JASVAR2 = 1 SJUKGR2(#k) = 1. end loop. var label r7xa "Hefur þú einhvern tíma haft... og hefur læknir greint... - Lömun í fótleggjum". var label r7xb "Hefur þú einhvern tíma haft... og hefur læknir greint... - Lömun í handleggjum". var label r7xc "Hefur þú einhvern tíma haft... og hefur læknir greint... - Augnsjúkdóm". var label r7xd "Hefur þú einhvern tíma haft... og hefur læknir greint... - Ristilkrampa". var label r7xe "Hefur þú einhvern tíma haft... og hefur læknir greint... - Kvef eða umgangspest". var label r7xf "Hefur þú einhvern tíma haft... og hefur læknir greint... - Síþreytu". var label r7xg "Hefur þú einhvern tíma haft... og hefur læknir greint... - Áfengis- eða fíkniefnasjúkdóm". var label r7xh "Hefur þú einhvern tíma haft... og hefur læknir greint... - Langvinnan kvíða/spennu". var label r7xi "Hefur þú einhvern tíma haft... og hefur læknir greint... - Langvarandi þunglyndi". var label r7xj "Hefur þú einhvern tíma haft... og hefur læknir greint... - Önnur vandamál tengd geðheilsu". val label r7xa to r7xj 0 "Aldrei haft sjúkdóm/einkenni" 1 "Líklega aldrei haft sjúkdóm/einkenni" 2 "Áður haft sjúkdóm/einkenni, ekki vitað hvort læknir hafi greint" 3 "Áður haft sjúkdóm/einkenni, læknir hefur greint" 4 "Áður haft sjúkdóm/einkenni, læknir hefur ekki greint" 5 "Hef núna sjúkdóm/einkenni, ekki vitað hvort læknir hafi greint" 6 "Hef núna sjúkdóm/einkenni, læknir hefur greint" 7 "Hef núna sjúkdóm/einkenni, læknir hefur ekki greint". exe. missing values r6xa to r6xt (9999). missing values r7xa to r7xj (9999). missing values s6xa to s6yt (12 thru 9999). missing values s7xa to s7xj (12 thru 9999). * s8 --> r8 * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. * Bætt við upplýsingum um þá sem líklega eru að svara nei á spurningum með því að sleppa að svara. * Ef einstaklingur svarar já á a.m.k einni spurningu (s8a-e) en svarar ekki hinum á hann líklega við NEI og fær því gildið 3 á spurningu. compute s8fjsj = nvalid(s8a to s8e). compute s8JA =0. compute s8NEI =0. vector S8SJ = s8a to s8e. loop #i = 1 to 5. if S8SJ(#i) = 1 s8JA = s8JA + 1. if S8SJ(#i) = 2 s8NEI = s8NEI + 1. end loop. exe. compute JASV8 = 0. if s8fjsj ne 5 and s8NEI = 0 and s8JA ge 1 JASV8 = 1. exe. missing values s8a to s8e (). compute r8a = s8a. compute r8b = s8b. compute r8c = s8c. compute r8d = s8d. compute r8e = s8e. if s8a = 9999 and JASV8 = 1 r8a = 3. if s8b = 9999 and JASV8 = 1 r8b = 3. if s8c = 9999 and JASV8 = 1 r8c = 3. if s8d = 9999 and JASV8 = 1 r8d = 3. if s8e = 9999 and JASV8 = 1 r8e = 3. exe. var label r8a "Hefur sálfræðingur greint hjá þér einhverja eftirfarandi sjúkdóma eða einkenni? - Síþreytu". var label r8b "Hefur sálfræðingur greint hjá þér - Áfengis- eða fíkniefnavanda". var label r8c "Hefur sálfræðingur greint hjá þér - Langvinnan kvíða/spennu". var label r8d "Hefur sálfræðingur greint hjá þér - Langvarandi þunglyndi". var label r8e "Hefur sálfræðingur greint hjá þér - Önnur vandamál tengd geðheilsu". val label r8a to r8e 1 "JÁ" 2 "NEI" 3 "Líklega NEI". missing values r8a to r8e (12 thru 9999). missing values s8a to s8e (12 thru 9999). ** s10 --> r10 * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. * Bætt við upplýsingum um þá sem líklega eru að svara nei á spurningum með því að sleppa að svara. * Ef einstaklingur svarar JÁ á a.m.k einni spurningu (s10a-e) en svarar ekki hinum á hann líklega við NEI og fær því gildið 4 á þeim spurningum. compute s10fjsj = nvalid(s10a to s10s). compute s10JA =0. compute s10NEI =0. vector s10SJ = s10a to s10s. loop #i = 1 to 19. + if s10SJ(#i) le 2 s10JA = s10JA + 1. + if s10SJ(#i) = 3 s10NEI = s10NEI + 1. end loop. exe. compute JASV10 = 0. if s10fjsj ne 19 and s10NEI = 0 and s10JA ge 1 JASV10 = 1. exe. missing values s10a to s10s (). compute r10a = s10a. compute r10b = s10b. compute r10c = s10c. compute r10d = s10d. compute r10e = s10e. compute r10f = s10f. compute r10g = s10g. compute r10h = s10h. compute r10i = s10i. compute r10j = s10j. compute r10k = s10k. compute r10l = s10l. compute r10m = s10m. compute r10n = s10n. compute r10o = s10o. compute r10p = s10p. compute r10q = s10q. compute r10r = s10r. compute r10s = s10s. vector SJLYF = s10a to s10s. vector RSJLYF = r10a to r10s. loop #i = 1 to 19. + if SJLYF(#i) = 9999 and JASV10 = 1 RSJLYF(#i) = 4. end loop. exe. var label r10a "Hefur þú tekið lyfseðilsskyld lyf við- Astma". var label r10b "Hefur þú tekið lyfseðilsskyld lyf við - Langvinnri berkjubólgu, langvinnum lungnateppusjúkdómi eða lungnaþembu". var label r10c "Hefur þú tekið lyfseðilsskyld lyf við - Háum blóðþrýstingi (háþrýstingi)". var label r10d "Hefur þú tekið lyfseðilsskyld lyf við - Of hárri blóðfitu (kólesteról)". var label r10e "Hefur þú tekið lyfseðilsskyld lyf við - Öðrum sjúkdómum í blóðrásarfærum, s.s. eftir heilaáfall og hjartaáfall". var label r10f "Hefur þú tekið lyfseðilsskyld lyf við - Verkjum í liðum (slitgigt, liðagigt, iktsýki)". var label r10g "Hefur þú tekið lyfseðilsskyld lyf við - Verkjum í hálsi eða baki". var label r10h "Hefur þú tekið lyfseðilsskyld lyf við - Sykursýki". var label r10i "Hefur þú tekið lyfseðilsskyld lyf við - Sýkingum (sýklalyf, t.d. pensilín)". var label r10j "Hefur þú tekið lyfseðilsskyld lyf við - Magasári (sári í maga eða skeifugörn)". var label r10k "Hefur þú tekið lyfseðilsskyld lyf við - Öðrum magavandamálum". var label r10l "Hefur þú tekið lyfseðilsskyld lyf við - Skorpulifur eða annarri skertri starfsemi lifrar". var label r10m "Hefur þú tekið lyfseðilsskyld lyf við - Krabbameini (krabbameinslyfjameðferð)". var label r10n "Hefur þú tekið lyfseðilsskyld lyf við - Alvarlegum höfuðverk, s.s. mígreni". var label r10o "Hefur þú tekið lyfseðilsskyld lyf við - Þvagleka eða vandamáli við að stjórna þvagblöðru". var label r10p "Hefur þú tekið lyfseðilsskyld lyf við - Skjaldkirtilssjúkdómi". var label r10q "Hefur þú tekið lyfseðilsskyld lyf við - Langvinnum kvíða/spennu". var label r10r "Hefur þú tekið lyfseðilsskyld lyf við - Langvarandi þunglyndi". var label r10s "Hefur þú tekið lyfseðilsskyld lyf við - Öðrum vandamálum tengdum geðheilsu". val label r10a to r10s 1 "JÁ, á síðustu tveimur vikum" 2 "JÁ, fyrir meira en tveimur vikum" 3 "NEI, aldrei" 4 "Líklega NEI, aldrei". missing values r10a to r10s (12 thru 9999). missing values s10a to s10s (12 thru 9999). ** s11 --> r11 * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. * Bætt við upplýsingum um þá sem líklega eru að svara nei á spurningum með því að sleppa að svara. * Ef einstaklingur svarar JÁ á a.m.k einni spurningu (s11a-f) en svarar ekki hinum á hann líklega við NEI og fær því gildið 4 á þeim spurningum. missing values s11f (12 thru 9999). compute s11fjsj = nvalid(s11a to s11e). compute s11JA =0. compute s11NEI =0. vector s11SJ = s11a to s11e. loop #i = 1 to 5. if s11SJ(#i) le 2 s11JA = s11JA + 1. if s11SJ(#i) = 3 s11NEI = s11NEI + 1. end loop. exe. compute JASV11 = 0. if s11fjsj ne 5 and s11NEI = 0 and s11JA ge 1 JASV11 = 1. exe. missing values s11a to s11f (). compute r11a = s11a. compute r11b = s11b. compute r11c = s11c. compute r11d = s11d. compute r11e = s11e. compute r11f = s11f. vector LYF11 = s11a to s11f. vector RLYF11 = r11a to r11f. loop #i = 1 to 6. if LYF11(#i) = 9999 and JASV11 = 1 RLYF11(#i) = 4. end loop. * Spurning eingöngu ætluð konum, þessvegna eiga þeir karlar sem voru missing að vera það áfram. if s73 = 1 and s11f = 9999 r11f = 9999. exe. var label r11a "Hefur þú tekið einhver af eftirtöldum lyfjum? - Svefntöflur". var label r11b "Hefur þú tekið einhver af eftirtöldum lyfjum? - Nikótínlyf sem fást án lyfseðils". var label r11c "Hefur þú tekið einhver af eftirtöldum lyfjum? - Lyfseðilsskyld lyf til að hætta að reykja". var label r11d "Hefur þú tekið einhver af eftirtöldum lyfjum? - Ofnæmislyf". var label r11e "Hefur þú tekið einhver af eftirtöldum lyfjum? - Getnaðarvarnarlyf/töflur". var label r11f "Hefur þú tekið einhver af eftirtöldum lyfjum? - Hormón vegna tíðahvarfa". val label r11a to r11f 1 "JÁ, á síðustu tveimur vikum" 2 "JÁ, fyrir meira en tveimur vikum" 3 "NEI, aldrei" 4 "Líklega NEI, aldrei". missing values r11a to r11f (12 thru 9999). missing values s11a to s11f (12 thru 9999). ** s13 --> r13. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. * s13 + upplýsingar úr öðrum reykingaspurningum. missing values s13 s14 s15 s16 s18(). recode s13 (1=5) (2=4) (3=3) (4=2) (5=1) (else=9999) into r13. var label r13 "Reykingar". val label r13 5 "Reykir daglega" 4 "Reykir a.m.k. vikulega" 3 "Reykir sjaldnar en vikulega" 2 "Hætt/ur að reykja" 1 "Hef/ur aldrei reykt". if s13 = 9999 and s14 lt 9 r13 = 2. if s13 = 9999 and s14 = 9999 and s14x ne "" r13 = 2. if s13 = 9999 and any(s15, 1, 2, 3, 4, 5, 6, 7, 8, 47, 48, 78) r13 = 2. if s13 = 9999 and any(s18, 2, 3, 4, 5, 6, 47, 48) r13 = 5. exe. missing value r13 (9999). missing values s13 s14 s15 s16 s18 (12 thru 9999). ** s14 --> r14. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. * Búin til ný breyta þar sem svör úr s14 og s14x eru tekin saman. * s14 -> r14. * ATH: ef breytan r13 er ekki vistuð út í gögn þarf að keyra s13.sps ÁÐUR. missing values s14 r13 (). compute r14 = -1. if s14 = 1 r14 = 1. if s14 = 2 r14 = 2. if s14 = 3 r14 = 3. if s14 = 4 r14 = 4. if s14 = 5 r14 = 5. if s14 = 6 r14 = 6. if s14 = 7 r14 = 7. if s14 = 9 r14 = 9998. if any(s14,8,9999) and s14x = '?' r14 = 9998. if any(s14,8,9999) and s14x = '?15?' r14 = 9998. if any(s14,8,9999) and s14x = '>30' r14 = 9. if any(s14,8,9999) and s14x = '10' r14 = 6. if any(s14,8,9999) and s14x = '10 ár' r14 = 6. if any(s14,8,9999) and s14x = '10-12' r14 = 7. if any(s14,8,9999) and s14x = '12' r14 = 7. if any(s14,8,9999) and s14x = '14' r14 = 7. if any(s14,8,9999) and s14x = '16' r14 = 7. if any(s14,8,9999) and s14x = '17' r14 = 7. if any(s14,8,9999) and s14x = '1974' r14 = 9. if any(s14,8,9999) and s14x = '1975' r14 = 9. if any(s14,8,9999) and s14x = '1983' r14 = 8. if any(s14,8,9999) and s14x = '1985' r14 = 8. if any(s14,8,9999) and s14x = '1987' r14 = 7. if any(s14,8,9999) and s14x = '1988' r14 = 7. if any(s14,8,9999) and s14x = '2' r14 = 4. if any(s14,8,9999) and s14x = '20' r14 = 7. if any(s14,8,9999) and s14x = '20 ár + 3 mán' r14 = 7. if any(s14,8,9999) and s14x = '20 ár 9 mán' r14 = 8. if any(s14,8,9999) and s14x = '20,5' r14 = 8. if any(s14,8,9999) and s14x = '20-25' r14 = 8. if any(s14,8,9999) and s14x = '21' r14 = 8. if any(s14,8,9999) and s14x = '21 ár' r14 = 8. if any(s14,8,9999) and s14x = '21 og hálfs' r14 = 8. if any(s14,8,9999) and s14x = '21-22' r14 = 8. if any(s14,8,9999) and s14x = '22' r14 = 8. if any(s14,8,9999) and s14x = '22-23' r14 = 8. if any(s14,8,9999) and s14x = '23' r14 = 8. if any(s14,8,9999) and s14x = '2-3' r14 = 5. if any(s14,8,9999) and s14x = '23-24' r14 = 8. if any(s14,8,9999) and s14x = '23-24?' r14 = 8. if any(s14,8,9999) and s14x = '24' r14 = 8. if any(s14,8,9999) and s14x = '25' r14 = 8. if any(s14,8,9999) and s14x = '25,5' r14 = 8. if any(s14,8,9999) and s14x = '25-30' r14 = 8. if any(s14,8,9999) and s14x = '25ár' r14 = 8. if any(s14,8,9999) and s14x = '26' r14 = 8. if any(s14,8,9999) and s14x = '27' r14 = 8. if any(s14,8,9999) and s14x = '27 ár' r14 = 8. if any(s14,8,9999) and s14x = '27-30' r14 = 8. if any(s14,8,9999) and s14x = '28' r14 = 8. if any(s14,8,9999) and s14x = '29' r14 = 8. if any(s14,8,9999) and s14x = '3' r14 = 5. if any(s14,8,9999) and s14x = '30' r14 = 8. if any(s14,8,9999) and s14x = '30 ár' r14 = 8. if any(s14,8,9999) and s14x = '30+' r14 = 9. if any(s14,8,9999) and s14x = '30-35' r14 = 9. if any(s14,8,9999) and s14x = '30-40' r14 = 9. if any(s14,8,9999) and s14x = '31' r14 = 9. if any(s14,8,9999) and s14x = '32' r14 = 9. if any(s14,8,9999) and s14x = '33' r14 = 9. if any(s14,8,9999) and s14x = '34' r14 = 9. if any(s14,8,9999) and s14x = '35' r14 = 9. if any(s14,8,9999) and s14x = '35-40' r14 = 9. if any(s14,8,9999) and s14x = '36' r14 = 9. if any(s14,8,9999) and s14x = '37' r14 = 9. if any(s14,8,9999) and s14x = '38' r14 = 9. if any(s14,8,9999) and s14x = '39' r14 = 9. if any(s14,8,9999) and s14x = '39-40' r14 = 9. if any(s14,8,9999) and s14x = '40' r14 = 9. if any(s14,8,9999) and s14x = '40 ár' r14 = 9. if any(s14,8,9999) and s14x = '40+' r14 = 9. if any(s14,8,9999) and s14x = '41' r14 = 10. if any(s14,8,9999) and s14x = '41 ár' r14 = 10. if any(s14,8,9999) and s14x = '42' r14 = 10. if any(s14,8,9999) and s14x = '43' r14 = 10. if any(s14,8,9999) and s14x = '44' r14 = 10. if any(s14,8,9999) and s14x = '45' r14 = 10. if any(s14,8,9999) and s14x = '46' r14 = 10. if any(s14,8,9999) and s14x = '47' r14 = 10. if any(s14,8,9999) and s14x = '48' r14 = 10. if any(s14,8,9999) and s14x = '49' r14 = 10. if any(s14,8,9999) and s14x = '50' r14 = 10. if any(s14,8,9999) and s14x = '53' r14 = 10. if any(s14,8,9999) and s14x = '54' r14 = 10. if any(s14,8,9999) and s14x = '56' r14 = 10. if any(s14,8,9999) and s14x = '6' r14 = 6. if any(s14,8,9999) and s14x = '61' r14 = 10. if any(s14,8,9999) and s14x = 'c 35' r14 = 9. if any(s14,8,9999) and s14x = 'ca 25' r14 = 8. if any(s14,8,9999) and s14x = 'ca 27' r14 = 8. if any(s14,8,9999) and s14x = 'ca 28' r14 = 8. if any(s14,8,9999) and s14x = 'ca 30' r14 = 8. if any(s14,8,9999) and s14x = 'ca 35' r14 = 9. if any(s14,8,9999) and s14x = 'ca 40' r14 = 9. if any(s14,8,9999) and s14x = 'ca. 20 +' r14 = 8. if any(s14,8,9999) and s14x = 'ca. 25' r14 = 8. if any(s14,8,9999) and s14x = 'ca. 40' r14 = 9. if any(s14,8,9999) and s14x = 'Fiktað við reykingar í tvo mánuði 1999, ekki reglulega, síðan ekki meir' r14 = 9998. if any(s14,8,9999) and s14x = 'Frá 22.1.1972' r14 = 9. if any(s14,8,9999) and s14x = 'Hætti fyrir 22' r14 = 8. if any(s14,8,9999) and s14x = 'man ekki' r14 = 9998. if any(s14,8,9999) and s14x = 'mörg ár' r14 = 9998. if any(s14,8,9999) and s14x = 'rúml. 30' r14 = 9. if any(s14,8,9999) and s14x = 'um 30 ár' r14 = 8. if s14 = 8 and s14x = "" r14 = 11. if any(r13,3,4,5) and any(s14,9,9999) and s14x = "" r14 = 12. if r13 = 1 and any(s14,9,9999) and s14x = "" r14 = 13. if r13 = 2 and any(s14,9,9999) and s14x = "" r14 = 14. val label r14 1 "Minna en 3 mánuðir" 2 "3–6 mánuðir" 3 "7–12 mánuðir" 4 "1–2 ár" 5 "3–4 ár" 6 "5–10 ár" 7 "11–20 ár" 8 "21-30 ár" 9 "31-40 ár" 10 "Meira en 40 ár" 11 "Meira en 20 ár, ekki tilgreint nákvæmar" 12 "Reykir daglega eða sjaldnar " 13 "Hef/ur aldrei reykt" 14 "Hætt að reykja en svara ekki til um hvenær". exe. recode r14 (-1 = 9999). missing values r14 (12 thru 9999). ** s15 --> r15. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. 20. maí 2009. * s15 ---> r15. r15 fær fleiri gildi en s15: * a) missing gildi á s15 eru skírð (þ.e. ástæða þess að einstaklingur svarar ekki er tilgreind, sjá gildin 10, 11 og 12 á r15). * b) Merkt fyrir þá sem skrifa í línur en merkja ekki í viðeigandi reit --> Svör á textabreytunum s15x og s15y (vindlar og pípur) * eru sett inn í viðeigandi flokk (7, 8 og 9) á r15. missing values s13 s15 (). AUTORECODE VARIABLES=s15 /INTO r15 /PRINT. fre r15. recode r15 (9 thru 34 = -1). fre r15. * Sígarettur látnar ráða. Ef einstaklingur merkir í tvo eða fleiri reyti, t.d. reiti 3 og 7 (37), * þá fær hann gildið 3 á r15 (reykti 5-14 sígarettur á dag) en ekki 7 (Ég reykti vindla). if s15 = 18 r15 = 1 . if s15 = 23 r15 = 2 . if s15 = 28 r15 = 2 . if s15 = 34 r15 = 3 . if s15 = 37 r15 = 3 . if s15 = 38 r15 = 3 . if s15 = 39 r15 = 3 . if s15 = 45 r15 = 4 . if s15 = 46 r15 = 5 . if s15 = 47 r15 = 4 . if s15 = 48 r15 = 4 . if s15 = 49 r15 = 10 . if s15 = 57 r15 = 5 . if s15 = 58 r15 = 5 . if s15 = 68 r15 = 6 . if s15 = 78 r15 = 9 . if s15 = 178 r15 = 1 . if s15 = 278 r15 = 2 . if s15 = 345 r15 = 4 . if s15 = 378 r15 = 3 . if s15 = 478 r15 = 4 . if s15 = 578 r15 = 5 . if s15 = 583 r15 = 5 . if s15 = 678 r15 = 6 . * vindlar og pípur. if s15 = 9999 and s15x ne "" r15 = 7. if s15 = 9999 and s15y ne "" and s15y ne "." r15 = 8. if s15 = 9999 and s15x ne "" and s15y ne "" and s15y ne "." r15 = 9. if s15 = 7 and s15x = "" and s15y ne "" and s15y ne "." r15 = 9. if s15 = 8 and s15y = "" and s15y = "." and s15x ne "" r15 =9. if r15 = -1 and s13 lt 4 r15 = 10. if r15 = -1 and s13 = 5 r15 = 11. if r15 = -1 and s13 = 4 r15 = 12. add val label r15 9 "Reykti bæði vindla og pípu" 10 "Á ekki við, viðkomandi reykir" 11 "Á ekki við, viðkomandi hefur aldrei reykt" 12 "Svarar ekki, en ætti að svara". recode r15 (-1 = 9999). add val label r15 9999 "Svarar ekki". missing values r15 (10 thru 9999). ** s16 --> r16. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * s16 --> r16. Bætt við flokk fyrir þá sem aldrei hafa reykt. weight off. fre s16. missing values s16 (). recode s16 (else = copy) into r16. fre r16. if s16 = 9999 and s13 = 5 r16 = 7. val label r16 1 "Yngri en 15 ára" 2 "15–19 ára" 3 "20–24 ára" 4 "25–29 ára" 5 "30–34 ára" 6 "35 ára eða eldri" 7 "Á ekki við/eða aldrei reykt". exe. missing values r16 (7 thru 9999). ** s17 og s17x --> r17. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * s17. Hversu langan tíma reykt. Spurning s17 og s17x sameinaðar. compute r17 = 9999. if s17 = 1 r17 = 1 . if s17 = 2 r17 = 2 . if s17 = 3 r17 = 3 . if s17 = 4 r17 = 4 . if s17 = 5 r17 = 5 . if s17 = 6 r17 = 6 . if s17 = 7 r17 = 7 . if s17 = 8 r17 = 8 . if s17 = 9 r17 = 9 . if s17 = 10 r17 = 10 . if s17 = 11 r17 = 11 . if s17 = 12 r17 = 12 . if s17 = 13 r17 = 13 . if s17 = 14 r17 = 14 . if s17x = '1-2' r17 = 2 . if s17x = '5,5' r17 = 4 . if s17x = '6' r17 = 4 . if s17x = 'ca 9' r17 = 4 . if s17x = '10-12' r17 = 5 . if s17x = '10' r17 = 5 . if s17x = '12' r17 = 5 . if s17x = '13' r17 = 5 . if s17x = '14' r17 = 5 . if s17x = '1988' r17 = 9 . if s17x = '20' r17 = 7 . if s17x = '24' r17 = 7 . if s17x = '30' r17 = 9 . if s17x = '35' r17 = 10 . if s17x = '36' r17 = 10 . if s17x = 'ca 39' r17 = 10 . if s17x = '40 (888)' r17 = 11 . if s17x = '48' r17 = 12 . if s17x = '49' r17 = 12 . if s17x = '50' r17 = 12 . if s17x = '51' r17 = 13 . if s17x = '52' r17 = 13 . if s17x = '53' r17 = 13 . if s17x = '54' r17 = 13 . if s17x = '55' r17 = 13 . if s17x = '56' r17 = 13 . if s17x = '57' r17 = 13 . if s17x = '58' r17 = 13 . if s17x = '59-60' r17 = 13 . if s17x = '59' r17 = 13 . if s17x = '60' r17 = 13 . if s17x = '61' r17 = 13 . if s17x = '62' r17 = 13 . if s17x = '65' r17 = 13 . if s17x = '70' r17 = 13 . if s17x = 'ca 53' r17 = 13 . if s17x = 'ca 56' r17 = 13 . if s17x = 'aldrei' r17 = 14 . if s17x = 'Aldrei' r17 = 14 . if s17x = '.' r17 = 9999 . if s17x = '888' r17 = 9999 . * Þessir merkja við annað en "lengur en 50ár" en skrifa samt sem áður tölu í textalínu. Virðist vera nánari útskýring á svari. if s17 = 10 and s17x = '36' r17 = 10 . if s17 = 7 and s17x = '20' r17 = 7 . if s17 = 12 and s17x = '48' r17 = 12 . if s17 = 12 and s17x = '14' r17 = 12 . if s17 = 14 and s17x = 'Aldrei' r17 = 14 . if s17 = 14 and s17x = 'aldrei' r17 = 14 . if s17 = 9 and s17x = '49' r17 = 9 . if s17 = 4 and s17x = 'ca 9' r17 = 4 . if s17 = 14 and s17x = '70' r17 = 14 . if s17 = 2 and s17x = '1-2' r17 = 2 . if s17 = 7 and s17x = '24' r17 = 7 . exe. missing values s17 (). if any(s17, 14, 9999) and s13 = 5 r17 = 15. var label r17 "Hversu lengi reykt að staðaldri". val label r17 1 "Innan við eitt ár" 2 "1–2 ár" 3 "3–5 ár" 4 "6–9 ár" 5 "10–14 ár" 6 "15–19 ár" 7 "20–24 ár" 8 "25–29 ár" 9 "30–34 ár" 10 "35–39 ár" 11 "40–44 ár" 12 "45–50 ár" 13 "Lengur en 50 ár" 14 "Á ekki við, ekki vitað af hverju" 15 "Á ekki við, aldrei reykt". recode r17 (15=14). add val label r17 14 "Á ekki við/eða aldrei reykt". missing values r17 (9999). exe. ** s18 --> r18 * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * s18 ---> r18. r18 fær fleiri gildi en s18: * a) missing gildi á s18 eru útlistuð (þ.e. ástæða þess að einstaklingur svarar ekki er tilgreind, sjá gildin 10, 11 og 12 á r18). * b) Merkt fyrir þá sem skrifa í línur en merkja ekki í viðeigandi reit --> Svör á textabreytunum s18x og s18y (vindlar og pípur) * eru sett inn í viðeigandi flokk (7, 8 og 9) á r18. missing values s13 s18 (). AUTORECODE VARIABLES=s18 /INTO r18 /PRINT. exe. recode r18 (9 thru 29 = -1). * Sígarettur látnar ráða. Ef einstaklingur merkir í tvo eða fleiri reyti, t.d. reiti 3 og 7 (37), * þá fær hann gildið 3 á r18 (reyki 5-14 sígarettur á dag) en ekki 7 (Ég reyki vindla). if s18 = 12 r18 = 1. if s18 = 17 r18 = 1. if s18 = 19 r18 = 11. if s18 = 23 r18 = 2. if s18 = 27 r18 = 2. if s18 = 28 r18 = 2. if s18 = 29 r18 = 2. if s18 = 37 r18 = 3. if s18 = 38 r18 = 3. if s18 = 46 r18 = 5. if s18 = 47 r18 = 4. if s18 = 48 r18 = 4. if s18 = 49 r18 = 11. if s18 = 58 r18 = 5. if s18 = 68 r18 = 6. if s18 = 78 r18 = 9. if s18 = 79 r18 = -1. if s18 = 378 r18 = 3. * vindlar og pípur. if s18 = 9999 and s18x ne "" r18 = 7. if s18 = 9999 and s18y ne "" r18 = 8. * Reykir bæði vindla og pípur. if s18 = 9999 and s18x ne "" and s18y ne "" r18 = 9. if s18 = 7 and s18x = "" and s18y ne "" r18 = 9. if s18 = 8 and s18y = "" and s18x ne "" r18 = 9. * skýri missing gildi. if r18 = -1 and s13 lt 4 r18 = 10. if r18 = -1 and s13 = 4 r18 = 11. if r18 = -1 and s13 = 5 r18 = 12. add val label r18 9 "Reyki bæði vindla og pípu" 10 "Reykir, en ekki ljóst hversu mikið" 11 "Á ekki við, viðkomandi hættur að reykja" 12 "Á ekki við, viðkomandi hefur aldrei reykt". if r18 = -1 and s14 lt 9 r18 = 11. if r18 = -1 and s15 lt 9 r18 = 11. recode r18 (-1 = 9999). add val label r18 7 "Ég reyki vindla" 8 "Ég reyki píputóbak" 9999 "Svarar ekki". if s18x ="ekki í dag" and s18 = 9999 r18 = 11. if s18y ="reyklaus" and s18 = 9999 r18 = 11. missing values r18 (9999). exe. ** s21 --> r21. Bætt við gildi fyrir þá sem aldrei hafa drukkið áfengi. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s21 (). compute r21 = s21. val label r21 1 "Daglega eða næstum daglega" 2 "3-4 sinnum í viku" 3 "1-2 sinnum í viku" 4 "1-3 sinnum í mánuði" 5 "7-11 sinnum á síðustu 12 mánuðum" 6 "3-6 sinnum á síðustu 12 mánuðum" 7 "1-2 sinnum á síðustu 12 mánuðum" 8 "Aldrei á síðustu 12 mánuðum". * Þeir sem aldrei hafa drukkið áfengi fá sér gildi. if s20 = 2 and any(s21, 8, 9999) r21 = 9. add val label r21 9 "Hef/ur aldrei drukkið áfengi". missing values s21 r21 (10 thru 9999). exe. ** s22 --> r22 - Textabreytu breytt í númera-breytu. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * 20. maí 2009. * Unnið af Jóni Óskari * Þegar þú hefur neytt einhverra áfengra drykkja, hversu marga drykki hefurðu að jafnaði drukkið í hvert skipti? * Ef einstaklingur tilgreinir fjölda drykkja á ákveðnu bili er meðaltal tekið af því bili. * T.d. einstaklingur sem tilgreinir fjölda drykkja á bilinu 10-20 --> ný breyta (r22) tekur gildið 15 compute r22 = 9999. if s22 = '?' r22 = 9998 . if s22 = '+15' r22 = 15 . if s22 = '0-0,5' r22 = 0.25 . if s22 = '0' r22 = 0 . if s22 = '0,25' r22 = 0.25 . if s22 = '0,5-1' r22 = 0.75 . if s22 = '0,5-1 glas' r22 = 0.75 . if s22 = '0,5-5' r22 = 2.75 . if s22 = '0,5' r22 = 0.5 . if s22 = '0,5 glas' r22 = 0.5 . if s22 = '1-?' r22 = 1 . if s22 = '1-1,5' r22 = 1.25 . if s22 = '1-10-15' r22 = 8 . if s22 = '1-10' r22 = 5.5 . if s22 = '1-12' r22 = 6.5 . if s22 = '1-2-3' r22 = 2 . if s22 = '1-2' r22 = 1.5 . if s22 = '1-2 dósir' r22 = 1.5 . if s22 = '1-2 eða 4-6' r22 = 3.5 . if s22 = '1-2 glas' r22 = 1.5 . if s22 = '1-2 gls' r22 = 1.5 . if s22 = '1-2 glös' r22 = 1.5 . if s22 = '1-2 sopa' r22 = 0.5 . if s22 = '1-20' r22 = 10.5 . if s22 = '1-3' r22 = 2 . if s22 = '1-3?' r22 = 2 . if s22 = '1-30' r22 = 15.5 . if s22 = '1-4' r22 = 2.5 . if s22 = '1-4 á ári' r22 = 2.5 . if s22 = '1-5' r22 = 3 . if s22 = '1-6' r22 = 3.5 . if s22 = '1-7' r22 = 4 . if s22 = '1-8' r22 = 4.5 . if s22 = '1-9' r22 = 5 . if s22 = '1' r22 = 1 . if s22 = '1 dós' r22 = 1 . if s22 = '1 gl.' r22 = 1 . if s22 = '1 glas' r22 = 1 . if s22 = '1 lítin' r22 = 1 . if s22 = '1 lítinn bjór' r22 = 1 . if s22 = '1 pela' r22 = 13 . if s22 = '1 snafs' r22 = 1 . if s22 = '1 sór bjór á viku' r22 = 1.5 . if s22 = '1 staup' r22 = 1 . if s22 = '1 til 2' r22 = 1.5 . if s22 = '1 til 3' r22 = 2 . if s22 = '1,5-3' r22 = 2.25 . if s22 = '1,5' r22 = 1.5 . if s22 = '1/2 -1' r22 = 0.75 . if s22 = '1/2' r22 = 0.5 . if s22 = '1/2 glas' r22 = 0.5 . if s22 = '1/2 L' r22 = 9998 . if s22 = '1/4' r22 = 0.25 . if s22 = '10-12' r22 = 11 . if s22 = '10-14' r22 = 12 . if s22 = '10-15' r22 = 12.5 . if s22 = '10-20' r22 = 15 . if s22 = '10-7' r22 = 8.5 . if s22 = '10' r22 = 10 . if s22 = '10??' r22 = 10 . if s22 = '11-12' r22 = 11.5 . if s22 = '11' r22 = 11 . if s22 = '12-15' r22 = 13.5 . if s22 = '12-18' r22 = 15 . if s22 = '12' r22 = 12 . if s22 = '12 litlir bjórar' r22 = 12 . if s22 = '14' r22 = 14 . if s22 = '15-20' r22 = 17.5 . if s22 = '15' r22 = 15 . if s22 = '16' r22 = 16 . if s22 = '18-?' r22 = 18 . if s22 = '18' r22 = 18 . if s22 = '1glas' r22 = 1 . if s22 = '1x' r22 = 1 . if s22 = '2-10' r22 = 6 . if s22 = '2-15' r22 = 8.5 . if s22 = '2-3' r22 = 2.5 . if s22 = '2-3 bjóra' r22 = 2.5 . if s22 = '2-3 dósir' r22 = 2.5 . if s22 = '2-3 glös' r22 = 2.5 . if s22 = '2-3 létt' r22 = 2.5 . if s22 = '2-3 létta' r22 = 2.5 . if s22 = '2-4' r22 = 3 . if s22 = '2-5' r22 = 3.5 . if s22 = '2-6' r22 = 4 . if s22 = '2-7' r22 = 4.5 . if s22 = '2-8' r22 = 5 . if s22 = '2' r22 = 2 . if s22 = '2 1/2' r22 = 2.5 . if s22 = '2 bjór' r22 = 2 . if s22 = '2 bjóra' r22 = 2 . if s22 = '2 dó' r22 = 2 . if s22 = '2 eða 3' r22 = 2.5 . if s22 = '2 gl léttvín' r22 = 2 . if s22 = '2 glös' r22 = 2 . if s22 = '2 létt' r22 = 2 . if s22 = '2 litla' r22 = 2 . if s22 = '2 litla bjóra' r22 = 2 . if s22 = '2 og hálfur' r22 = 2.5 . if s22 = '2 rauðvín' r22 = 2 . if s22 = '2 st' r22 = 2 . if s22 = '2 staup' r22 = 2 . if s22 = '2 stk' r22 = 2 . if s22 = '2 stóra' r22 = 3 . if s22 = '2 stórir' r22 = 3 . if s22 = '2,5' r22 = 2.5 . if s22 = '20-25' r22 = 22.5 . if s22 = '20' r22 = 20 . if s22 = '20 léttví..' r22 = 20 . if s22 = '20+' r22 = 20 . if s22 = '21' r22 = 21 . if s22 = '23' r22 = 23 . if s22 = '24-48' r22 = 36 . if s22 = '25' r22 = 25 . if s22 = '27-30' r22 = 28.5 . if s22 = '27' r22 = 27 . if s22 = '2Z' r22 = 2 . if s22 = '3-10' r22 = 6.5 . if s22 = '3-12 bjóra' r22 = 7.5 . if s22 = '3-18' r22 = 10.5 . if s22 = '3-4' r22 = 3.5 . if s22 = '3-5' r22 = 4 . if s22 = '3-6' r22 = 4.5 . if s22 = '3-6 litla' r22 = 4.5 . if s22 = '3-7' r22 = 5 . if s22 = '3-8' r22 = 5.5 . if s22 = '3' r22 = 3 . if s22 = '3 bjóra' r22 = 3 . if s22 = '3 glös' r22 = 3 . if s22 = '3 litla 3 stóra' r22 = 3 . if s22 = '3 litlir' r22 = 3 . if s22 = '3 litlum' r22 = 3 . if s22 = '3 st.' r22 = 3 . if s22 = '3 til 4' r22 = 3.5 . if s22 = '3 tvöfalda, sterka' r22 = 6 . if s22 = '3 öl' r22 = 3 . if s22 = '3/4 flösku' r22 = 9998 . if s22 = '30' r22 = 30 . if s22 = '33' r22 = 33 . if s22 = '37' r22 = 37 . if s22 = '39' r22 = 39 . if s22 = '4-10' r22 = 7 . if s22 = '4-5' r22 = 4.5 . if s22 = '4-6' r22 = 5 . if s22 = '4-7' r22 = 5.5 . if s22 = '4-8' r22 = 6 . if s22 = '4-8 glös' r22 = 6 . if s22 = '4' r22 = 4 . if s22 = '4 B' r22 = 4 . if s22 = '4 bjóra' r22 = 4 . if s22 = '4 dós' r22 = 4 . if s22 = '4 dósir' r22 = 4 . if s22 = '4 glös' r22 = 4 . if s22 = '4 litlir' r22 = 4 . if s22 = '4?' r22 = 4 . if s22 = '40' r22 = 40 . if s22 = '41/2' r22 = 0.5 . if s22 = '45' r22 = 45 . if s22 = '5-10' r22 = 7.5 . if s22 = '5-11' r22 = 8 . if s22 = '5-15' r22 = 10 . if s22 = '5-6' r22 = 5.5 . if s22 = '5-7' r22 = 6 . if s22 = '5-8' r22 = 6.5 . if s22 = '5' r22 = 5 . if s22 = '50' r22 = 50 . if s22 = '6-10' r22 = 8 . if s22 = '6-12' r22 = 9 . if s22 = '6-15' r22 = 10.5 . if s22 = '6-20' r22 = 13 . if s22 = '6-7-8' r22 = 7 . if s22 = '6-7' r22 = 6.5 . if s22 = '6-8' r22 = 7 . if s22 = '6-9' r22 = 7.5 . if s22 = '6' r22 = 6 . if s22 = '6 stk' r22 = 6 . if s22 = '6 stórir3' r22 = 9 . if s22 = '7-10' r22 = 8.5 . if s22 = '7-8' r22 = 7.5 . if s22 = '7' r22 = 7 . if s22 = '8-10' r22 = 9 . if s22 = '8-12' r22 = 10 . if s22 = '8-9' r22 = 8.5 . if s22 = '8' r22 = 8 . if s22 = '8 bjóra' r22 = 8 . if s22 = '888' and radnumer = 60 r22 = 9998 . if s22 = '888' and radnumer = 543 r22 = 0.5 . if s22 = '888' and radnumer = 719 r22 = 9998 . if s22 = '888' and radnumer = 1055 r22 = 9998 . if s22 = '888' and radnumer = 1163 r22 = 2 . if s22 = '888' and radnumer = 1531 r22 = 1 . if s22 = '888' and radnumer = 2999 r22 = 3 . if s22 = '888' and radnumer = 4447 r22 = 2 . if s22 = '9-10' r22 = 9.5 . if s22 = '9-11' r22 = 10 . if s22 = '9-12' r22 = 10.5 . if s22 = '9' r22 = 9 . if s22 = 'c.a. 15' r22 = 15 . if s22 = 'c.a. 4' r22 = 4 . if s22 = 'ca 1-2' r22 = 1.5 . if s22 = 'ca 10' r22 = 10 . if s22 = 'ca 2' r22 = 2 . if s22 = 'ca 3' r22 = 3 . if s22 = 'ca 4' r22 = 4 . if s22 = 'ca 6' r22 = 6 . if s22 = 'ca 8' r22 = 8 . if s22 = 'einn' r22 = 1 . if s22 = 'Einn' r22 = 1 . if s22 = 'ekkert' r22 = 0 . if s22 = 'ekki í' r22 = 9998 . if s22 = 'ekki neitt' r22 = 0 . if s22 = 'enginn' r22 = 0 . if s22 = 'Engir' r22 = 0 . if s22 = 'Fullur' r22 = 9990 . if s22 = 'hálf dós' r22 = 0.5 . if s22 = 'hálfur L Vodka' r22 = 17 . if s22 = 'hvín 2 glös' r22 = 2 . if s22 = 'hætt' r22 = 9998 . if s22 = 'hættur' r22 = 9998 . if s22 = 'léttvín' and radnumer = 1742 r22 = 1 . if s22 = 'léttvín' and radnumer = 2192 r22 = 2 . if s22 = 'léttvín' and radnumer = 5648 r22 = 3 . if s22 = 'litlum bjór' r22 = 9998 . if s22 = 'Man ekki' r22 = 9998 . if s22 = 'marga' r22 = 9990 . if s22 = 'Mikið' r22 = 9998 . if s22 = 'mis mikið' r22 = 9998 . if s22 = 'Misjafnt' r22 = 9998 . if s22 = 'Mjög misjafnt' r22 = 9998 . if s22 = 'ótal' r22 = 9990 . if s22 = 'rauðvín 1' r22 = 1 . if s22 = 'tvo drykki' r22 = 2 . *Þessar tvær leiðréttingar ekki hægt að keyra á útsend gögn, þar sem þau hafa ekki breytuna "id". *if id = 2241 r22 = 1. *if id = 783 r22 = 0.5. * Ef einstaklingur segist aldrei hafa drukkið áfengi (skv. s20) þá fær hann missing gildið 9997, * jafnvel þótt hann svari einhverju öðru til í s22 (6 einstkl). if s20 = 2 r22 = 9997. exe. var label r22 "Hversu marga drykki drukkið að jafnaði". val label r22 9999 "Svara ekki spurningu" 9998 "Ekki hægt að gefa tölugildi" 9997 "Aldrei drukkið áfengi" 9990 "Óflokkað en mikið" . missing values r22 (9990 thru 9999). exe. ** s23 --> r23. Bæti við gildi fyrir þá sem aldrei hafa drukkið áfengi * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s23 (). compute r23 = s23. val label r23 1 "Daglega eða næstum daglega" 2 "3-4 sinnum í viku" 3 "1-2 sinnum í viku" 4 "1-3 sinnum í mánuði" 5 "7-11 sinnum á síðustu 12 mánuðum" 6 "3-6 sinnum á síðustu 12 mánuðum" 7 "1-2 sinnum á síðustu 12 mánuðum" 8 "Aldrei á síðustu 12 mánuðum". * Þeir sem aldrei hafa drukkið áfengi fá sér gildi. if s20 = 2 and any(s23, 8, 9999) r23 = 9. add val label r23 9 "Hef/ur aldrei drukkið áfengi". missing values r23 (47 thru 9999). exe. ** s24 --> r24 - Bætt við gildi fyrir þá sem aldrei hafa drukkið áfengi. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s24a s24b s24c s24d s24e (). compute r24a = s24a. compute r24b = s24b. compute r24c = s24c. compute r24d = s24d. compute r24e = s24e. val label r24a r24b r24c r24d r24e 1 "Aldrei" 2 "Mánaðarlega eða sjaldnar" 3 "Einu sinni til þrisvar í mánuði" 4 "Vikulega" 5 "Daglega eða nánast daglega". exe. if s20 = 2 and any(s24a, 1, 9999) r24a = 6. if s20 = 2 and any(s24b, 1, 9999) r24b = 6. if s20 = 2 and any(s24c, 1, 9999) r24c = 6. if s20 = 2 and any(s24d, 1, 9999) r24d = 6. if s20 = 2 and any(s24e, 1, 9999) r24e = 6. add val label r24a r24b r24c r24d r24e 6 "Hef/ur aldrei drukkið áfengi". exe. missing values r24a r24b r24c r24d r24e (12 thru 9999). missing values s23 s24a s24b s24c s24d s24e (12 thru 9999). ** s45 og s45x --> r45. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s44 s45 (). compute r45 = -1. if s45 = 1 r45 = 1. if s45 = 2 r45 = 2. if s45 = 3 r45 = 3. if s45 = 4 r45 = 4. if s45 = 5 r45 = 5. if s45 = 26 and s45x = 'steig vitlaust í fótinn' and s44 = 2 r45 = 2 . if s45 = 9999 and s45x = 'engin meiðsli' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'engin meiðsl' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Hnéaðgerð' and s44 = 2 r45 = 7 . if s45 = 9999 and s45x = 'Detta í hálku' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'Datt af hestbaki' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'Ekkert-slis' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'engin' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Datt á hálku' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'Ekkert' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Mis steig mig' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'Losnun á liðbandi við hné' and s44 = 2 r45 = 7 . if s45 = 9999 and s45x = 'Tábrotinn' and s44 = 2 r45 = 7 . if s45 = 9999 and s45x = 'Hef ekki orðið fyrir neinum meiðslum' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'ekkert slys' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Ég er að jafna mig eftir stóan uppskurð (garnaflækju)' and s44 = 9999 r45 = 7 . if s45 = 9999 and s45x = 'Nei' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Klemmdi fingur í verslun' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'ekki slys en var alvarlega veik og í lífshættu' and s44 = 1 r45 = 7 . if s45 = 9999 and s45x = 'handleggsbrot' and s44 = 2 r45 = 7 . if s45 = 9999 and s45x = '0' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'datt af hestbaki' and s44 = 3 r45 = 6 . if s45 = 9999 and s45x = 'handleggsbrot á leið í vinnu' and s44 = 2 r45 = 2 . if s45 = 9999 and s45x = 'Datt í hálku' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'engin' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'eitrun í fæti' and s44 = 2 r45 = 7 . if s45 = 9999 and s45x = 'ekkert' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Nei' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Tognun' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'ekkert' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Hjartaáfall í júlí, ekki orðin góð' and s44 = 1 r45 = 7 . if s45 = 9999 and s45x = 'ekki meitt mig' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'tognun í mjóbaki' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'engin slys' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'datt og fór úr axlarlið' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'brenndi mig á hendi' and s44 = 2 r45 = 6 . if s45 = 16 and s45x = 'datt í hálku' and s44 = 1 r45 = 1 . if s45 = 9999 and s45x = 'Ekki gengið í gegnum nein meiðsli' and s44 = 1 r45 = 8 . if s45 = 26 and s45x = 'Við útplöntun trjáplantna' and s44 = 2 r45 = 2 . if s45 = 9999 and s45x = 'hælspori' and s44 = 2 r45 = 7 . if s45 = 26 and s45x = 'Eg rann til í hálku' and s44 = 3 r45 = 2 . if s45 = 9999 and s45x = 'Ekkert' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'Ekki vitað' and s44 = 2 r45 = 7 . if s45 = 9999 and s45x = 'Of mikið álag í íþróttum' and s44 = 2 r45 = 4 . if s45 = 9999 and s45x = 'Datt af hestbaki' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'Er ekki að vinna' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'ekkert' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'bakverkir / eftir illa framkvæmda vinnu' and s44 = 2 r45 = 7 . if s45 = 9999 and s45x = 'eftir byltu' and s44 = 9999 r45 = 6 . if s45 = 9999 and s45x = 'datt, rifbeinsbrotnaði' and s44 = 3 r45 = 6 . if s45 = 9999 and s45x = 'lítíum - eitrun' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'saumuð 3 spor í höfuð efti að ég rak mig í' and s44 = 2 r45 = 6 . if s45 = 9999 and s45x = 'á ekki við' and s44 = 1 r45 = 8 . if s45 = 9999 and s45x = 'það fældist hestur og hljóp í ... mig með kjeru.' and s44 = 9999 r45 = 6 . if s45 = 9999 and s45x = 'fóta aðgerð' and s44 = 5 r45 = 7 . if s45 = 9999 and s45x = 'tognun í fæti í vinnu ...... % fjarvera frá .......' and s44 = 1 r45 = 3 . if s45 = 9999 and s45x = 'steig á glerbrot, inni við, og þurfti að láta fjarlægja það' and s44 = 1 r45 = 6 . if s45 = 9999 and s45x = 'björgunarstörf' and s44 = 1 r45 = 3 . if s45 = 56 and s45x = 'höfuðkúpubrotinn 18 spor' and s44 = 5 r45 = 5 . if s45 = 9999 and s45x = 'tognun á fæti' and s44 = 9999 r45 = 6 . if s45 = 6 and s45x = 'motorcross' and s44 = 5 r45 = 6 . if s45 = 6 and s45x = 'bólgnir fingur vegna falls' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Frístundaslys / hestaslys' and s44 = 2 r45 = 2 . if s45 = 6 and s45x = 'Blóðeitrun' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'datt í hálku' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'slæma vinnuaðstöðu' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'ranga líkamsbeitingu við vinnu' and s44 = 4 r45 = 7 . if s45 = 6 and s45x = 'ekkert' and s44 = 1 r45 = 8 . if s45 = 6 and s45x = 'Ofskammtur af pillum' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'datt á svelli' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Rak olboga í' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'hnémeiðsli' and s44 = 9999 r45 = 7 . if s45 = 6 and s45x = 'Datt á skemmtistað' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Rafsuðublindu' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Datt í smölun í kjarri' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Tak í bak eftir mikla vinnu' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Hestakerrubeisli' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Skaða á auga eftir að nota linsuvökva ranglega.' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Tognun - Tennisolnbogi' and s44 = 3 r45 = 6 . if s45 = 6 and s45x = 'Sýking' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Sneri mig á fæti' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'datt af reiðhjóli' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Fékk sting í bak' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Hundsbit+' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Datt í hálku er núna aum í hnénu' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Liðþófi í hné' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Liðþófi bilaði fór í aðgerð' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'rifbeinsbrotnað' and s44 = 3 r45 = 6 . if s45 = 6 and s45x = 'hundsbit' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'fjarlæga tánögl' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'sjóslys' and s44 = 9999 r45 = 6 . if s45 = 6 and s45x = 'vélhjólaslys' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Geisp' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'hundsbit' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'heimilisslys í baðkari' and s44 = 2 r45 = 2 . if s45 = 6 and s45x = 'datt í steintröppum' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'blóðeitrun' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Fékk skyndilegt tak í bak' and s44 = 1 r45 = 7 . if s45 = 6 and s45x = 'gamalt álag/ íþróttameiðsl' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Vöðvabólga' and s44 = 3 r45 = 7 . if s45 = 6 and s45x = 'Heilablóðfall' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Álag í vinnu' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Ekkert' and s44 = 1 r45 = 8 . if s45 = 6 and s45x = 'Datt á hálku' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'datt af hesti' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'datt af hjóli í hálku' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'datt af hestbaki' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'hryggurinn féll' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Datt á blautu góli inni í búð brotnar á upp handlegg og fékk sprun' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Ég datt úti og meiddist í andliti' and s44 = 9999 r45 = 6 . if s45 = 6 and s45x = 'vegna mistaka í aðgerð á sjúkrahúsi' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Missteyg mig, sleit liðbönd' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'fótbrot' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Sogæðabólgu' and s44 = 3 r45 = 7 . if s45 = 6 and s45x = 'rak tána í stein og datt' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'axlaraðgerð' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'sýking eftir aðgerð (æðaaðgerð)' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Grindarlos' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Datt á göngutúr' and s44 = 2 r45 = 2 . if s45 = 6 and s45x = 'Féll af hesti' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Eitrun í olnboga' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Fjórhjólaslys' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Óvitað' and s44 = 4 r45 = 7 . if s45 = 6 and s45x = 'Torfæruhjól' and s44 = 3 r45 = 6 . if s45 = 6 and s45x = 'Brjósklos' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Liðskipti (hné)' and s44 = 9999 r45 = 7 . if s45 = 6 and s45x = 'Tognun á hnénu' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Slæmar vöðvabólgur í baki v/vinnu' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Ég datt á hausinn' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Ég datt niður stiga' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Skipt um mjaðmalið/álagsmeiðsl' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Er með göngugrind og datt með hana úti, tvisvar' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Óhapp í vinnu, fékk brjósklos í mjóhrygg' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Rfinn liðþófi' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'fall í göngu' and s44 = 3 r45 = 6 . if s45 = 6 and s45x = 'axlarbrot eftir að hafa dottið við gangstétt... er bíll kom á ofsa' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'Datt í hálku' and s44 = 1 r45 = 6 . if s45 = 6 and s45x = 'Ekkert' and s44 = 1 r45 = 8 . if s45 = 6 and s45x = 'Ekkert sérstakt, fékk brjósklos í bak' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Bakið gaf sig (brjósklos), heimskir læknar geta ekki gert neitt ti' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Rann við að stíga út úr baðkeri í bleytu' and s44 = 2 r45 = 2 . if s45 = 6 and s45x = 'á leið í vinnu' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'fótbrot' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'ofneysla lyfja' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'datt af hestbaki í skólanum' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'líffæraskipti' and s44 = 1 r45 = 7 . if s45 = 6 and s45x = 'veiðiferð' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'sleit hásin í vinstri fæti' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'slitgigt í hné' and s44 = 3 r45 = 7 . if s45 = 6 and s45x = 'skaði á húð (fótleggja) eftir snertingu við hvönn' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'matareitund' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'fall í hálku' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'gömul meiðsl (brot)' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'Álagsmeiðsl' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'hné festist' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'matareitrun' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'tognun í öxl' and s44 = 3 r45 = 6 . if s45 = 6 and s45x = 'blóðeitrun, álagsbólgur' and s44 = 3 r45 = 7 . if s45 = 6 and s45x = 'kviðslit- uppsafnað' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'eftir 15 km. göngu' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'líkamsáreynslu- útivistarnámskeið' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'datt af hestbaki' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'missti drif úr jeppa á putta' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'brjósklost' and s44 = 2 r45 = 7 . if s45 = 6 and s45x = 'datt fyrir utan vinnustað' and s44 = 2 r45 = 6 . if s45 = 6 and s45x = 'ristilaðgerð' and s44 = 1 r45 = 7 . if s45 = 6 and s45x = 'krabbamein í heilann 2 svar' and s44 = 2 r45 = 7 . if r45 = -1 and s44 = 2 and s45 = 13 r45 = 1 . if r45 = -1 and s44 = 1 and s45 = 3456 r45 = 8 . if r45 = -1 and s44 = 3 and s45 = 12 r45 = 1 . if r45 = -1 and s44 = 3 and s45 = 25 r45 = 2 . if r45 = -1 and s44 = 2 and s45 = 23 r45 = 2 . if r45 = -1 and s44 = 5 and s45 = 3456 r45 = 9999 . if r45 = -1 and s44 = 9999 and s45 = 35 r45 = 3 . if r45 = -1 and s44 = 5 and s45 = 14 r45 = 1 . if r45 = -1 and s44 = 5 and s45 = 34 r45 = 3 . if r45 = -1 and s44 = 3 and s45 = 13 r45 = 1 . if r45 = -1 and s44 = 2 and s45 = 6 r45 = 6 . if r45 = -1 and s44 = 3 and s45 = 26 r45 = 2 . if r45 = -1 and s44 = 3 and s45 = 24 r45 = 2 . if r45 = -1 and s44 = 3 and s45 = 35 r45 = 3 . if r45 = -1 and s44 = 2 and s45 = 6 r45 = 6 . if r45 = -1 and s44 = 3 and s45 = 34 r45 = 4 . if r45 = -1 and s44 = 2 and s45 = 6 r45 = 7 . if r45 = -1 and s44 = 1 and s45 = 123 r45 = 8 . if r45 = -1 and s44 = 3 and s45 = 34 r45 = 3 . if r45 = -1 and s44 = 2 and s45 = 35 r45 = 3 . if r45 = -1 and s44 = 3 and s45 = 34 r45 = 3 . if r45 = -1 and s44 = 3 and s45 = 24 r45 = 2 . if r45 = -1 and s44 = 3 and s45 = 14 r45 = 1 . if r45 = -1 and s45 = 9999 and any(s44, 2, 3, 4, 5, 24, 34, 2345) r45 = 7. if r45 = -1 and s45 = 9999 and s44 = 1 r45 = 8. if r45 = -1 and s45 = 6 and s45x = "" r45 = 7. var label r45 "Eftir hvað voru meiðslin". val label r45 1 "Umferðarslys" 2 "Slys heima eða frítímaslys" 3 "Vinnuslys" 4 "Íþróttaslys" 5 "Ofbeldi, árás" 6 "Annað, slys" 7 "Annað, ekki vitað" 8 "Ekki orðið fyrir meiðslum s. 12 mán." . recode r45 (-1 = 9999). exe. missing values r45 (9999). missing values s44 s45 (12 thru 9999). ** s46 --> r46. Bætt við gildi fyrir þá sem ekki hafa orðið fyrir meiðslum sl 12 mán. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s46 s44 (). compute r46 = s46. if s44 = 1 and s46 = 9999 r46 = 11. if s44 = 1 and s46 = 1 r46 = 11. val label r46 1 "Hef ekki verið frá vinnu vegna meiðsla á síðustu 12 mánuðum" 2 "1–5 daga" 3 "6–10 daga" 4 "11–20 daga" 5 "21–30 daga" 6 "1–2 mánuði" 7 "3–4 mánuði" 8 "5 mánuði eða meira" 9 "Hef ekkert unnið síðustu 12 mánuði vegna meiðsla" 10 "Var ekki í vinnu" 11 "Hef/ur ekki orðið fyrir meiðslum síðustu 12 mánuði". exe. missing values s46 s44 r46 (12 thru 9999). ** s48 --> r48 - Texta breytt í tölugildi. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * Þeir sem ekki stunduðu erfiða hreyfingu í síðustu viku samkvæmt s47 og svöruðu ekki s48 fá gildið "0" á r48. compute r48 = -1. if s48 = "?" r48 = 9999 . if s48 = "0-15" r48 = 7 . if s48 = "0" r48 = 0 . if s48 = "1-4 kls" r48 = 150 . if s48 = "1" r48 = 1 . if s48 = "1 klst" r48 = 60 . if s48 = "1 tíma" r48 = 60 . if s48 = "1,5" r48 = 1.5 . if s48 = "1:30" r48 = 90 . if s48 = "10-12" r48 = 11 . if s48 = "10-15" r48 = 12.5 . if s48 = "10-20" r48 = 15 . if s48 = "10-30" r48 = 20 . if s48 = "10-50" r48 = 30 . if s48 = "10-60" r48 = 35 . if s48 = "10" r48 = 10 . if s48 = "10 tímar" r48 = 600 . if s48 = "100-120" r48 = 110 . if s48 = "100" r48 = 100 . if s48 = "107" r48 = 107 . if s48 = "110" r48 = 110 . if s48 = "115" r48 = 115 . if s48 = "12" r48 = 12 . if s48 = "120-180" r48 = 150 . if s48 = "120" r48 = 120 . if s48 = "13" r48 = 13 . if s48 = "130" r48 = 130 . if s48 = "15-20" r48 = 17.5 . if s48 = "15-30" r48 = 22.5 . if s48 = "15-40" r48 = 27.5 . if s48 = "15-60" r48 = 37.5 . if s48 = "15" r48 = 15 . if s48 = "150" r48 = 150 . if s48 = "16" r48 = 16 . if s48 = "160" r48 = 160 . if s48 = "17" r48 = 17 . if s48 = "170" r48 = 170 . if s48 = "180-240" r48 = 210 . if s48 = "180" r48 = 180 . if s48 = "190" r48 = 190 . if s48 = "2-3" r48 = 3 . if s48 = "2-3 tíma" r48 = 150 . if s48 = "2-5" r48 = 3.5 . if s48 = "2" r48 = 2 . if s48 = "2 klst" r48 = 120 . if s48 = "2,5" r48 = 2.5 . if s48 = "20-30" r48 = 25 . if s48 = "20-40" r48 = 30 . if s48 = "20-60" r48 = 40 . if s48 = "20" r48 = 20 . if s48 = "200-300" r48 = 250 . if s48 = "200" r48 = 200 . if s48 = "22" r48 = 22 . if s48 = "220" r48 = 220 . if s48 = "23" r48 = 23 . if s48 = "230" r48 = 230 . if s48 = "24" r48 = 24 . if s48 = "240" r48 = 240 . if s48 = "2400" r48 = 2400 . if s48 = "25-200" r48 = 113 . if s48 = "25-30" r48 = 27.5 . if s48 = "25" r48 = 25 . if s48 = "250" r48 = 250 . if s48 = "260" r48 = 260 . if s48 = "270" r48 = 270 . if s48 = "280-300" r48 = 290 . if s48 = "280" r48 = 280 . if s48 = "29" r48 = 29 . if s48 = "2x50" r48 = 50 . if s48 = "3-4 tím.." r48 = 210 . if s48 = "3" r48 = 3 . if s48 = "3 kl" r48 = 180 . if s48 = "30-40" r48 = 35 . if s48 = "30-45" r48 = 37.5 . if s48 = "30-50" r48 = 40 . if s48 = "30-6" r48 = 45 . if s48 = "30-60" r48 = 45 . if s48 = "30" r48 = 30 . if s48 = "300" r48 = 300 . if s48 = "320" r48 = 320 . if s48 = "35-40" r48 = 37.5 . if s48 = "35-60" r48 = 47.5 . if s48 = "35" r48 = 35 . if s48 = "350" r48 = 350 . if s48 = "360" r48 = 360 . if s48 = "38" r48 = 38 . if s48 = "380" r48 = 380 . if s48 = "3o" r48 = 30 . if s48 = "3O" r48 = 30 . if s48 = "4-14" r48 = 9 . if s48 = "4" r48 = 4 . if s48 = "4 klst" r48 = 240 . if s48 = "40-45" r48 = 42.5 . if s48 = "40-50" r48 = 45 . if s48 = "40-60" r48 = 50 . if s48 = "40-70" r48 = 55 . if s48 = "40-80" r48 = 60 . if s48 = "40" r48 = 40 . if s48 = "400" r48 = 400 . if s48 = "40x2" r48 = 40 . if s48 = "42" r48 = 42 . if s48 = "420" r48 = 420 . if s48 = "420+-" r48 = 420 . if s48 = "43" r48 = 43 . if s48 = "440" r48 = 440 . if s48 = "45-120" r48 = 82.5 . if s48 = "45-60" r48 = 52.5 . if s48 = "45-70" r48 = 57.5 . if s48 = "45-90" r48 = 67.5 . if s48 = "45" r48 = 45 . if s48 = "47" r48 = 47 . if s48 = "480" r48 = 480 . if s48 = "5-10" r48 = 7.5 . if s48 = "5-50" r48 = 27.5 . if s48 = "5-6" r48 = 5.5 . if s48 = "5" r48 = 5 . if s48 = "50-60" r48 = 55 . if s48 = "50-70" r48 = 60 . if s48 = "50-80" r48 = 65 . if s48 = "50" r48 = 50 . if s48 = "54" r48 = 54 . if s48 = "540" r48 = 540 . if s48 = "55" r48 = 55 . if s48 = "580" r48 = 580 . if s48 = "5O" r48 = 50 . if s48 = "6-14 klst." r48 = 600 . if s48 = "60-120" r48 = 90 . if s48 = "60-180" r48 = 120 . if s48 = "60-240" r48 = 150 . if s48 = "60-300" r48 = 180 . if s48 = "60-69" r48 = 64.5 . if s48 = "60-70" r48 = 65 . if s48 = "60-75" r48 = 67.5 . if s48 = "60-80" r48 = 70 . if s48 = "60-90" r48 = 75 . if s48 = "60" r48 = 60 . if s48 = "600" r48 = 600 . if s48 = "65-80" r48 = 72.5 . if s48 = "65" r48 = 65 . if s48 = "7" r48 = 7 . if s48 = "70-80" r48 = 75 . if s48 = "70" r48 = 70 . if s48 = "720" r48 = 720 . if s48 = "75" r48 = 75 . if s48 = "75,0" r48 = 75 . if s48 = "75+" r48 = 75 . if s48 = "8" r48 = 8 . if s48 = "8 tíma á dag, suma dagana þegar beitning er" r48 = 9999 . if s48 = "80-100" r48 = 90 . if s48 = "80" r48 = 80 . if s48 = "82" r48 = 82 . if s48 = "85" r48 = 85 . if s48 = "888" r48 = 888 . if s48 = "9" r48 = 9 . if s48 = "90-100" r48 = 95 . if s48 = "90-120" r48 = 105 . if s48 = "90" r48 = 90 . if s48 = "ca 120" r48 = 120 . if s48 = "ca 15" r48 = 15 . if s48 = "ca 20-60" r48 = 40 . if s48 = "ca 20" r48 = 20 . if s48 = "ca 240" r48 = 240 . if s48 = "ca 40-60" r48 = 50 . if s48 = "ca 60" r48 = 60 . if s48 = "ca 70" r48 = 70 . if s48 = "ca. 30" r48 = 30 . if s48 = "enga" r48 = 0 . if s48 = "hef ekki tölu á því" r48 = 9999 . if s48 = "Vinn erfiða vinnu" r48 = 9999 . if s48 = "X" r48 = 9999 . missing values s47 (). if any(r48, -1, 9999) and s47 = 8 r48 = 0. recode r48 (-1 = 9999). exe. missing values r48 (888 9999). val label r48 0 "Stundaði enga erfiða hreyfingu skv. s47 eða svaraði til núll mínútum". var label r48 "Mínútur á dag í erfiða hreyfingu, þá daga sem spurt er um í s47". ** s50 --> r50 - Texta breytt í tölugildi. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * Þeir sem ekki stunduðu miðlungs erfiða hreyfingu í síðustu viku samkvæmt s49 og svöruðu ekki s50 fá gildið "0" á r50. * Mínútur í miðlungserfiðri hreyfingu. compute r50 = -1. if s50 = "888" r50 =888. if s50 = "?" r50 =9999. if s50 = "0" r50 =0. if s50 = "1-2 klst" r50 =90. if s50 = "1-4 kl" r50 =150. if s50 = "1" r50 =1. if s50 = "1:30" r50 =90. if s50 = "10-15" r50 =12. if s50 = "10-180" r50 =95. if s50 = "10-20" r50 =15. if s50 = "10-30" r50 =20. if s50 = "10-60" r50 =35. if s50 = "10" r50 =10. if s50 = "10 tímar" r50 =600. if s50 = "100-200" r50 =150. if s50 = "100-240" r50 =170. if s50 = "100" r50 =100. if s50 = "1080" r50 =1080. if s50 = "11" r50 =11. if s50 = "110" r50 =110. if s50 = "12" r50 =12. if s50 = "120-140" r50 =130. if s50 = "120-150" r50 =135. if s50 = "120-180" r50 =150 . if s50 = "120-240" r50 =180. if s50 = "120" r50 =120. if s50 = "13-20" r50 =16. if s50 = "130" r50 =130. if s50 = "14" r50 =14. if s50 = "140" r50 =140. if s50 = "15-20" r50 =17. if s50 = "15" r50 =15. if s50 = "150" r50 =150. if s50 = "160" r50 =160. if s50 = "165" r50 =165. if s50 = "17" r50 =17. if s50 = "170" r50 =170. if s50 = "180" r50 =180. if s50 = "183" r50 =183. if s50 = "18O" r50 =180. if s50 = "190" r50 =190. if s50 = "2-3" r50 =3. if s50 = "2-3 tima" r50 =150. if s50 = "2" r50 =2. if s50 = "2 klst" r50 =120. if s50 = "20-25" r50 =22. if s50 = "20-30" r50 =25. if s50 = "20-40" r50 =30. if s50 = "20-45" r50 =32. if s50 = "20-60" r50 =40. if s50 = "20" r50 =20. if s50 = "200-300" r50 =250. if s50 = "200" r50 =200. if s50 = "2000" r50 =2000. if s50 = "210" r50 =210. if s50 = "220" r50 =220. if s50 = "23" r50 =23. if s50 = "230" r50 =230. if s50 = "240-480" r50 =360. if s50 = "240" r50 =240. if s50 = "244" r50 =244. if s50 = "25-30" r50 =27. if s50 = "25-40" r50 =27. if s50 = "25" r50 =25. if s50 = "250" r50 =250. if s50 = "260" r50 =260. if s50 = "270" r50 =270. if s50 = "280" r50 =280. if s50 = "290" r50 =290. if s50 = "3-5 klst" r50 =240. if s50 = "3" r50 =3. if s50 = "3 klst" r50 =180. if s50 = "30-240" r50 =135. if s50 = "30-40" r50 =35. if s50 = "30-45" r50 =37. if s50 = "30-50" r50 =40. if s50 = "30-60" r50 =45. if s50 = "30-67" r50 =48. if s50 = "30" r50 =30. if s50 = "30 +/-" r50 =30. if s50 = "300-350" r50 =325. if s50 = "300" r50 =300. if s50 = "310" r50 =310. if s50 = "320" r50 =320. if s50 = "340" r50 =340. if s50 = "35" r50 =35. if s50 = "350" r50 =350. if s50 = "36" r50 =36. if s50 = "360" r50 =360. if s50 = "38" r50 =38. if s50 = "380" r50 =380. if s50 = "4" r50 =4. if s50 = "40-50" r50 =45. if s50 = "40-60" r50 =40. if s50 = "40-80" r50 =60. if s50 = "40" r50 =40. if s50 = "400" r50 =400. if s50 = "42" r50 =42. if s50 = "420" r50 =420. if s50 = "43" r50 =43. if s50 = "45-120" r50 =82. if s50 = "45-60" r50 =52. if s50 = "45" r50 =45. if s50 = "450" r50 =450. if s50 = "48" r50 =48. if s50 = "480" r50 =480. if s50 = "5-20" r50 =12. if s50 = "5" r50 =5. if s50 = "5 kl." r50 =300. if s50 = "50-60" r50 =55. if s50 = "50-70" r50 =60. if s50 = "50" r50 =50. if s50 = "500" r50 =500. if s50 = "53-57" r50 =55. if s50 = "540" r50 =540. if s50 = "55" r50 =55. if s50 = "560" r50 =560. if s50 = "58" r50 =58. if s50 = "59" r50 =59. if s50 = "5x60" r50 =300. if s50 = "6" r50 =6. if s50 = "6 klst." r50 =360. if s50 = "60-120" r50 =90. if s50 = "60-180" r50 =120. if s50 = "60-240" r50 =150. if s50 = "60-300" r50 =180. if s50 = "60-70" r50 =65. if s50 = "60-75" r50 =67. if s50 = "60-80" r50 =70. if s50 = "60-90" r50 =75. if s50 = "60" r50 =60. if s50 = "60+" r50 =60. if s50 = "600" r50 =600. if s50 = "620" r50 =620. if s50 = "63" r50 =63. if s50 = "65" r50 =65. if s50 = "6X10" r50 =60. if s50 = "6x60" r50 =360. if s50 = "6X60" r50 =360. if s50 = "7" r50 =7. if s50 = "70-80" r50 =75. if s50 = "70" r50 =70. if s50 = "720" r50 =720. if s50 = "74" r50 =74. if s50 = "75" r50 =75. if s50 = "79" r50 =79. if s50 = "8-10" r50 =9. if s50 = "8" r50 =8. if s50 = "8 klst" r50 =480. if s50 = "8 til 16 kl á dag" r50 =12. if s50 = "80-100" r50 =90. if s50 = "80-60" r50 =70. if s50 = "80" r50 =80. if s50 = "800-1200" r50 =480. if s50 = "9-10" r50 =9. if s50 = "9" r50 =9. if s50 = "9 kls" r50 =540. if s50 = "90-100" r50 =95. if s50 = "90-120" r50 =105. if s50 = "90" r50 =90. if s50 = "95" r50 =95. if s50 = "ca 10" r50 =10. if s50 = "ca 100" r50 =100. if s50 = "ca 120-240" r50 =180. if s50 = "ca 120" r50 =120. if s50 = "ca 180" r50 =180. if s50 = "ca 2 tíma" r50 =120. if s50 = "ca 20-30" r50 =25. if s50 = "ca 20" r50 =20. if s50 = "ca 240" r50 =240. if s50 = "ca 30" r50 =30. if s50 = "ca 45" r50 =45. if s50 = "ca 60" r50 =60. if s50 = "ca. 120" r50 =120. if s50 = "ca. 40" r50 =40. if s50 = "frá 180" r50 =180. if s50 = "veit ekki ca 60" r50 =60. if s50 = "vinna 6" r50 =360. *Þessar tvær leiðréttingar ekki hægt að keyra á útsend gögn, þar sem þau hafa ekki breytuna "id". * if id = 1902 r50 = 40. * if id = 83 r50 = 9999. exe. missing values s49 (). if any(r50, -1, 9999) and s49 = 8 r50 = 0. recode r50 (-1 = 9999). exe. missing values r50 (888 9999). val label r50 0 "Stundaði enga miðl. hreyfingu skv. s49 eða svaraði til núll mínútum". var label r50 "Mínútur á dag í miðlungs erfiða hreyfingu, þá daga sem spurt er um í s49". ** s71 --> r71. * Bætt við upplýsingum um þá sem líklega eru að svara ALDREI á spurningum með því að sleppa að svara. * Ef einstaklingur svarar "JÁ" á a.m.k einni spurningu (s71a-d) en svarar ekki hinum á hann líklega við NEI og fær því gildið 4 á þeim spurningum. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. missing values s71a to s71d (). * Lagfæring. recode s71b (6=5). missing values s71a to s71d (12 thru 9999). compute s71fjsj = nvalid(s71a to s71d). compute s71JA =0. compute s71NEI =0. vector s71SJ = s71a to s71d. loop #i = 1 to 4. if s71SJ(#i) le 4 s71JA = s71JA + 1. if s71SJ(#i) = 5 s71NEI = s71NEI + 1. end loop. exe. compute JASV71 = 0. if s71fjsj ne 4 and s71NEI = 0 and s71JA ge 1 JASV71 = 1. missing values s71a to s71d (). exe. compute r71a = s71a. compute r71b = s71b. compute r71c = s71c. compute r71d = s71d. compute r71d = s71d. vector SP71 = s71a to s71d. vector RSP71 = r71a to r71d. loop #i = 1 to 4. if SP71(#i) = 9999 and JASV71 = 1 RSP71(#i) = 6. end loop. var label r71a "Hversu oft hefur þú sólbrunnið í sólinni eða ljósum síðustu 12 mánuði? - Í sólbaði á Íslandi". var label r71b "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Í vinnunni á Íslandi". var label r71c "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Í sólarlandaferð". var label r71d "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Á öðru ferðalagi erlendis". var label r71d "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Í ljósum (ljósalömpum eða ljósabekkjum)". val label r71a to r71d 1 "1-3 skipti" 2 "4-10 skipti" 3 "11-30 skipti" 4 "Oftar en 30 skipti" 5 "Aldrei" 6 "Líklega, aldrei". exe. missing values r71a to r71d (12 thru 9999). missing values s71a to s71d (12 thru 9999). ** s72 --> r72. * Bætt við upplýsingum um þá sem líklega eru að svara ALDREI á spurningum með því að sleppa að svara. * Ef einstaklingur svarar "JÁ" á a.m.k einni spurningu (s72a-e) en svarar ekki hinum á hann líklega við NEI og fær því gildið 4 á þeim spurningum. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. compute s72fjsj = nvalid(s72a to s72e). compute s72JA =0. compute s72NEI =0. vector s72SJ = s72a to s72e. loop #i = 1 to 5. if s72SJ(#i) le 4 s72JA = s72JA + 1. if s72SJ(#i) = 5 s72NEI = s72NEI + 1. end loop. exe. compute JASV72 = 0. if s72fjsj ne 5 and s72NEI = 0 and s72JA ge 1 JASV72 = 1. exe. missing values s72a to s72e (). compute r72a = s72a. compute r72b = s72b. compute r72c = s72c. compute r72d = s72d. compute r72e = s72e. vector SP72 = s72a to s72e. vector RSP72 = r72a to r72e. loop #i = 1 to 5. if SP72(#i) = 9999 and JASV72 = 1 RSP72(#i) = 6. end loop. var label r72a "Hversu oft hefur þú sólbrunnið í sólinni eða ljósum síðustu 12 mánuði? - Í sólbaði á Íslandi". var label r72b "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Í vinnunni á Íslandi". var label r72c "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Í sólarlandaferð". var label r72d "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Á öðru ferðalagi erlendis". var label r72e "Hversu oft hefur þú sólbrunnið síðustu 12 mánuði? - Í ljósum (ljósalömpum eða ljósabekkjum)". val label r72a to r72e 1 "1-3 skipti" 2 "4-10 skipti" 3 "11-30 skipti" 4 "Oftar en 30 skipti" 5 "Aldrei" 6 "Líklega, aldrei". exe. missing values r72a to r72e (12 thru 9999). missing values s72a to s72e (12 thru 9999). ** s75 --> r75. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s75 (). compute r75 = s75. if s75 = 12 r75 = 9998 . if s75 = 15 r75 = 5 . if s75 = 16 r75 = 6 . if s75 = 23 r75 = 3 . if s75 = 25 r75 = 2 . if s75 = 26 r75 = 2 . if s75 = 34 r75 = 4 . if s75 = 35 r75 = 3 . if s75 = 36 r75 = 3 . if s75 = 45 r75 = 4 . if s75 = 56 r75 = 9998 . if s75 = 156 r75 = 9998 . val label r75 1 "Einhleyp/ur" 2 "Í föstu sambandi en ekki í sambúð" 3 "Í sambúð" 4 "Gift/kvæntur" 5 "Fráskilin/n" 6 "Ekkja/ekkill". exe. missing values r75 (9998 9999). ** s76x --> r76x. Textabreytu breytt í númerabreytu. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. compute r76x = -1. if s76x = '11' r76x = 11 . if s76x = '11 1/2 ár' r76x = 11.5 . if s76x = '11,5' r76x = 11.5 . if s76x = '112' r76x = 9998 . if s76x = '12' r76x = 12 . if s76x = '12 ár' r76x = 12 . if s76x = '12 gift í 1 ár' r76x = 1 . if s76x = '12,5' r76x = 12.5 . if s76x = '12,5 ár' r76x = 12.5 . if s76x = '13' r76x = 13 . if s76x = '13 (sambúð 38 ár)' r76x = 13 . if s76x = '13 ár' r76x = 13 . if s76x = '13,5' r76x = 13.5 . if s76x = '14' r76x = 14 . if s76x = '14 ár' r76x = 14 . if s76x = '14 ár (21 ár samtals)' r76x = 14 . if s76x = '15' r76x = 15 . if s76x = '15 (+10 í sambúð = 25 ár)' r76x = 15 . if s76x = '15 (sambúð 22)' r76x = 15 . if s76x = '15 ár' r76x = 15 . if s76x = '15 ár gift (búið saman í 17 ár)' r76x = 15 . if s76x = '16' r76x = 16 . if s76x = '16 ár' r76x = 16 . if s76x = "16 ár er ekkja'" r76x = 16 . if s76x = '17-18 ár' r76x = 17.5 . if s76x = '17' r76x = 17 . if s76x = '17 ár' r76x = 17 . if s76x = '17 ár (gift í 2 ár)' r76x = 2 . if s76x = '17 ár með sama manni' r76x = 17 . if s76x = '17 og hálft' r76x = 17.5 . if s76x = '18' r76x = 18 . if s76x = '18 ár' r76x = 18 . if s76x = '19' r76x = 19 . if s76x = '19 ár' r76x = 19 . if s76x = '19 ára samband -1,5 ár...' r76x = 1.5 . if s76x = '1984' r76x = 23 . if s76x = '2' r76x = 2 . if s76x = '20' r76x = 20 . if s76x = '20 ár' r76x = 20 . if s76x = '20 ár sambúð/kvæntur' r76x = 20 . if s76x = '21-22' r76x = 21.5 . if s76x = '21' r76x = 21 . if s76x = '21 ár' r76x = 21 . if s76x = '22' r76x = 22 . if s76x = '22 ár' r76x = 22 . if s76x = '22+' r76x = 22 . if s76x = '23' r76x = 23 . if s76x = '23 ár' r76x = 23 . if s76x = '23 ár þar af 8 ár gift' r76x = 8 . if s76x = '23(888)' r76x = 9 . if s76x = '24' r76x = 24 . if s76x = '24 ár' r76x = 24 . if s76x = '24 og hálfur' r76x = 24.5 . if s76x = '25 - fyrra hjónaband' r76x = 25 . if s76x = '25' r76x = 25 . if s76x = '25 ár' r76x = 25 . if s76x = '25+9 ár seinni kona' r76x = 9 . if s76x = '26' r76x = 26 . if s76x = '26 ár' r76x = 26 . if s76x = '27' r76x = 27 . if s76x = '27 ár' r76x = 27 . if s76x = '28' r76x = 28 . if s76x = '28 ár' r76x = 28 . if s76x = '28 ár +' r76x = 28 . if s76x = '28 ár í sambúð' r76x = 19 . if s76x = '28ÁR' r76x = 28 . if s76x = '29' r76x = 29 . if s76x = '29 ár' r76x = 29 . if s76x = '29,5' r76x = 29.5 . if s76x = '2D' r76x = 20 . if s76x = '3' r76x = 3 . if s76x = '30' r76x = 30 . if s76x = '30 ár' r76x = 30 . if s76x = '30 sambúð - gif....' r76x = 30 . if s76x = '30+' r76x = 30 . if s76x = '31' r76x = 31 . if s76x = '31 ár' r76x = 31 . if s76x = '31,5 ár' r76x = 31.5 . if s76x = '32' r76x = 32 . if s76x = '32 ár' r76x = 32 . if s76x = '33' r76x = 33 . if s76x = '33 ár' r76x = 33 . if s76x = '34-35' r76x = 34.5 . if s76x = '34' r76x = 34 . if s76x = '34 ár' r76x = 34 . if s76x = '35' r76x = 35 . if s76x = '35 ár' r76x = 35 . if s76x = '35 eða 40' r76x = 37.5 . if s76x = '36' r76x = 36 . if s76x = '36 ár' r76x = 36 . if s76x = '37' r76x = 37 . if s76x = '37 ár' r76x = 37 . if s76x = '38' r76x = 38 . if s76x = '38 ár' r76x = 38 . if s76x = '39' r76x = 39 . if s76x = '39 1/2' r76x = 39.5 . if s76x = '39 ár' r76x = 39 . if s76x = '39,5 ár' r76x = 39.5 . if s76x = '4' r76x = 4 . if s76x = '40' r76x = 40 . if s76x = '40 ár' r76x = 40 . if s76x = '40,6' r76x = 40.5 . if s76x = '40+' r76x = 41 . if s76x = '41' r76x = 41 . if s76x = '41 ár' r76x = 41 . if s76x = '41ár' r76x = 41 . if s76x = '42' r76x = 42 . if s76x = '42 ár' r76x = 42 . if s76x = '43' r76x = 43 . if s76x = '43 ár' r76x = 43 . if s76x = '44' r76x = 44 . if s76x = '44 ár' r76x = 44 . if s76x = '45' r76x = 45 . if s76x = '45 ár' r76x = 45 . if s76x = '45ár' r76x = 45 . if s76x = '46' r76x = 46 . if s76x = '46 ár' r76x = 46 . if s76x = '47' r76x = 47 . if s76x = '47 ár' r76x = 47 . if s76x = '48' r76x = 48 . if s76x = '48 ár' r76x = 48 . if s76x = '48,5' r76x = 48.5 . if s76x = '49' r76x = 49 . if s76x = '49 ár' r76x = 49 . if s76x = '49 verða 50 í des' r76x = 49 . if s76x = '49,5' r76x = 49.5 . if s76x = '5' r76x = 5 . if s76x = '5 ár' r76x = 5 . if s76x = '50' r76x = 50 . if s76x = '50 ár' r76x = 50 . if s76x = '51' r76x = 51 . if s76x = '51 ár' r76x = 51 . if s76x = '52' r76x = 52 . if s76x = '52 ár' r76x = 52 . if s76x = '53' r76x = 53 . if s76x = '53 ár' r76x = 53 . if s76x = '53 og hálft ár' r76x = 53.5 . if s76x = '54' r76x = 54 . if s76x = '54 ár' r76x = 54 . if s76x = '55' r76x = 55 . if s76x = '55 ár' r76x = 55 . if s76x = '56' r76x = 56 . if s76x = '56 ár' r76x = 56 . if s76x = '57' r76x = 57 . if s76x = '57 ár' r76x = 57 . if s76x = '58' r76x = 58 . if s76x = '59' r76x = 59 . if s76x = '60' r76x = 60 . if s76x = '60 ár' r76x = 60 . if s76x = '62' r76x = 62 . if s76x = '65' r76x = 65 . if s76x = '7' r76x = 7 . if s76x = '8' r76x = 8 . if s76x = '9' r76x = 9 . if s76x = 'ca 25 ár' r76x = 25 . if s76x = 'ca 33 ár' r76x = 33 . if s76x = 'ein' r76x = 11 . if s76x = 'ekkja 11 ár' r76x = 11 . if s76x = 'frá 1954' r76x = 53 . if s76x = 'frá 1972' r76x = 35 . if s76x = 'gift 1970! (37 ár)' r76x = 37 . if s76x = 'gift 37 saman 42' r76x = 37 . if s76x = 'gift í 11,5 ár' r76x = 11.5 . if s76x = 'gift í 12 ár + sambúð í 7' r76x = 12 . if s76x = 'Gift í 3 ár, sambúð í 10,5 ár' r76x = 3 . if s76x = 'gift í 54 ár' r76x = 54 . if s76x = 'hef verið í sambúð síðan 1975, en gift síðan 2005' r76x = 2 . if s76x = 'síðan 1988' r76x = 19 . if s76x = 'tæp 19 ár' r76x = 19 . if s76x = 'tæp 30 ár' r76x = 30 . if s76x = 'um 50 ár' r76x = 50 . if s76x = 'Var 40 ár' r76x = 9998 . if s76x = 'var giftur á 55 ár' r76x = 9998 . if s76x = 'var giftur í 15 ár' r76x = 9998 . if s76x = 'Var í 30 ár' r76x = 9998 . if s76x = 'Var í hjónabandi í 35 ár' r76x = 9998 . if s76x = '888' and s75 = 6 r76x = 32 . if s76x = '888' and s75 = 4 r76x = 3 . exe. recode r76x (-1 = 9999). add val label r76x 9998 "Ógilt" 9999 "Auð lína". *********************************** ** s76 --> r76. Svör úr textabreytu notuð til að búa til fleiri flokka á r76. missing values s76 (). compute r76 = -1. if s76 = 1 r76 = 1. if s76 = 2 r76 = 2. if s76 = 3 r76 = 3. if s76 = 4 r76 = 4. if s76 = 5 r76 = 5. if s76 = 6 r76 = 6. if s76 = 37 r76 = 3 . if s76 = 38 r76 = 9999 . if s76 = 48 r76 = 9999 . if s76 = 57 r76 = 6 . if s76 = 67 r76 = 6 . if s76 = 7 and r76x = 1 r76 = 2 . if s76 = 7 and r76x = 2 r76 = 2 . if s76 = 7 and r76x = 7 r76 = 4 . if s76 = 7 and r76x = 11 r76 = 6 . if s76 = 7 and r76x gt 11 and r76x lt 16 r76 = 7 . if s76 = 7 and r76x gt 15 and r76x lt 21 r76 = 8 . if s76 = 7 and r76x gt 20 and r76x lt 26 r76 = 9 . if s76 = 7 and r76x gt 25 and r76x lt 31 r76 = 10 . if s76 = 7 and r76x gt 30 and r76x lt 36 r76 = 11 . if s76 = 7 and r76x gt 35 and r76x lt 41 r76 = 12 . if s76 = 7 and r76x gt 40 and r76x lt 46 r76 = 13 . if s76 = 7 and r76x gt 45 and r76x lt 51 r76 = 14 . if s76 = 7 and r76x gt 50 and r76x lt 66 r76 = 15 . if s76 = 9999 and r76x = 2 r76 = 2 . if s76 = 9999 and r76x = 3 r76 = 3 . if s76 = 9999 and r76x = 4 r76 = 3 . if s76 = 9999 and r76x = 5 r76 = 3 . if s76 = 9999 and r76x = 8 r76 = 5 . if s76 = 9999 and r76x = 9 r76 = 5 . if s76 = 9999 and r76x = 11 r76 = 6 . if s76 = 9999 and r76x gt 11 and r76x lt 16 r76 = 7 . if s76 = 9999 and r76x gt 15 and r76x lt 21 r76 = 8 . if s76 = 9999 and r76x gt 20 and r76x lt 26 r76 = 9 . if s76 = 9999 and r76x gt 25 and r76x lt 31 r76 = 10 . if s76 = 9999 and r76x gt 30 and r76x lt 36 r76 = 11 . if s76 = 9999 and r76x gt 35 and r76x lt 40.5 r76 = 12 . if s76 = 9999 and r76x gt 40 and r76x lt 46 r76 = 13 . if s76 = 9999 and r76x gt 45 and r76x lt 51 r76 = 14 . if s76 = 9999 and r76x gt 50 and r76x lt 63 r76 = 15 . if s76 = 7 and r76x = 9999 r76 = 16. if s76 = 8 r76 = 17. val label r76 1 "Minna en 1 ár" 2 "1–2 ár" 3 "3–5 ár" 4 "6–7 ár" 5 "8–9 ár" 6 "10–11 ár" 7 "12-15 ár" 8 "16-20 ár" 9 "21-25 ár" 10 "26-30 ár" 11 "31-35 ár" 12 "36-40 ár" 13 "41-45 ár" 14 "46-50 ár" 15 "51+ ár" 16 "Meira en 11 ár - ekki vitað hve lengi" 17 "Hef alltaf verið einhleyp/ur". exe. recode r76 (-1 = 9999). missing values r76 (9999). missing values r76x (9998 9999). ** s77-->r77. Lítil breyting. Eitt svar á s77x fékk gildi á r77. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s77 (). compute r77 = s77. exe. val label r77 1 "Gagnkynhneigð/ur" 2 "Samkynhneigð/ur" 3 "Tvíkynhneigð/ur" 4 "Óviss um kynhneigð" 5 "Annað". * Missing svör á s77 leiðrétt út frá texta í s77x. if r77 = 9999 and s77x = 'gagnkynhneigur' r77 = 1. exe. missing values r77 ( 12 thru 9999). ** s78 og s78x --> r78. * Bætt í flokka út frá textasvari í breytu s78x - ekki mikil breyting. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. missing values s78 (). AUTORECODE VARIABLES=s78 /INTO r78 /PRINT. if s78 = 9999 and any(s78x, 10, 11) r78 = 10. if s78 = 9999 and s78x = 4 r78 = 5. recode r78 (11=14) (12=15) (13=25) (14=34) (15=47) (16=56) (17=9999). add val label r78 14 "" 15 "". exe. missing values r78 (14 thru 9999). ** s79 --> r79 - Fæðingarár yngsta barns. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. compute r79 = -1. if s79 = 4 r79 = 2004. if s79 = 16 r79 = 1991. if s79 gt 50 and s79 lt 888 r79 = s79+1900. if s79 gt 1940 r79 = s79. * Aðeins einn fær kóðan 888, við nánari athugun sést að fæðingarárið er 1990. if s79 = 888 r79 = 1990. * Þessar fimm leiðréttingar ekki hægt að keyra á útsend gögn, þar sem þau hafa ekki breytuna "id". *if id = 2839 r79 = 1965. *if id = 5121 r79 = 1969. *if id = 4120 r79 = 1961. *if id = 542 r79 = 1956. *if id = 1652 r79 = 1970. exe. recode r79 (-1=9999). missing values r79 (9999). FORMATS r79 (F4.0). fre r79. ** s80 --> r80. Missing gildum fækkað með því að bæta við flokk fyrir þá sem ekki eiga börn. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. missing values s80 (). compute r80 = s80. if s78 = 1 and any(s80, 1, 9999) r80 = 6. val label r80 1 "Nei" 2 "Já, með einu barni" 3 "Já, með tveimur börnum" 4 "Já, með þremur börnum" 5 "Já, með fjórum eða fleiri börnum" 6 "Á ekki börn". exe. missing values s80 r80 (12 thru 9999). ** s82 --> r82 - Búið til gildi fyrir þá sem búa einir. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. missing values s82a s82b s82c (). compute r82a = s82a. compute r82b = s82b. compute r82c = s82c. exe. * Þeir sem búa einir samkvæmt s81h fá gildið "10". if s81h = 1 and any(s82a, 0, 9999) and any(s82b, 0, 9999) and any(s82c, 0, 9999) r82a = 10. if s81h = 1 and any(s82a, 0, 9999) and any(s82b, 0, 9999) and any(s82c, 0, 9999) r82b = 10. if s81h = 1 and any(s82a, 0, 9999) and any(s82b, 0, 9999) and any(s82c, 0, 9999) r82c = 10. if s81h = 1 and s82a = 1 and any(s82b, 0, 9999) and any(s82c, 0, 9999) r82a = 10. if s81h = 1 and any(s82a, 0, 9999) and s82b = 1 and any(s82c, 0, 9999) r82a = 10. if s81h = 1 and any(s82a, 0, 9999) and any(s82b, 0, 9999) and s82c = 1 r82a = 10. if s81h = 1 and s82a = 1 and any(s82b, 0, 9999) and any(s82c, 0, 9999) r82b = 10. if s81h = 1 and any(s82a, 0, 9999) and s82b = 1 and any(s82c, 0, 9999) r82b = 10. if s81h = 1 and any(s82a, 0, 9999) and any(s82b, 0, 9999) and s82c = 1 r82b = 10. if s81h = 1 and s82a = 1 and any(s82b, 0, 9999) and any(s82c, 0, 9999) r82c = 10. if s81h = 1 and any(s82a, 0, 9999) and s82b = 1 and any(s82c, 0, 9999) r82c = 10. if s81h = 1 and any(s82a, 0, 9999) and any(s82b, 0, 9999) and s82c = 1 r82c = 10. var label r82a "Hversu margir búa á heimili þínu að þér meðtöldum/meðtalinni? - Börn 17 ára og yngri". var label r82b "Hversu margir búa á heimili þínu að þér meðtöldum/meðtalinni? - Fullorðnir 18 til 66 ára". var label r82c "Hversu margir búa á heimili þínu að þér meðtöldum/meðtalinni? - Fullorðnir 67 ára og eldri". val label r82a r82b r82c 0 "Engin/n á þeim aldri" 9 "9 eða fleiri" 10 "Bý ein/n". exe. ** s88 --> r88. * Missing gildum fækkað með því að bæta í flokkinn "Á ekki við, ég bý einn". * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. missing values s88 (). compute r88 = s88. if s88 = 9999 and s81h = 1 r88 = 0. exe. var label r88 "Heildartekjur allra heimilismanna á mánuði". val label r88 0 "Á ekki við, ég bý ein/einn" 1 "Minna en 75 þús." 2 "75–141 þús." 3 "142–200 þús." 4 "201–279 þús." 5 "280–369 þús." 6 "370–459 þús." 7 "460–529 þús." 8 "530–619 þús." 9 "620–699 þús." 10 "710–780 þús." 11 "781–960 þús." 12 "961–1.199 þús." 13 "1,2–1,5 millj." 14 "Meira en 1,5 millj.". missing values s88 r88 (18 thru 9999). ** s91 og s91x --> r91. * Menntun (s91 og s91x) hreinsuð af missing gildum og ný breyta búin til --> r91 * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. missing values s91 (). compute r91 = s91. exe. * "Hæsta" menntun látin ráða þegar merkt er í fleiri en einn reit. if s91 = 9 r91 = 9998 . if s91 = 12 r91 = 2 . if s91 = 14 r91 = 4 . if s91 = 15 r91 = 5 . if s91 = 16 r91 = 6 . if s91 = 19 r91 = 1 . if s91 = 24 r91 = 4 . if s91 = 25 r91 = 5 . if s91 = 26 r91 = 6 . if s91 = 29 r91 = 2 . if s91 = 34 r91 = 4 . if s91 = 35 r91 = 5 . if s91 = 36 r91 = 6 . if s91 = 39 r91 = 3 . if s91 = 45 r91 = 5 . if s91 = 46 r91 = 6 . if s91 = 49 r91 = 4 . if s91 = 56 r91 = 6 . if s91 = 59 r91 = 5 . if s91 = 67 r91 = 7 . if s91 = 69 r91 = 6 . if s91 = 79 r91 = 7 . if s91 = 124 r91 = 4 . if s91 = 126 r91 = 6 . if s91 = 129 r91 = 2 . if s91 = 134 r91 = 4 . if s91 = 149 r91 = 4 . if s91 = 179 r91 = 7 . if s91 = 239 r91 = 3 . if s91 = 245 r91 = 5 . if s91 = 459 r91 = 5 . if s91 = 1234 r91 = 4 . if s91 = 1249 r91 = 4 . if s91 = 1459 r91 = 5 . if s91 = 2346 r91 = 6 . if s91 = 2349 r91 = 4 . if s91 = 1 and s91x = "888" r91 = 1 . if s91 = 3 and s91x = "888" r91 = 3 . if s91 = 4 and s91x = "888" r91 = 4 . if s91 = 4 and s91x = "888" r91 = 4 . if s91 = 9 and s91x = "888" r91 = 4 . if s91 = 9 and s91x = "888" r91 = 4 . if s91 = 9 and s91x = "888" r91 = 9998 . if s91 = 12 and s91x = "888" r91 = 2 . if s91 = 19 and s91x = "888" r91 = 1 . if s91 = 9999 and s91x = "888" r91 = 9998 . if s91 = 9999 and s91x = "888" r91 = 10 . if s91 = 9999 and s91x = "888" r91 = 4 . if s91 = 9999 and s91x = "888" r91 = 9998 . if s91 = 1 and s91x = "(skóli lífsins) Metið meira verkið" r91 = 1 . if s91 = 6 and s91x = "+ 30 eininga kennsluréttindi + sveinspróf í 888smíði" r91 = 6 . if s91 = 9 and s91x = "1 ár í háskóla, Hólar, háskólinn á Hólum" r91 = 3 . if s91 = 1 and s91x = "1 vetur í húsmæðraskóla" r91 = 1 . if s91 = 1 and s91x = "1 vetur í hússtjórnarskóla" r91 = 1 . if s91 = 9999 and s91x = "1,5 vetur í Reykhotlsskóla, 1 vetur í húsmæðraskóla" r91 = 2 . if s91 = 2 and s91x = "1/2 stúidentspróf í öldungadeild" r91 = 2 . if s91 = 29 and s91x = "11/2 ár í fjölbrautaskóla" r91 = 2 . if s91 = 2 and s91x = "2 annir í fatasaum" r91 = 2 . if s91 = 19 and s91x = "2 ár á uppeldisbr." r91 = 1 . if s91 = 1 and s91x = "2 ár búfræðingur frá Hólaskóla" r91 = 1 . if s91 = 9999 and s91x = "2 bekkir í stýrimannaskólanum" r91 = 1 . if s91 = 9 and s91x = "2 stig stýrimannaskóla" r91 = 2 . if s91 = 2 and s91x = "2 stk verknám" r91 = 2 . if s91 = 1 and s91x = "2 vetur Í Búfræðinámi á Hvanneyri" r91 = 1 . if s91 = 9999 and s91x = "2 vetur í laugaskóla, 2 vikur kvöldskóla, 2 sumur garðyrkjuskóla" r91 = 1 . if s91 = 2 and s91x = "2. stig stýrimannaskólans" r91 = 2 . if s91 = 9 and s91x = "2. stig vélstjóra" r91 = 2 . if s91 = 9 and s91x = "2. stig vélstjórn" r91 = 1 . if s91 = 9999 and s91x = "2. stig vélstjórnar og 1.stig stýrimannaskólinn" r91 = 1 . if s91 = 9 and s91x = "2. stigs vélstjórn" r91 = 1 . if s91 = 9 and s91x = "20 eininga diplomagráða eftir BSc" r91 = 6 . if s91 = 29 and s91x = "3 ár í manntaskóla" r91 = 2 . if s91 = 9999 and s91x = "3 ár í menntaskóla + sjúkraliðapróf" r91 = 4 . if s91 = 2 and s91x = "3,5 ár í menntaskóla af 4 árum" r91 = 2 . if s91 = 9 and s91x = "3. stig stýrimannaskólanum" r91 = 1 . if s91 = 6 and s91x = "30 e diplomapróf úr ..." r91 = 6 . if s91 = 69 and s91x = "30 eininga framhaldsnám í háskóla" r91 = 6 . if s91 = 1 and s91x = "30 tonna skiðpstjóraréttindi, vélgæslu réttindi" r91 = 1 . if s91 = 1 and s91x = "30 tonna skipstjórnarréttindi" r91 = 1 . if s91 = 69 and s91x = "30E diploma framhaldsnám" r91 = 6 . if s91 = 4 and s91x = "4. stig vélstjórn úr VMA + stúdent" r91 = 4 . if s91 = 39 and s91x = "60 einingar af 90 til BA prófs" r91 = 3 . if s91 = 7 and s91x = "8. stig í söng" r91 = 7 . if s91 = 69 and s91x = "að auki diploma úr þýskum háskóla" r91 = 6 . if s91 = 19 and s91x = "aðallega á listabraut" r91 = 1 . if s91 = 1 and s91x = "allskonar námskeið" r91 = 1 . if s91 = 9 and s91x = "Almennt skrifstofunám úr viðskipta- og tölvuskólanum" r91 = 9998 . if s91 = 39 and s91x = "Almennt skrifstofunám. 1 ár" r91 = 3 . if s91 = 9 and s91x = "Alþýðukokk - Húsmæðraskóli" r91 = 9998 . if s91 = 9 and s91x = "atvinnuflug og loftsiglingafræði" r91 = 4 . if s91 = 9 and s91x = "Atvinnuflugmaður" r91 = 4 . if s91 = 9 and s91x = "Atvinnuflugmaður" r91 = 4 . if s91 = 2 and s91x = "Atvinnuflugmanns/Flugkennara" r91 = 4 . if s91 = 9 and s91x = "atvinnuflugmannspróf" r91 = 4 . if s91 = 19 and s91x = "Atvinnuökuréttindi og allar vinnuvélar" r91 = 1 . if s91 = 4 and s91x = "Auka grein í iðnmenntun, ekki lokið þó" r91 = 4 . if s91 = 1 and s91x = "aukin ökuréttindi" r91 = 1 . if s91 = 19 and s91x = "aukin ökuréttindi á vinnuvélar" r91 = 1 . if s91 = 9 and s91x = "BA próf + 1 viðbótarár = 4 ára háskólapróf" r91 = 6 . if s91 = 2 and s91x = "Bakarameistari" r91 = 10 . if s91 = 2 and s91x = "Bankamannaskóli - húsmæðraskóli" r91 = 2 . if s91 = 9999 and s91x = "barnaskóla, húsmæðraskóla" r91 = 1 . if s91 = 9999 and s91x = "barnaskóli" r91 = 1 . if s91 = 9999 and s91x = "Barnaskóli, sérhæfð fiskvinnslukona" r91 = 1 . if s91 = 9 and s91x = "BFA (BachelorinFineArst)" r91 = 4 . if s91 = 1 and s91x = "Bifvélavirki" r91 = 1 . if s91 = 9 and s91x = "Bifvélavirki" r91 = 4 . if s91 = 19 and s91x = "Bifvélavirki" r91 = 4 . if s91 = 9999 and s91x = "Bifvélavirki" r91 = 4 . if s91 = 9999 and s91x = "Bifvélavirki Iðnlærður" r91 = 4 . if s91 = 9 and s91x = "Bifvélavirki í borgó" r91 = 4 . if s91 = 9 and s91x = "bifvélavirki, iðnskóli" r91 = 4 . if s91 = 9999 and s91x = "Bifvélavirkjameistari" r91 = 10 . if s91 = 4 and s91x = "Bifvélavirkjun" r91 = 4 . if s91 = 9 and s91x = "Bifvélavirkjun" r91 = 4 . if s91 = 9999 and s91x = "Bifvélavirkjun" r91 = 4 . if s91 = 9999 and s91x = "Bifvélavirkjun" r91 = 4 . if s91 = 4 and s91x = "bifvélavirkjun iðnnám" r91 = 4 . if s91 = 1 and s91x = "Bílasmiður" r91 = 1 . if s91 = 1 and s91x = "Bókfærsla (sér)" r91 = 1 . if s91 = 2 and s91x = "bókhaldsnám hjá námsflokkum Reykjavíkur" r91 = 2 . if s91 = 2 and s91x = "Bólstrun" r91 = 2 . if s91 = 9 and s91x = "Búfræði" r91 = 4 . if s91 = 4 and s91x = "búfræðimenntun" r91 = 4 . if s91 = 4 and s91x = "Búfræðimenntun" r91 = 4 . if s91 = 9 and s91x = "búfræðimenntun" r91 = 4 . if s91 = 9 and s91x = "búfræðinguer" r91 = 4 . if s91 = 1 and s91x = "búfræðingur" r91 = 4 . if s91 = 1 and s91x = "Búfræðingur" r91 = 4 . if s91 = 2 and s91x = "Búfræðingur" r91 = 4 . if s91 = 2 and s91x = "Búfræðingur" r91 = 4 . if s91 = 4 and s91x = "Búfræðingur" r91 = 4 . if s91 = 9 and s91x = "Búfræðingur" r91 = 4 . if s91 = 9 and s91x = "Búfræðingur" r91 = 4 . if s91 = 9 and s91x = "Búfræðingur" r91 = 4 . if s91 = 12 and s91x = "Búfræðingur" r91 = 4 . if s91 = 14 and s91x = "búfræðingur" r91 = 4 . if s91 = 49 and s91x = "búfræðingur" r91 = 4 . if s91 = 124 and s91x = "Búfræðingur" r91 = 4 . if s91 = 9999 and s91x = "Búfræðingur" r91 = 4 . if s91 = 9999 and s91x = "Búfræðingur" r91 = 4 . if s91 = 9999 and s91x = "Búfræðingur" r91 = 4 . if s91 = 9 and s91x = "Búfræðingur + námskeið í tölvufræðum (HR)" r91 = 4 . if s91 = 9 and s91x = "Búfræðipróf" r91 = 4 . if s91 = 19 and s91x = "búfræðipróf" r91 = 4 . if s91 = 9999 and s91x = "byggingameistari" r91 = 10 . if s91 = 9999 and s91x = "byggingameistari" r91 = 10 . if s91 = 9999 and s91x = "Byggingameistari" r91 = 10 . if s91 = 9 and s91x = "Bæði með stúdentspróf og iðnmenntun" r91 = 3 . if s91 = 9 and s91x = "Bændaskólapróf" r91 = 4 . if s91 = 9 and s91x = "Bændaskóli" r91 = 4 . if s91 = 9 and s91x = "bændaskólinn á hólum" r91 = 4 . if s91 = 9 and s91x = "cand theal" r91 = 7 . if s91 = 9 and s91x = "cand. oceon" r91 = 6 . if s91 = 29 and s91x = "Danskennari" r91 = 2 . if s91 = 69 and s91x = "Dipl.Ed" r91 = 6 . if s91 = 9 and s91x = "Dipl.Ed - 30 einingar ofar en B.Ed- próf" r91 = 6 . if s91 = 9999 and s91x = "Diplom úr erlendum háskóla" r91 = 6 . if s91 = 6 and s91x = "Diploma - sportkafari frá íþróttaháskólanum í Köln, Þýskalandi" r91 = 6 . if s91 = 1 and s91x = "Diploma / tölvu og viðskiptanám / IATA 888" r91 = 1 . if s91 = 9 and s91x = "Diploma 52 einingar á háskólastigi" r91 = 3 . if s91 = 9999 and s91x = "diploma á háskólastig" r91 = 6 . if s91 = 6 and s91x = "Diploma frá HÍ" r91 = 6 . if s91 = 9 and s91x = "Diploma í förðun" r91 = 4 . if s91 = 9 and s91x = "Diploma í mati á fasteignum" r91 = 9998 . if s91 = 9 and s91x = "diploma í sjávarútbegi" r91 = 9998 . if s91 = 9 and s91x = "Diploma KHÍ" r91 = 6 . if s91 = 3 and s91x = "Diploma úr háskóla" r91 = 6 . if s91 = 9 and s91x = "diploma úr háskóla" r91 = 6 . if s91 = 6 and s91x = "Diploma, leiðsögn" r91 = 6 . if s91 = 6 and s91x = "Diplomanám" r91 = 6 . if s91 = 9 and s91x = "diplomanám eftir BA próf" r91 = 6 . if s91 = 69 and s91x = "Diplomanám frá HÍ" r91 = 6 . if s91 = 9 and s91x = "Diplomanám í Háskóla, ferðamálafræði" r91 = 6 . if s91 = 69 and s91x = "Diplomanám í HÍ" r91 = 6 . if s91 = 9 and s91x = "diplomanám, frumgr.deild og er að ljúka BS prófi" r91 = 6 . if s91 = 9 and s91x = "diplóma" r91 = 6 . if s91 = 39 and s91x = "Diplóma í ferðaþjónustu" r91 = 6 . if s91 = 69 and s91x = "Diplómanám" r91 = 6 . if s91 = 9 and s91x = "Diplómanám (milli grunnprófs úr háskóla og meistaraprófs)" r91 = 6 . if s91 = 2 and s91x = "Einingar úr öldungadeild" r91 = 2 . if s91 = 39 and s91x = "einkaflugmaður" r91 = 3 . if s91 = 49 and s91x = "Einkaflugmann löggiltursjúkraflutningamaður" r91 = 4 . if s91 = 2 and s91x = "Einn vetur verlsunardeild eftir gagnfræðipróf + einn vetur í öldungadeild menntaskóla" r91 = 2 . if s91 = 9 and s91x = "ekkert próf til í mínu sérhæfða fagi" r91 = 9998 . if s91 = 9 and s91x = "embættispróf í ljósmæðrafræðum" r91 = 4 . if s91 = 9999 and s91x = "Embættispróf í lögfræði" r91 = 6 . if s91 = 49 and s91x = "EMT-B" r91 = 4 . if s91 = 2 and s91x = "endalaust magn námskeiða" r91 = 2 . if s91 = 9999 and s91x = "endurmenntun HÍ" r91 = 9998 . if s91 = 29 and s91x = "endurmenntun HR" r91 = 2 . if s91 = 9 and s91x = "endurskoðun" r91 = 9998 . if s91 = 9999 and s91x = "enga menntun hef verið í skóla í Svíþjoð, lært sumt þar" r91 = 9998 . if s91 = 1 and s91x = "engin" r91 = 1 . if s91 = 9999 and s91x = "engin menntun umfram barnaskóla" r91 = 1 . if s91 = 2 and s91x = "enskt verslunarpróf" r91 = 2 . if s91 = 2 and s91x = "Enskunám í Oxford, þýskunám í fjölbraut" r91 = 2 . if s91 = 39 and s91x = "Er að klára vélstjórann" r91 = 1 . if s91 = 6 and s91x = "er að ljúka B.ed prófi í vor" r91 = 3 . if s91 = 69 and s91x = "Er að ljúka meistaraprófi MED" r91 = 6 . if s91 = 9999 and s91x = "er að útskrifast sem rafirkji" r91 = 1 . if s91 = 9 and s91x = "Er búfræðingur úr bændaskóla" r91 = 4 . if s91 = 2 and s91x = "ER félagsliði frá M.E." r91 = 4 . if s91 = 4 and s91x = "er húsasmíðameistari með ......" r91 = 10 . if s91 = 1 and s91x = "Er í framhaldsskóla" r91 = 1 . if s91 = 9 and s91x = "er í grunnskóla" r91 = 9998 . if s91 = 39 and s91x = "er í háskóla núna" r91 = 3 . if s91 = 6 and s91x = "er í meistaranámi" r91 = 6 . if s91 = 69 and s91x = "er í meistaranámi" r91 = 6 . if s91 = 6 and s91x = "Er í meistaranámi MS" r91 = 6 . if s91 = 1 and s91x = "er í námi" r91 = 1 . if s91 = 19 and s91x = "er í námi" r91 = 1 . if s91 = 19 and s91x = "Er í skóla" r91 = 1 . if s91 = 1 and s91x = "ER í stúdentsnámi" r91 = 1 . if s91 = 6 and s91x = "Er með 2 BS-próf" r91 = 6 . if s91 = 4 and s91x = "Er nemandi í Háskóla núna" r91 = 4 . if s91 = 2 and s91x = "er nuddfræðingur" r91 = 2 . if s91 = 149 and s91x = "Ég hef lokið stuðningsfulltrúanámi" r91 = 4 . if s91 = 9 and s91x = "Farmannad. Stýrimannaskóla '60" r91 = 9998 . if s91 = 19 and s91x = "Fatahönnuður + kjólameistari" r91 = 10 . if s91 = 29 and s91x = "fatahönnun" r91 = 2 . if s91 = 2 and s91x = "ferðafræðingur" r91 = 2 . if s91 = 9999 and s91x = "Félagsliða ná," r91 = 4 . if s91 = 1 and s91x = "Félagsliðanám" r91 = 1 . if s91 = 2 and s91x = "Félagsliði" r91 = 2 . if s91 = 9 and s91x = "Félagsliði" r91 = 9998 . if s91 = 9 and s91x = "Félagsliði frá Borgó 2007" r91 = 4 . if s91 = 1249 and s91x = "félagsliði m/heilabilun sérnám" r91 = 4 . if s91 = 9 and s91x = "Fiskeldisfræðingur" r91 = 4 . if s91 = 9 and s91x = "Fiskiðnaðarmaður" r91 = 4 . if s91 = 1 and s91x = "Fiskimannapróf frá sjómannaskólanum" r91 = 4 . if s91 = 1 and s91x = "fiskimatsmaður" r91 = 1 . if s91 = 9 and s91x = "Fiskvinnsluskóla próf" r91 = 4 . if s91 = 29 and s91x = "fiskvinnsluskóli" r91 = 4 . if s91 = 19 and s91x = "Fiskvinnuskólinn - Meirapróf - Verkstjórapróf o.fl." r91 = 4 . if s91 = 9 and s91x = "fjarnám í HR 26 ein." r91 = 3 . if s91 = 19 and s91x = "Fjarnám, stuðningsfulltrúi sjúkraliði" r91 = 1 . if s91 = 2 and s91x = "fjölmörg námskeið" r91 = 2 . if s91 = 29 and s91x = "flug" r91 = 2 . if s91 = 9 and s91x = "Flugfreyjupróf" r91 = 1 . if s91 = 2 and s91x = "Flugm. loftsiglingafr." r91 = 4 . if s91 = 9 and s91x = "Flugmaður" r91 = 4 . if s91 = 9 and s91x = "flugmenntaður" r91 = 4 . if s91 = 2 and s91x = "Flugnám" r91 = 4 . if s91 = 29 and s91x = "flugsmans og flugstjóra próf" r91 = 4 . if s91 = 9 and s91x = "Flugumferðastjórn" r91 = 4 . if s91 = 9 and s91x = "Flugvirkjun" r91 = 4 . if s91 = 2 and s91x = "forvarsla" r91 = 2 . if s91 = 1 and s91x = "Fór í námsflokka rvk." r91 = 1 . if s91 = 14 and s91x = "Fótaaðgerðar og snyrtifræðingur" r91 = 4 . if s91 = 9 and s91x = "Framhaldsdeils samvinnuskólans 1 vetur" r91 = 1 . if s91 = 69 and s91x = "Framhaldsmenntun á háskólastigi" r91 = 6 . if s91 = 69 and s91x = "Framhaldsnám eftir BA-gráðu (diplomanám, starfsréttindanám)" r91 = 6 . if s91 = 7 and s91x = "framhaldsnám eftir embættispróf" r91 = 7 . if s91 = 9999 and s91x = "framhaldsnám í öldunarhjúkrun sjúkraliða" r91 = 4 . if s91 = 49 and s91x = "Framhaldsnám sjúkraliða" r91 = 4 . if s91 = 79 and s91x = "Framhaldsnám við erlenda háskóla sambærilegt ið doktorspróf" r91 = 7 . if s91 = 9999 and s91x = "framhaldspróf í hljoðfæraleik" r91 = 4 . if s91 = 2 and s91x = "fullt af námskeiðum tengdum fiskiðnaði" r91 = 2 . if s91 = 9 and s91x = "förðunarfræði og t.stig á píano" r91 = 4 . if s91 = 4 and s91x = "förðunarfræðingur" r91 = 4 . if s91 = 9 and s91x = "förðunarfræðingur" r91 = 4 . if s91 = 9 and s91x = "förðunarmeistari" r91 = 4 . if s91 = 19 and s91x = "förðunarnám" r91 = 1 . if s91 = 1 and s91x = "Gagginn" r91 = 1 . if s91 = 9999 and s91x = "Gagnfræðapróf" r91 = 2 . if s91 = 2 and s91x = "garðyrkjufræði" r91 = 2 . if s91 = 4 and s91x = "Garðyrkjufræði og íþróttaskóla" r91 = 4 . if s91 = 9 and s91x = "garðyrkjumenntun" r91 = 1 . if s91 = 9 and s91x = "Garðyrkjuskóli kikums" r91 = 2 . if s91 = 1 and s91x = "Garðyrkjustjóri Íslands" r91 = 1 . if s91 = 9 and s91x = "Grunndeild rafiðna" r91 = 1 . if s91 = 9 and s91x = "Grunnpróf úr háskóla + 50 einingar" r91 = 6 . if s91 = 9 and s91x = "grunnskóli og á ár eftir í menntaskóla" r91 = 1 . if s91 = 19 and s91x = "H+usmæðraskóli" r91 = 1 . if s91 = 9 and s91x = "Hagnýtt viðskipta og fjármálanám frá MK" r91 = 1 . if s91 = 2 and s91x = "Handavinnukennari" r91 = 2 . if s91 = 9999 and s91x = "hárgreiðsla" r91 = 2 . if s91 = 9 and s91x = "Hárgreiðsla og önnur stutt námskeið" r91 = 1 . if s91 = 3 and s91x = "Háskólanám í listum" r91 = 3 . if s91 = 1 and s91x = "hef ekki klárað neitt ákveðið" r91 = 1 . if s91 = 7 and s91x = "Hef lokið cand.mag-, MA og kennaraprófi" r91 = 7 . if s91 = 1 and s91x = "Hef lokið nokkrum einingum í framhaldsskóla" r91 = 1 . if s91 = 2 and s91x = "Hef lokið prófi úr skóla lífsins" r91 = 2 . if s91 = 1 and s91x = "Hef lokið tölvunámi í rafiðnaðarskólanum" r91 = 1 . if s91 = 1 and s91x = "Hef menntað mig meira í framhaldsnám en ekki lokið neinu, og klárað margskona námskeið." r91 = 1 . if s91 = 14 and s91x = "hef verið á námskeiðum í 888" r91 = 1 . if s91 = 19 and s91x = "Hef verið í skóla í VMA, Listnámsbraut. Stefni á student" r91 = 1 . if s91 = 3 and s91x = "Heilbrigðisskólinn í Ármúla, nám eftir stúdentspróf" r91 = 3 . if s91 = 2 and s91x = "Heilmörg námskeið og kúrsar erlendis" r91 = 2 . if s91 = 4 and s91x = "heilsunuddari" r91 = 4 . if s91 = 9 and s91x = "Héraðsskólapróf, og námskeið" r91 = 2 . if s91 = 9 and s91x = "High school diploma N.Y., USA. (19 ára 19...." r91 = 6 . if s91 = 2 and s91x = "Hjúkrun" r91 = 2 . if s91 = 9 and s91x = "Hjúkrunarfr. frá hjúkrunarskóla LSH" r91 = 4 . if s91 = 9999 and s91x = "Hjúkrunarfræði" r91 = 4 . if s91 = 9 and s91x = "Hjúkrunarfræði og sérnám í heilsugæslu-/ félagshjúkrun" r91 = 4 . if s91 = 9 and s91x = "hjúkrunarfræði úr Hjúkrunarskóla Ísl." r91 = 4 . if s91 = 2 and s91x = "Hjúkrunarfræðingur" r91 = 4 . if s91 = 49 and s91x = "hjúkrunarkennarapróf" r91 = 4 . if s91 = 9 and s91x = "Hjúkrunarpróf" r91 = 4 . if s91 = 9 and s91x = "hjúkrunarpróf úr hjúkrunarskóla íslands" r91 = 4 . if s91 = 9 and s91x = "Hjúkrunarskóli ísl" r91 = 4 . if s91 = 2 and s91x = "Hjúkrunarskóli Ísl." r91 = 4 . if s91 = 9999 and s91x = "Hjúkrunarskóli Íslands" r91 = 4 . if s91 = 9999 and s91x = "hliðstætt grunnprófi ú háskóla" r91 = 4 . if s91 = 9 and s91x = "hluti úr vélskóla" r91 = 2 . if s91 = 9 and s91x = "Hótel og veitingaskóli Íslands" r91 = 4 . if s91 = 9999 and s91x = "Húsa og skipasmíðameistari" r91 = 10 . if s91 = 9 and s91x = "húsamálari" r91 = 4 . if s91 = 1 and s91x = "húsasm." r91 = 1 . if s91 = 9 and s91x = "Húsasmiðameistari" r91 = 10 . if s91 = 1 and s91x = "Húsasmiður" r91 = 1 . if s91 = 2 and s91x = "Húsasmiður" r91 = 2 . if s91 = 9 and s91x = "Húsasmiður" r91 = 4 . if s91 = 9999 and s91x = "Húsasmiður" r91 = 4 . if s91 = 9999 and s91x = "húsasmiður" r91 = 4 . if s91 = 9999 and s91x = "Húsasmiður" r91 = 4 . if s91 = 9999 and s91x = "Húsasmiður" r91 = 4 . if s91 = 9999 and s91x = "Húsasmiður (iðnskóli)" r91 = 4 . if s91 = 3 and s91x = "húsasmiður (sveinn)" r91 = 3 . if s91 = 4 and s91x = "Húsasmíðameistari" r91 = 4 . if s91 = 5 and s91x = "Húsasmíðameistari" r91 = 5 . if s91 = 9 and s91x = "Húsasmíðameistari" r91 = 10 . if s91 = 9 and s91x = "Húsasmíðameistari" r91 = 10 . if s91 = 9 and s91x = "húsasmíðameistari" r91 = 10 . if s91 = 9999 and s91x = "húsasmíðameistari" r91 = 10 . if s91 = 9999 and s91x = "Húsasmíðameistari" r91 = 10 . if s91 = 9999 and s91x = "Húsasmíðameistari" r91 = 10 . if s91 = 9999 and s91x = "Húsasmíðameistari" r91 = 10 . if s91 = 2 and s91x = "húsasmíði" r91 = 2 . if s91 = 49 and s91x = "húsasmíði" r91 = 4 . if s91 = 9 and s91x = "Húsasmíði - meistaranám 1960" r91 = 10 . if s91 = 2 and s91x = "Húsasmíði, skipasmíði" r91 = 2 . if s91 = 2 and s91x = "Húsgagnabólstrari" r91 = 2 . if s91 = 1 and s91x = "húsgagnasmiður" r91 = 1 . if s91 = 9999 and s91x = "Húsgagnasmíðameistari" r91 = 10 . if s91 = 9 and s91x = "húsmæðrask - kvöldskóli" r91 = 2 . if s91 = 1 and s91x = "húsmæðrask. og ótal námskeið" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóla" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóla" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóla" r91 = 1 . if s91 = 2 and s91x = "Húsmæðraskóla" r91 = 2 . if s91 = 19 and s91x = "Húsmæðraskóla" r91 = 1 . if s91 = 19 and s91x = "Húsmæðraskóla" r91 = 1 . if s91 = 9999 and s91x = "húsmæðraskóla" r91 = 1 . if s91 = 9999 and s91x = "Húsmæðraskóla + skóla lífsins" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóla Laugalandi" r91 = 1 . if s91 = 4 and s91x = "Húsmæðraskóla og ýmis námskeið" r91 = 4 . if s91 = 2 and s91x = "Húsmæðraskóla R vík" r91 = 2 . if s91 = 1 and s91x = "húsmæðraskóla Reykjavíkur og kvöldskóla" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóla, tölvunám, skóli lífsins" r91 = 1 . if s91 = 2 and s91x = "Húsmæðraskólamenntun" r91 = 2 . if s91 = 1 and s91x = "Húsmæðraskólanám" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskólaorlof" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskólapróf" r91 = 1 . if s91 = 2 and s91x = "Húsmæðraskólapróf" r91 = 2 . if s91 = 9 and s91x = "húsmæðraskólapróf" r91 = 1 . if s91 = 29 and s91x = "Húsmæðraskólapróf" r91 = 2 . if s91 = 1 and s91x = "Húsmæðraskólapróf í 9 mánuði" r91 = 1 . if s91 = 2 and s91x = "Húsmæðraskólapróf, svæðisleiðsögumaður, ýmis námskeið." r91 = 2 . if s91 = 1 and s91x = "húsmæðraskólapróf, ýmiskonar námskeið, endurmenntun HÍ, félagsmálask. Alþýðu" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 1 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "húsmæðraskóli" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli" r91 = 2 . if s91 = 3 and s91x = "Húsmæðraskóli" r91 = 3 . if s91 = 9 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 12 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 19 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 19 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 19 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 19 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 19 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 49 and s91x = "húsmæðraskóli" r91 = 4 . if s91 = 9999 and s91x = "Húsmæðraskóli" r91 = 1 . if s91 = 9999 and s91x = "húsmæðraskóli" r91 = 1 . if s91 = 2 and s91x = "Húsmæðraskóli + námsk. v/afgr. í Apoteki" r91 = 2 . if s91 = 29 and s91x = "Húsmæðraskóli = Kvennaskóli Blönduós" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli 1,5 vetur" r91 = 2 . if s91 = 1 and s91x = "húsmæðraskóli 1948-49" r91 = 1 . if s91 = 12 and s91x = "húsmæðraskóli 1960-61" r91 = 2 . if s91 = 1 and s91x = "Húsmæðraskóli Ísafirði" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli- Laugum Suður þing" r91 = 1 . if s91 = 4 and s91x = "Húsmæðraskóli og Fóstruskóli Íslands" r91 = 4 . if s91 = 1 and s91x = "Húsmæðraskóli og námskeið" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli og námskeið vinnutengd" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli og sjúkraliði" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli og skóli lífsins" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli og ýmis námskeið" r91 = 1 . if s91 = 1 and s91x = "Húsmæðraskóli og ýmis námskeið" r91 = 1 . if s91 = 2 and s91x = "Húsmæðraskóli og ýmis námskeið" r91 = 2 . if s91 = 2 and s91x = "húsmæðraskóli Reykjavíkur 1954-5" r91 = 2 . if s91 = 2 and s91x = "húsmæðraskóli rvk" r91 = 2 . if s91 = 6 and s91x = "Húsmæðraskóli Rvk og leiðsögumannaskólinn (73)" r91 = 6 . if s91 = 12 and s91x = "Húsmæðraskóli Svæðanudd" r91 = 2 . if s91 = 2 and s91x = "húsmæðraskóli, grunnnám tréiðn" r91 = 2 . if s91 = 24 and s91x = "Húsmæðraskóli, sjúkraliði" r91 = 4 . if s91 = 2 and s91x = "Húsmæðraskóli, ýmis námskeið v/ kennslu í iðnaðarsaumi" r91 = 2 . if s91 = 2 and s91x = "Húsmæðraskóli. 888" r91 = 2 . if s91 = 15 and s91x = "Húsmæðraskóli/ 888" r91 = 1 . if s91 = 239 and s91x = "Húsmæðraskóli/ Kilaraskóli" r91 = 3 . if s91 = 19 and s91x = "Húsmæraskóla" r91 = 1 . if s91 = 1 and s91x = "Húsmæraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmæraskóli" r91 = 1 . if s91 = 1 and s91x = "Húsmærðaskóli" r91 = 1 . if s91 = 9999 and s91x = "hússtjóraskóla" r91 = 1 . if s91 = 4 and s91x = "Hússtjórnarkennari" r91 = 4 . if s91 = 1 and s91x = "Hússtjórnarmenntun" r91 = 1 . if s91 = 19 and s91x = "hússtjórnarskólamenntun" r91 = 1 . if s91 = 1 and s91x = "hússtjórnarskóli" r91 = 1 . if s91 = 1 and s91x = "Hússtjórnarskóli" r91 = 1 . if s91 = 9 and s91x = "Hússtjórnarskóli" r91 = 1 . if s91 = 9 and s91x = "Hússtjórnarskóli og tölvu og viðskiptaskóla" r91 = 1 . if s91 = 2 and s91x = "Hvanneyri búfræði" r91 = 2 . if s91 = 19 and s91x = "höfuðbeina og spjaldhryggjarjöfnun" r91 = 1 . if s91 = 29 and s91x = "Iðmenntun meistararéttindi" r91 = 10 . if s91 = 14 and s91x = "Iðn matreiðsla" r91 = 4 . if s91 = 12 and s91x = "Iðn meistari" r91 = 10 . if s91 = 9 and s91x = "Iðn- og listnám" r91 = 4 . if s91 = 9 and s91x = "Iðnaðarmaður" r91 = 1 . if s91 = 9 and s91x = "Iðnaðarmaður" r91 = 1 . if s91 = 9999 and s91x = "Iðnaðarmaður" r91 = 1 . if s91 = 9999 and s91x = "iðnaðarmaður" r91 = 1 . if s91 = 9999 and s91x = "Iðnaðarmaður. Málari" r91 = 1 . if s91 = 9 and s91x = "Iðnaðarmenntun" r91 = 4 . if s91 = 9999 and s91x = "iðnám" r91 = 4 . if s91 = 9 and s91x = "Iðnám, stýrimannaskóli" r91 = 4 . if s91 = 9999 and s91x = "Iðnemeistara" r91 = 10 . if s91 = 9 and s91x = "Iðnmeistaranám" r91 = 10 . if s91 = 9 and s91x = "iðnmeistaranám + kennsluréttindi" r91 = 10 . if s91 = 9 and s91x = "iðnmeistari" r91 = 10 . if s91 = 9 and s91x = "Iðnmeistari" r91 = 10 . if s91 = 9 and s91x = "Iðnmeistari" r91 = 10 . if s91 = 39 and s91x = "iðnmeistari" r91 = 3 . if s91 = 9999 and s91x = "Iðnmeistari" r91 = 10 . if s91 = 9 and s91x = "iðnmeistari og kennsluréttindi" r91 = 10 . if s91 = 9999 and s91x = "iðnmeistari og kennsluréttindi" r91 = 10 . if s91 = 1 and s91x = "Iðnmennt Meistari" r91 = 10 . if s91 = 9 and s91x = "Iðnmenntaður meistari" r91 = 10 . if s91 = 1 and s91x = "iðnmenntu, húsasmíði (888)" r91 = 1 . if s91 = 9 and s91x = "iðnmenntub" r91 = 4 . if s91 = 1 and s91x = "Iðnmenntun" r91 = 1 . if s91 = 2 and s91x = "Iðnmenntun" r91 = 2 . if s91 = 2 and s91x = "Iðnmenntun" r91 = 2 . if s91 = 2 and s91x = "Iðnmenntun" r91 = 2 . if s91 = 2 and s91x = "iðnmenntun" r91 = 2 . if s91 = 2 and s91x = "iðnmenntun" r91 = 2 . if s91 = 2 and s91x = "Iðnmenntun" r91 = 2 . if s91 = 2 and s91x = "iðnmenntun" r91 = 2 . if s91 = 2 and s91x = "iðnmenntun" r91 = 2 . if s91 = 4 and s91x = "iðnmenntun" r91 = 4 . if s91 = 4 and s91x = "iðnmenntun" r91 = 4 . if s91 = 4 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 7 and s91x = "Iðnmenntun" r91 = 7 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 19 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 29 and s91x = "iðnmenntun" r91 = 2 . if s91 = 29 and s91x = "iðnmenntun" r91 = 2 . if s91 = 29 and s91x = "iðnmenntun" r91 = 2 . if s91 = 49 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 129 and s91x = "Iðnmenntun" r91 = 2 . if s91 = 149 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9999 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9999 and s91x = "iðnmenntun" r91 = 4 . if s91 = 9999 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9999 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9999 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9999 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9999 and s91x = "Iðnmenntun" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun - húsasmíðameistari" r91 = 10 . if s91 = 9 and s91x = "iðnmenntun - matreiðslumeistari" r91 = 10 . if s91 = 9 and s91x = "Iðnmenntun - sveinn (sveinspróf)" r91 = 4 . if s91 = 2 and s91x = "Iðnmenntun (húsasmíði)" r91 = 2 . if s91 = 9999 and s91x = "Iðnmenntun (meistari)" r91 = 10 . if s91 = 9999 and s91x = "Iðnmenntun (prentari)" r91 = 2 . if s91 = 9 and s91x = "Iðnmenntun + meistarinn í iðn" r91 = 10 . if s91 = 9999 and s91x = "iðnmenntun húsasmíð" r91 = 2 . if s91 = 29 and s91x = "Iðnmenntun Meistari" r91 = 10 . if s91 = 9999 and s91x = "Iðnmenntun og vélstjóra" r91 = 4 . if s91 = 2349 and s91x = "Iðnmenntun rafv." r91 = 4 . if s91 = 9999 and s91x = "iðnmenntun smiður" r91 = 4 . if s91 = 9 and s91x = "iðnmenntun sveinspróf" r91 = 4 . if s91 = 2 and s91x = "iðnmenntun, bifreiðasmíði" r91 = 2 . if s91 = 4 and s91x = "Iðnmenntun, meistararéttinfi, stúdent (nemií hí)" r91 = 4 . if s91 = 9 and s91x = "Iðnmenntun, meistaraskóli" r91 = 10 . if s91 = 9 and s91x = "Iðnmenntun/meistarapróf" r91 = 10 . if s91 = 2 and s91x = "Iðnmentun" r91 = 2 . if s91 = 9999 and s91x = "iðnmentun" r91 = 2 . if s91 = 2 and s91x = "Iðnnám" r91 = 2 . if s91 = 2 and s91x = "iðnnám" r91 = 2 . if s91 = 4 and s91x = "Iðnnám" r91 = 4 . if s91 = 4 and s91x = "Iðnnám" r91 = 4 . if s91 = 4 and s91x = "Iðnnám" r91 = 4 . if s91 = 9 and s91x = "Iðnnám" r91 = 4 . if s91 = 9 and s91x = "Iðnnám" r91 = 4 . if s91 = 9 and s91x = "Iðnnám" r91 = 4 . if s91 = 9 and s91x = "iðnnám" r91 = 4 . if s91 = 9 and s91x = "Iðnnám" r91 = 4 . if s91 = 9 and s91x = "Iðnnám" r91 = 4 . if s91 = 9 and s91x = "Iðnnám" r91 = 4 . if s91 = 9 and s91x = "Iðnnám" r91 = 4 . if s91 = 9999 and s91x = "iðnnám" r91 = 4 . if s91 = 9999 and s91x = "Iðnnám" r91 = 4 . if s91 = 9999 and s91x = "Iðnnám" r91 = 4 . if s91 = 9999 and s91x = "Iðnnám" r91 = 4 . if s91 = 9999 and s91x = "Iðnnám + meistararéttindi" r91 = 10 . if s91 = 9 and s91x = "iðnnám + tónlistarnám" r91 = 4 . if s91 = 9999 and s91x = "Iðnnám bifvélar" r91 = 4 . if s91 = 9 and s91x = "Iðnnám Skipstjórnarréttindi" r91 = 4 . if s91 = 29 and s91x = "iðnnám, meistararéttindi" r91 = 10 . if s91 = 4 and s91x = "iðnnám, námskeið" r91 = 4 . if s91 = 9 and s91x = "iðnnám, sveinspróf. það vantar í spurningarnar iðnnám og sveinspróf" r91 = 4 . if s91 = 9 and s91x = "Iðnpróf" r91 = 4 . if s91 = 5 and s91x = "Iðnrekstrarfræðingur frá tækniskólanum" r91 = 5 . if s91 = 1 and s91x = "Iðnskóla" r91 = 1 . if s91 = 1 and s91x = "Iðnskóla" r91 = 1 . if s91 = 1 and s91x = "Iðnskóla" r91 = 1 . if s91 = 9 and s91x = "Iðnskóla" r91 = 1 . if s91 = 59 and s91x = "Iðnskólamenntun" r91 = 5 . if s91 = 9999 and s91x = "Iðnskólamenntun" r91 = 4 . if s91 = 9999 and s91x = "Iðnskólamenntun" r91 = 4 . if s91 = 9 and s91x = "Iðnskólamenntun Stálsmiður" r91 = 4 . if s91 = 1 and s91x = "iðnskólapróf" r91 = 4 . if s91 = 2 and s91x = "Iðnskólapróf" r91 = 4 . if s91 = 9 and s91x = "Iðnskólapróf" r91 = 4 . if s91 = 9 and s91x = "Iðnskólapróf" r91 = 4 . if s91 = 9999 and s91x = "Iðnskólapróf" r91 = 4 . if s91 = 9999 and s91x = "iðnskólapróf" r91 = 4 . if s91 = 9999 and s91x = "Iðnskólapróf" r91 = 4 . if s91 = 2 and s91x = "Iðnskólapróf, meistari í skipasmíði" r91 = 10 . if s91 = 1 and s91x = "iðnskóli" r91 = 1 . if s91 = 1 and s91x = "Iðnskóli" r91 = 1 . if s91 = 1 and s91x = "iðnskóli" r91 = 1 . if s91 = 1 and s91x = "iðnskóli" r91 = 1 . if s91 = 4 and s91x = "iðnskóli" r91 = 4 . if s91 = 4 and s91x = "iðnskóli" r91 = 4 . if s91 = 9 and s91x = "iðnskóli" r91 = 4 . if s91 = 9 and s91x = "Iðnskóli" r91 = 4 . if s91 = 12 and s91x = "Iðnskóli" r91 = 2 . if s91 = 29 and s91x = "iðnskóli" r91 = 2 . if s91 = 9999 and s91x = "Iðnskóli" r91 = 4 . if s91 = 9999 and s91x = "Iðnskóli" r91 = 4 . if s91 = 9999 and s91x = "iðnskóli" r91 = 4 . if s91 = 9999 and s91x = "Iðnskóli" r91 = 4 . if s91 = 9999 and s91x = "iðnskóli" r91 = 4 . if s91 = 9999 and s91x = "Iðnskóli húsasmíðameistari" r91 = 10 . if s91 = 9999 and s91x = "Iðnskóli málari" r91 = 4 . if s91 = 9999 and s91x = "Iðnskóli reykjavík" r91 = 4 . if s91 = 2 and s91x = "iðnskóli, húsasmíðar" r91 = 2 . if s91 = 1 and s91x = "iðnskóli, meistararéttindi" r91 = 10 . if s91 = 9999 and s91x = "Iðnskóli. Vélskóli" r91 = 4 . if s91 = 9 and s91x = "Iðnskólinn" r91 = 4 . if s91 = 9999 and s91x = "Iðnskólinn" r91 = 4 . if s91 = 19 and s91x = "Iðnskólinn í Reykjavík" r91 = 4 . if s91 = 9 and s91x = "Iðnskólinn og meistaraskólinn í Keflavík" r91 = 4 . if s91 = 1 and s91x = "Iðnskólinn trésmíði og meistaraskóli og Lögregluskólinn" r91 = 10 . if s91 = 3 and s91x = "iðnsveinn í húsasmíði og er í Bs námi" r91 = 3 . if s91 = 9 and s91x = "í danmörku" r91 = 9998 . if s91 = 2 and s91x = "í tvo vetur í Héraðsskólanum Laugum S.Þing" r91 = 2 . if s91 = 2 and s91x = "Íþróttakennaramentun" r91 = 2 . if s91 = 2 and s91x = "íþróttakennari" r91 = 2 . if s91 = 1 and s91x = "Íþróttaskóli" r91 = 1 . if s91 = 1 and s91x = "Íþróttaskólinn í Haukadal. Fjöldi námskeiða og skóli lífsins!" r91 = 1 . if s91 = 1 and s91x = "Járnsmiður iðnskólapróf" r91 = 4 . if s91 = 1 and s91x = "járnsmíði" r91 = 1 . if s91 = 1 and s91x = "jóga kennari" r91 = 1 . if s91 = 9 and s91x = "kennara menntun" r91 = 4 . if s91 = 4 and s91x = "kennarapróf" r91 = 4 . if s91 = 4 and s91x = "Kennarapróf" r91 = 4 . if s91 = 9 and s91x = "Kennarapróf" r91 = 4 . if s91 = 4 and s91x = "Kennarapróf 1962" r91 = 4 . if s91 = 9999 and s91x = "kennarapróf frá 1956" r91 = 4 . if s91 = 4 and s91x = "Kennarapróf frá KÍ 1970" r91 = 4 . if s91 = 9999 and s91x = "Kennarapróf frá Tónlistarskólanum R.vík" r91 = 4 . if s91 = 9999 and s91x = "kennarapróf grunn og framhaldskóla" r91 = 4 . if s91 = 49 and s91x = "kennaraskólapróf" r91 = 4 . if s91 = 4 and s91x = "kennari" r91 = 4 . if s91 = 9 and s91x = "kennari" r91 = 4 . if s91 = 49 and s91x = "Kennari frá MHI 1972" r91 = 4 . if s91 = 69 and s91x = "Kennslufræði til kennsluréttinga í grunn og framhaldssk" r91 = 6 . if s91 = 6 and s91x = "Kennsluréttindanám frá Háskóla Íslands 30 ein." r91 = 6 . if s91 = 9999 and s91x = "Kerfisfræði NTV" r91 = 9998 . if s91 = 9 and s91x = "Kerfisfræðingur Linux og Win" r91 = 9998 . if s91 = 1249 and s91x = "KHÍ" r91 = 4 . if s91 = 4 and s91x = "kjólameistari" r91 = 4 . if s91 = 9 and s91x = "kjötiðnaðarmaður" r91 = 4 . if s91 = 3 and s91x = "Klára BS próf eftir nokkra mánuði" r91 = 3 . if s91 = 4 and s91x = "kvennaskólapróf og Húsmæðraskólapróf, ýmis námskeið" r91 = 4 . if s91 = 49 and s91x = "Kvennaskólinn í Reykjavík" r91 = 4 . if s91 = 1 and s91x = "Kvöldskóli, námskeið" r91 = 1 . if s91 = 1 and s91x = "landbúnaðarháskóli" r91 = 1 . if s91 = 19 and s91x = "lauk ekki grunnskóla" r91 = 9998 . if s91 = 29 and s91x = "Lauk námi hjá tölvuskólanum Þekkingu. Alþjóða gráða" r91 = 1 . if s91 = 69 and s91x = "leiðsögupróf" r91 = 6 . if s91 = 9999 and s91x = "leigubílstjóri" r91 = 2 . if s91 = 9 and s91x = "leiklist" r91 = 9998 . if s91 = 2 and s91x = "leiklistarskóli 888" r91 = 2 . if s91 = 9 and s91x = "Leikskólakennaramenntun" r91 = 4 . if s91 = 9999 and s91x = "Leikskólakennarapróf" r91 = 4 . if s91 = 9999 and s91x = "Leikskólakennarapróf eftir stúdentspróf" r91 = 4 . if s91 = 9 and s91x = "leikskólakennari" r91 = 4 . if s91 = 9 and s91x = "leikskólakennari (áður en B.Ed gráðan kom)" r91 = 4 . if s91 = 9 and s91x = "Leikskólakennari ú H.Í." r91 = 4 . if s91 = 4 and s91x = "Leikskólakennari úr Fóstruskóla Ísl (1996)" r91 = 4 . if s91 = 39 and s91x = "Leikskólakennari, 2 ár í framhaldsnámi" r91 = 3 . if s91 = 1 and s91x = "Listakademía 8 ár" r91 = 1 . if s91 = 69 and s91x = "listmenntun" r91 = 6 . if s91 = 1 and s91x = "Lífsins skóli" r91 = 1 . if s91 = 1 and s91x = "Lífsreynsla" r91 = 1 . if s91 = 1 and s91x = "Lífsreynsla nokkur" r91 = 1 . if s91 = 49 and s91x = "Lífvörður" r91 = 4 . if s91 = 9 and s91x = "ljósmóðir" r91 = 2 . if s91 = 29 and s91x = "Ljósmóðir" r91 = 2 . if s91 = 9999 and s91x = "Ljósmóðir" r91 = 2 . if s91 = 9999 and s91x = "Ljósmóðir" r91 = 2 . if s91 = 19 and s91x = "ljósmyndun án prófs" r91 = 1 . if s91 = 9999 and s91x = "Ljósmæðrapróf" r91 = 2 . if s91 = 9999 and s91x = "Ljósmæðraskólinn" r91 = 2 . if s91 = 1 and s91x = "LMSI" r91 = 1 . if s91 = 9 and s91x = "Loftskeytaskólinn" r91 = 9998 . if s91 = 2 and s91x = "Lyfjatæknir" r91 = 2 . if s91 = 9 and s91x = "lyfjatæknir" r91 = 2 . if s91 = 29 and s91x = "Lýðháskóla, ritaraskóli" r91 = 2 . if s91 = 2 and s91x = "Lýðháskóli í Svíþjóð" r91 = 2 . if s91 = 9 and s91x = "læknaritari" r91 = 1 . if s91 = 2 and s91x = "læknaritun" r91 = 2 . if s91 = 7 and s91x = "læknismenntun" r91 = 7 . if s91 = 39 and s91x = "lækritaranám 1993 frá Ármúla" r91 = 3 . if s91 = 29 and s91x = "lærður silfursmiður" r91 = 4 . if s91 = 3 and s91x = "lögfræðingur" r91 = 3 . if s91 = 79 and s91x = "Löggilding í verðbr.miðlun" r91 = 7 . if s91 = 4 and s91x = "Lögreglumenntun" r91 = 4 . if s91 = 6 and s91x = "lögreglumenntun" r91 = 6 . if s91 = 2 and s91x = "Lögregluskóki - Ökukennaraskóli" r91 = 2 . if s91 = 39 and s91x = "Lögregluskóli + stjórnunarnám EHI/lögreglusbr" r91 = 3 . if s91 = 2 and s91x = "Lögregluskóli ríkisins" r91 = 4 . if s91 = 9 and s91x = "lögregluskólinn" r91 = 4 . if s91 = 12 and s91x = "Lögregluskólinn, sjúkraflutningaskólinn" r91 = 4 . if s91 = 1 and s91x = "m/ ökuréttindi og vélaréttindi" r91 = 1 . if s91 = 1 and s91x = "margskonar námskeið" r91 = 1 . if s91 = 5 and s91x = "Margvísleg. T.d. söng og tónlistarnám bæði hér heima og í Þýskalandi í mörg ár" r91 = 5 . if s91 = 49 and s91x = "markaðsfræði I" r91 = 4 . if s91 = 6 and s91x = "master í hönnun/listum (ekki háskóli)" r91 = 6 . if s91 = 9 and s91x = "Matartæknir" r91 = 4 . if s91 = 9999 and s91x = "matreiðsla" r91 = 2 . if s91 = 2 and s91x = "matreiðslu v matráðsstarfs í grunnskóla" r91 = 2 . if s91 = 9999 and s91x = "matreiðslumaður" r91 = 2 . if s91 = 9999 and s91x = "matreiðslumaður" r91 = 2 . if s91 = 2 and s91x = "Matreiðslumeistari" r91 = 10 . if s91 = 9999 and s91x = "Matreiðslumistari + smiður" r91 = 10 . if s91 = 9 and s91x = "matreiðslunám /kokkur" r91 = 4 . if s91 = 1 and s91x = "Matsveinn" r91 = 1 . if s91 = 19 and s91x = "Matsveinn" r91 = 1 . if s91 = 1 and s91x = "meira próf og vinnuvélapróf" r91 = 1 . if s91 = 29 and s91x = "meira próf og vinnuvélapróf" r91 = 2 . if s91 = 19 and s91x = "Meira próf, atvinnu bílstjóri" r91 = 1 . if s91 = 1 and s91x = "Meirabifreiðastjóra próf" r91 = 1 . if s91 = 1 and s91x = "Meirapróf" r91 = 1 . if s91 = 1 and s91x = "Meirapróf" r91 = 1 . if s91 = 1 and s91x = "meirapróf" r91 = 1 . if s91 = 1 and s91x = "meirapróf" r91 = 1 . if s91 = 3 and s91x = "Meirapróf" r91 = 3 . if s91 = 19 and s91x = "meirapróf" r91 = 1 . if s91 = 19 and s91x = "meirapróf" r91 = 1 . if s91 = 39 and s91x = "meirapróf" r91 = 3 . if s91 = 1 and s91x = "Meirapróf bifreiða" r91 = 1 . if s91 = 1 and s91x = "meirapróf bifreiða + vinnuvélaréttindi" r91 = 1 . if s91 = 1 and s91x = "Meirapróf Bifreiðastjóra og vinnuvélapróf." r91 = 1 . if s91 = 9999 and s91x = "meirapróf og rútupróf" r91 = 2 . if s91 = 19 and s91x = "meirapróf og vinnuvélaréttindi" r91 = 1 . if s91 = 9 and s91x = "Meirapróf vinnuvélapróf" r91 = 1 . if s91 = 1 and s91x = "Meirapróf, Fisknámskeið" r91 = 1 . if s91 = 1 and s91x = "meirapróf, vinnuvélaréttindi" r91 = 1 . if s91 = 19 and s91x = "meirapróf, þungavinnuvélaréttindi" r91 = 1 . if s91 = 9999 and s91x = "Meistaranám í húsasmíði" r91 = 10 . if s91 = 9 and s91x = "Meistaranám í rafeindavirkjun" r91 = 10 . if s91 = 9999 and s91x = "Meistarapróf í iðnmenntun" r91 = 10 . if s91 = 9999 and s91x = "Meistarapróf í rafvirkjun" r91 = 10 . if s91 = 9 and s91x = "Meistarapróf í vélsmíði" r91 = 10 . if s91 = 9999 and s91x = "Meistarapróf í vélvirkjun" r91 = 10 . if s91 = 9 and s91x = "meistarapróf úr iðnskóla" r91 = 10 . if s91 = 12 and s91x = "meistararéttindi í bifvélavirkjun - stálsmíði - nótusmíði auk skipstjórnarréttindi" r91 = 10 . if s91 = 4 and s91x = "meistararéttindi í iðngrein" r91 = 10 . if s91 = 2 and s91x = "meistararéttindi í pípulögnum" r91 = 10 . if s91 = 9999 and s91x = "meistaraskóli iðnskólans" r91 = 10 . if s91 = 4 and s91x = "meistaraskóli Iðnskólans í Reykjavík" r91 = 10 . if s91 = 3 and s91x = "Meistari í húsasmíði" r91 = 10 . if s91 = 19 and s91x = "meistari í húsasmíði af gamla skólanum. Iðnskóli" r91 = 10 . if s91 = 9999 and s91x = "meistari í húsasmíði og búfræðingur" r91 = 10 . if s91 = 6 and s91x = "meistari í iðn" r91 = 6 . if s91 = 2 and s91x = "Meistari í netagerð" r91 = 2 . if s91 = 9 and s91x = "meistari í rafvirkjun" r91 = 10 . if s91 = 9999 and s91x = "Meistari rafvirkjun" r91 = 10 . if s91 = 9 and s91x = "Meistarpróf í iðnmentun" r91 = 10 . if s91 = 45 and s91x = "menntaður í slökkvifræðum" r91 = 5 . if s91 = 1 and s91x = "Menntaskóli" r91 = 1 . if s91 = 9 and s91x = "mentaður framreiðslumaður" r91 = 4 . if s91 = 9 and s91x = "Microsoft certified systems administrator" r91 = 9998 . if s91 = 1 and s91x = "minna skipstjórnarpróf, verkstjórnarréttindi" r91 = 1 . if s91 = 9 and s91x = "Mjólkurfræði" r91 = 9998 . if s91 = 2 and s91x = "Mjög mikill fjöldi margvíslegra námskeiða" r91 = 2 . if s91 = 1 and s91x = "múraraiðn" r91 = 1 . if s91 = 9 and s91x = "Múrarameistari" r91 = 10 . if s91 = 9 and s91x = "Múrari" r91 = 4 . if s91 = 19 and s91x = "Myndlist" r91 = 1 . if s91 = 2 and s91x = "myndlistarmenntun í 9 ár, tölvu og skrifstofunám 1/2 vetur" r91 = 2 . if s91 = 9 and s91x = "myndlistarnám og tölvunám" r91 = 2 . if s91 = 4 and s91x = "Myndlistaskóli" r91 = 4 . if s91 = 1 and s91x = "Mörg námskeið" r91 = 1 . if s91 = 9 and s91x = "Mörg námskeið v/ leikskólafræðslu" r91 = 1 . if s91 = 29 and s91x = "mörg námskeið, aðallega tengd tungumálum, félagsmálum og listgreinum" r91 = 2 . if s91 = 1 and s91x = "mörg námskeið, húsmæraskóli" r91 = 1 . if s91 = 1 and s91x = "Nagglaskóli" r91 = 1 . if s91 = 9 and s91x = "naglafræðingur" r91 = 2 . if s91 = 29 and s91x = "Naglafræðingur" r91 = 1 . if s91 = 9 and s91x = "náði ekki grunnskólaprófum" r91 = 9998 . if s91 = 2 and s91x = "Nám í Bréfaskólanum (semvar)" r91 = 2 . if s91 = 1 and s91x = "Námskeið" r91 = 1 . if s91 = 1 and s91x = "Námskeið" r91 = 1 . if s91 = 1 and s91x = "námskeið í skrifstofuvinnu" r91 = 1 . if s91 = 2 and s91x = "námskeið í öllu mögulegu" r91 = 2 . if s91 = 1 and s91x = "námskeið ýmiskonar" r91 = 1 . if s91 = 1 and s91x = "neimskeið eða leikskóla 100 stunda í ummönnun barna" r91 = 1 . if s91 = 19 and s91x = "Netagerðan. + 2 stig stýrimannaskóla" r91 = 1 . if s91 = 9999 and s91x = "netagerðarmaður" r91 = 1 . if s91 = 2 and s91x = "nokkur námskeið" r91 = 2 . if s91 = 69 and s91x = "nokkurra ára tónlistarmenntun" r91 = 6 . if s91 = 9 and s91x = "Nuddfræði" r91 = 4 . if s91 = 9 and s91x = "nuddnám" r91 = 4 . if s91 = 49 and s91x = "nuddnámskeið, diplóma" r91 = 4 . if s91 = 2 and s91x = "og er förðunarfræðingur" r91 = 2 . if s91 = 2 and s91x = "Píano nám, harmonikkunám" r91 = 2 . if s91 = 2 and s91x = "Pípulagnir" r91 = 2 . if s91 = 29 and s91x = "póst- og símaskólinn. húsmæðraskóli í 3 mán. Fiskvinnslunámskeið" r91 = 2 . if s91 = 4 and s91x = "Póstskólinn" r91 = 4 . if s91 = 19 and s91x = "Póstskólinn" r91 = 1 . if s91 = 2 and s91x = "Prentari" r91 = 2 . if s91 = 9 and s91x = "prentun" r91 = 4 . if s91 = 5 and s91x = "próf 1954 - samsvarandi tækniskóla í dag" r91 = 5 . if s91 = 29 and s91x = "Próf frá iðnskóla og meistaraskóla Samtaka iðnaðarins" r91 = 4 . if s91 = 2 and s91x = "próf frá lögreglusk. 888. Noregi, USA." r91 = 2 . if s91 = 9 and s91x = "próf frá myndlista & handíðaskóli Íslands" r91 = 4 . if s91 = 69 and s91x = "Próf í verðbréfaviðskiptum" r91 = 6 . if s91 = 1 and s91x = "Próf úr 2 ja vetra Húsmæðraskóla, ýmis konar styttri námskeið" r91 = 1 . if s91 = 9999 and s91x = "próf úr iðnskóla" r91 = 4 . if s91 = 9 and s91x = "próf úr samvinnuskóla" r91 = 4 . if s91 = 1 and s91x = "Pungapróf" r91 = 1 . if s91 = 19 and s91x = "rafeindavirki í skrifstofuvélum" r91 = 4 . if s91 = 9 and s91x = "Rafiðn meistari" r91 = 10 . if s91 = 19 and s91x = "Rafmagnaiðn" r91 = 4 . if s91 = 9 and s91x = "rafv." r91 = 4 . if s91 = 4 and s91x = "Rafvélavirki" r91 = 4 . if s91 = 2 and s91x = "Rafvirki" r91 = 4 . if s91 = 2 and s91x = "rafvirki" r91 = 4 . if s91 = 5 and s91x = "Rafvirki" r91 = 5 . if s91 = 19 and s91x = "Rafvirki" r91 = 4 . if s91 = 29 and s91x = "Rafvirki" r91 = 4 . if s91 = 9999 and s91x = "Rafvirki" r91 = 4 . if s91 = 9 and s91x = "Rafvirki og skipstjórn 30 tonna" r91 = 4 . if s91 = 9 and s91x = "Rafvirkja meistari" r91 = 10 . if s91 = 2 and s91x = "Rafvirkjameistari" r91 = 10 . if s91 = 9 and s91x = "Rafvirkjameistari" r91 = 10 . if s91 = 9 and s91x = "rafvirkjameistari (iðn)" r91 = 10 . if s91 = 245 and s91x = "rafvirkjameistari, vélstjóri" r91 = 10 . if s91 = 9999 and s91x = "rafvirkjamenntun, meistari" r91 = 10 . if s91 = 9 and s91x = "Rafvirkjanám og meistara" r91 = 10 . if s91 = 9 and s91x = "Rafvirkjun/meistaranám" r91 = 10 . if s91 = 19 and s91x = "Ráðgjafarskóli Íslands" r91 = 1 . if s91 = 1 and s91x = "Ráðgjafaskóli Íslands" r91 = 1 . if s91 = 9 and s91x = "ráðgjöf" r91 = 1 . if s91 = 39 and s91x = "Rekstrar og viðskiptafræði diploma" r91 = 6 . if s91 = 9 and s91x = "rekstrarfræði bifrösst" r91 = 3 . if s91 = 9 and s91x = "rekstrarfræði, 2 ár í háskóla" r91 = 3 . if s91 = 9999 and s91x = "rennismiður" r91 = 4 . if s91 = 19 and s91x = "Réttindi á krana, vinnuvélar, meirapróf, vélavörður og 30 tonna" r91 = 1 . if s91 = 2 and s91x = "ritaraskóli" r91 = 2 . if s91 = 49 and s91x = "Samvinnuskóla, burtfararpróf árið 1950" r91 = 4 . if s91 = 2 and s91x = "samvinnuskólinn" r91 = 2 . if s91 = 2 and s91x = "Samvinnuskólinn" r91 = 2 . if s91 = 9 and s91x = "Samvinnuskólinn" r91 = 2 . if s91 = 9 and s91x = "Samvinnuskólinn, Bifröst" r91 = 2 . if s91 = 2 and s91x = "Saumakona" r91 = 2 . if s91 = 9 and s91x = "sérfr.próf tengt starfi." r91 = 9998 . if s91 = 9 and s91x = "Sérfræðimenntun - SITA" r91 = 9998 . if s91 = 9 and s91x = "sérfræðimenntun á Háskólastigi" r91 = 6 . if s91 = 69 and s91x = "Sérfræðinám að loknu háskólaprófi" r91 = 6 . if s91 = 2 and s91x = "sérhæfð fiskverkakona" r91 = 2 . if s91 = 2 and s91x = "sérhæfður starfsmaður í umönnun aldraðra" r91 = 2 . if s91 = 1 and s91x = "Sérhæfingamenntun varðandi starf" r91 = 1 . if s91 = 4 and s91x = "sérkennari" r91 = 4 . if s91 = 9999 and s91x = "Sérnám eftir kandidatspróf" r91 = 7 . if s91 = 9 and s91x = "Sérnám í hjúkrun" r91 = 6 . if s91 = 4 and s91x = "Sérskóli" r91 = 4 . if s91 = 9 and s91x = "siglingafræðingur" r91 = 9998 . if s91 = 19 and s91x = "sjávarútvegsfræði" r91 = 1 . if s91 = 9999 and s91x = "Sjómannaskóli" r91 = 4 . if s91 = 9999 and s91x = "Sjómannaskóli Íslands (fiskimanns)" r91 = 4 . if s91 = 9999 and s91x = "Sjómannaskólinn" r91 = 4 . if s91 = 9999 and s91x = "Sjómannaskólinn" r91 = 4 . if s91 = 9 and s91x = "Sjómannaskólinn, stýrim.-vélstj." r91 = 4 . if s91 = 124 and s91x = "Sjúkral.nám" r91 = 4 . if s91 = 9999 and s91x = "sjúkraliða" r91 = 4 . if s91 = 9 and s91x = "Sjúkraliða menntun'" r91 = 4 . if s91 = 9999 and s91x = "sjúkraliðamenntun" r91 = 4 . if s91 = 4 and s91x = "Sjúkraliðanám" r91 = 4 . if s91 = 12 and s91x = "Sjúkraliðanám" r91 = 4 . if s91 = 19 and s91x = "sjúkraliðapróf" r91 = 4 . if s91 = 9999 and s91x = "Sjúkraliðapróf" r91 = 4 . if s91 = 9999 and s91x = "sjúkraliðapróf" r91 = 4 . if s91 = 24 and s91x = "Sjúkraliðaskóla Ísl." r91 = 4 . if s91 = 2 and s91x = "Sjúkraliðaskóli Íslands" r91 = 4 . if s91 = 1 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 2 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 2 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 3 and s91x = "Sjúkraliði" r91 = 3 . if s91 = 3 and s91x = "sjúkraliði" r91 = 3 . if s91 = 4 and s91x = "sjúkraliði" r91 = 4 . if s91 = 4 and s91x = "sjúkraliði" r91 = 4 . if s91 = 9 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 9 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 9 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 12 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 19 and s91x = "sjúkraliði" r91 = 4 . if s91 = 29 and s91x = "sjúkraliði" r91 = 4 . if s91 = 69 and s91x = "Sjúkraliði" r91 = 6 . if s91 = 9999 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 9999 and s91x = "Sjúkraliði" r91 = 4 . if s91 = 9999 and s91x = "sjúkraliði" r91 = 4 . if s91 = 9999 and s91x = "sjúkraliði - einkaritaraskóli" r91 = 4 . if s91 = 2 and s91x = "sjúkraliði og leikskólakennari" r91 = 4 . if s91 = 4 and s91x = "sjúkraliði og snyrtifræðingur" r91 = 4 . if s91 = 2 and s91x = "Sjúkraliði, læknaritari" r91 = 4 . if s91 = 9 and s91x = "sjúkraliðið" r91 = 4 . if s91 = 9999 and s91x = "sjúkraliðið" r91 = 4 . if s91 = 2 and s91x = "sjúkranuddari" r91 = 4 . if s91 = 9 and s91x = "Skipasmiðar + vélvirkjun o.f.." r91 = 4 . if s91 = 2 and s91x = "skipasmíðameistari, próf úr myndlista og handiðarskóla ísl" r91 = 10 . if s91 = 9999 and s91x = "Skipstj." r91 = 4 . if s91 = 4 and s91x = "skipstjónarmenntun" r91 = 4 . if s91 = 9999 and s91x = "skipstjóra- og stýrimannaskólinn II stig" r91 = 2 . if s91 = 2 and s91x = "Skipstjóra og vélstjóraréttindi á 30 tonna bát" r91 = 2 . if s91 = 9999 and s91x = "Skipstjóra, vélstjóra og fleiri námskeið" r91 = 2 . if s91 = 1 and s91x = "skipstjóramenntun" r91 = 4 . if s91 = 9 and s91x = "skipstjóramenntun" r91 = 4 . if s91 = 29 and s91x = "Skipstjóramenntun" r91 = 4 . if s91 = 9999 and s91x = "Skipstjóramenntun + námsk. endurmenntun" r91 = 4 . if s91 = 49 and s91x = "Skipstjóramentun" r91 = 4 . if s91 = 9999 and s91x = "skipstjóranám- vélstjóranám" r91 = 4 . if s91 = 9 and s91x = "skipstjórapróf" r91 = 4 . if s91 = 9 and s91x = "skipstjórapróf" r91 = 4 . if s91 = 9999 and s91x = "skipstjórapróf" r91 = 4 . if s91 = 9999 and s91x = "Skipstjórapróf" r91 = 4 . if s91 = 12 and s91x = "Skipstjórapróf frá Stýrimannaskóla ísl" r91 = 4 . if s91 = 9 and s91x = "Skipstjórapróf, diploma frá Bifröst" r91 = 6 . if s91 = 1 and s91x = "skipstjóri" r91 = 1 . if s91 = 9 and s91x = "Skipstjóri" r91 = 4 . if s91 = 9 and s91x = "Skipstjóri" r91 = 4 . if s91 = 9999 and s91x = "Skipstjóri + vélstjóri" r91 = 4 . if s91 = 9 and s91x = "Skipstjórn" r91 = 4 . if s91 = 9 and s91x = "Skipstjórn" r91 = 4 . if s91 = 9999 and s91x = "skipstjórn" r91 = 4 . if s91 = 9999 and s91x = "skipstjórn" r91 = 4 . if s91 = 9999 and s91x = "skipstjórnarmenntun" r91 = 4 . if s91 = 1 and s91x = "skipstjórnarnám" r91 = 4 . if s91 = 1 and s91x = "Skipstjórnarpróf" r91 = 4 . if s91 = 1 and s91x = "Skipstjórnarpróf Vélstjórapróf" r91 = 4 . if s91 = 1 and s91x = "skipstjórnarréttindi" r91 = 4 . if s91 = 19 and s91x = "Skipstjórnarréttindi og vélstjórnarréttindi" r91 = 4 . if s91 = 9999 and s91x = "Skipstjórnarréttindi, bifvélavirkjun, vinnuvélaréttindi" r91 = 4 . if s91 = 9 and s91x = "Skógrækt o.m.fl." r91 = 2 . if s91 = 29 and s91x = "Skógrækt, er skógarbóndi" r91 = 2 . if s91 = 1 and s91x = "Skóli lífsins" r91 = 1 . if s91 = 9 and s91x = "Skrifstofu nám" r91 = 1 . if s91 = 9 and s91x = "Skrifstofubraut 1. frá MK" r91 = 1 . if s91 = 29 and s91x = "skrifstofubraut í fjarnámi" r91 = 2 . if s91 = 9 and s91x = "skrifstofunám" r91 = 2 . if s91 = 9 and s91x = "Skrifstofunám" r91 = 2 . if s91 = 29 and s91x = "skrifstofutækni - tölvunám (260 klst)" r91 = 2 . if s91 = 2 and s91x = "Skrifstofutækni frá Tölvuskóla Reykjavíkur - ýmis námskeið" r91 = 2 . if s91 = 1 and s91x = "skrifstofutækninám, myndlistarnám" r91 = 1 . if s91 = 9 and s91x = "skrifstofuvinna" r91 = 1 . if s91 = 2 and s91x = "Slátraraiðn" r91 = 2 . if s91 = 2 and s91x = "smá fjarnám frá háskólanum á Bifröst" r91 = 2 . if s91 = 9 and s91x = "snyrtifræði" r91 = 4 . if s91 = 2 and s91x = "Snyrtifræðingur - meirapróf rúta ofl" r91 = 2 . if s91 = 9 and s91x = "Sprengjumeistari (námskeið)" r91 = 1 . if s91 = 9 and s91x = "Starfsmenntun stuðningsfulltrúa, verðandi sjúkraliði" r91 = 1 . if s91 = 9 and s91x = "Starfsnám - iðnaðarmaður" r91 = 1 . if s91 = 9 and s91x = "starfsnám e. framhaldsskóla" r91 = 1 . if s91 = 9 and s91x = "Starfstengt nám" r91 = 1 . if s91 = 4 and s91x = "stálsmíði" r91 = 4 . if s91 = 1 and s91x = "Stóriðjugreinar í ALCAN" r91 = 1 . if s91 = 1 and s91x = "Stuðningsfulltrúi" r91 = 1 . if s91 = 2 and s91x = "Stuðningsfulltrúi" r91 = 2 . if s91 = 69 and s91x = "stúdent, hússtjórnarskóli" r91 = 3 . if s91 = 9 and s91x = "stúdentspróf og endurmenntun HÍ" r91 = 3 . if s91 = 9 and s91x = "stúdentspróf og verslunarpróf" r91 = 3 . if s91 = 9999 and s91x = "Stúdentspróf, kennarapróf, fyrrihluta próf guðfræði. 35 einingar í ísl í HÍ" r91 = 3 . if s91 = 9999 and s91x = "Stýrim.skóli + lögreglusk." r91 = 4 . if s91 = 6 and s91x = "Stýrim.skóli 2 stig fiskimanna" r91 = 6 . if s91 = 2 and s91x = "stýrim.skóli Rvík Skipherra á varðskipum" r91 = 2 . if s91 = 5 and s91x = "stýrimaður" r91 = 5 . if s91 = 1 and s91x = "Stýrimaður, vélstjóri, stóriðjugreinir" r91 = 4 . if s91 = 9 and s91x = "Stýrimaður-sjómannaskólinn" r91 = 4 . if s91 = 9 and s91x = "stýrimanna og skipstjóra" r91 = 4 . if s91 = 9999 and s91x = "stýrimannakólinn" r91 = 4 . if s91 = 459 and s91x = "stýrimannaskíli+ vélskóli" r91 = 4 . if s91 = 4 and s91x = "Stýrimannaskóla" r91 = 4 . if s91 = 9999 and s91x = "Stýrimannaskólapróf" r91 = 4 . if s91 = 1 and s91x = "stýrimannaskóli" r91 = 1 . if s91 = 1 and s91x = "Stýrimannaskóli" r91 = 1 . if s91 = 2 and s91x = "Stýrimannaskóli" r91 = 2 . if s91 = 2 and s91x = "Stýrimannaskóli" r91 = 2 . if s91 = 4 and s91x = "Stýrimannaskóli" r91 = 4 . if s91 = 9 and s91x = "Stýrimannaskóli" r91 = 4 . if s91 = 9 and s91x = "stýrimannaskóli" r91 = 4 . if s91 = 9 and s91x = "stýrimannaskóli" r91 = 4 . if s91 = 9999 and s91x = "stýrimannaskóli" r91 = 4 . if s91 = 9999 and s91x = "stýrimannaskóli" r91 = 4 . if s91 = 29 and s91x = "Stýrimannaskóli ísl" r91 = 2 . if s91 = 9999 and s91x = "stýrimannaskóli Íslands" r91 = 4 . if s91 = 9999 and s91x = "stýrimannaskóli íslands 1951" r91 = 4 . if s91 = 9 and s91x = "Stýrimannaskóli og iðnskóli" r91 = 4 . if s91 = 1 and s91x = "Stýrimannaskólinn" r91 = 1 . if s91 = 1 and s91x = "Stýrimannaskólinn" r91 = 1 . if s91 = 9 and s91x = "Stýrimannaskólinn" r91 = 4 . if s91 = 9 and s91x = "Stýrimannaskólinn" r91 = 4 . if s91 = 9 and s91x = "stýrimannaskólinn" r91 = 4 . if s91 = 9 and s91x = "Stýrimannaskólinn" r91 = 4 . if s91 = 9999 and s91x = "Stýrimannaskólinn" r91 = 4 . if s91 = 9999 and s91x = "Stýrimannaskólinn 1950" r91 = 4 . if s91 = 9 and s91x = "Stýrimannaskólinn- fiskimannadeild" r91 = 4 . if s91 = 9 and s91x = "Stýrimannaskólinn II stig" r91 = 1 . if s91 = 9999 and s91x = "Stýrimannaskólinn í R.V.K." r91 = 4 . if s91 = 9999 and s91x = "stýrimannaskólinn í Reykjavík" r91 = 4 . if s91 = 9999 and s91x = "Stýrimannaskólinn, 7,8 gefið hæst 8" r91 = 4 . if s91 = 9999 and s91x = "Stýrimannspróf/ múrarameistari" r91 = 10 . if s91 = 2 and s91x = "Sveinspróf" r91 = 2 . if s91 = 4 and s91x = "Sveinspróf" r91 = 4 . if s91 = 4 and s91x = "Sveinspróf" r91 = 4 . if s91 = 9 and s91x = "Sveinspróf" r91 = 4 . if s91 = 9 and s91x = "Sveinspróf" r91 = 4 . if s91 = 9 and s91x = "sveinspróf" r91 = 4 . if s91 = 9 and s91x = "Sveinspróf" r91 = 4 . if s91 = 9 and s91x = "sveinspróf" r91 = 4 . if s91 = 69 and s91x = "sveinspróf" r91 = 6 . if s91 = 39 and s91x = "sveinspróf í 888" r91 = 3 . if s91 = 19 and s91x = "sveinspróf í húsasmíði" r91 = 4 . if s91 = 2 and s91x = "sveinspróf í málmiðn" r91 = 4 . if s91 = 1 and s91x = "sveinspróf í netagerð" r91 = 4 . if s91 = 9999 and s91x = "sveinspróf í netagerð" r91 = 4 . if s91 = 9999 and s91x = "Sveinspróf í trésmíðum" r91 = 4 . if s91 = 2 and s91x = "Sveinspróf í vélvirkjun" r91 = 4 . if s91 = 49 and s91x = "Sveinspróf og meistararéttindi iðnaðarmanna" r91 = 10 . if s91 = 9999 and s91x = "sveinspróf og meistaraskólapróf" r91 = 10 . if s91 = 4 and s91x = "sveinsprófi" r91 = 4 . if s91 = 1 and s91x = "Sveitafarskóli 6-8 vikur á vetri" r91 = 1 . if s91 = 69 and s91x = "Söngvari" r91 = 6 . if s91 = 2 and s91x = "tannlæknir" r91 = 4 . if s91 = 4 and s91x = "tannlæknir" r91 = 4 . if s91 = 9999 and s91x = "Tannsmiður" r91 = 4 . if s91 = 1 and s91x = "tekið námskeið og einingar til stúdents" r91 = 1 . if s91 = 6 and s91x = "tónlist" r91 = 6 . if s91 = 9 and s91x = "tónlist" r91 = 9998 . if s91 = 29 and s91x = "Tónlist, söngur" r91 = 2 . if s91 = 9 and s91x = "Tónlistarkennarapróf" r91 = 6 . if s91 = 2 and s91x = "Tónlistarmenntun" r91 = 2 . if s91 = 9 and s91x = "Tónlistarmenntun" r91 = 2 . if s91 = 9 and s91x = "tónlistarmenntun sbr. master" r91 = 7 . if s91 = 9 and s91x = "Tónlistarskólagráðu B.A." r91 = 6 . if s91 = 1 and s91x = "tónlistarskóli" r91 = 1 . if s91 = 9 and s91x = "tónmenntakennarapróf" r91 = 6 . if s91 = 1459 and s91x = "Tónmenntakennarapróf Tónl.sk. RVK" r91 = 5 . if s91 = 2 and s91x = "Tónmenntakennari" r91 = 2 . if s91 = 29 and s91x = "Tónmenntun" r91 = 2 . if s91 = 9999 and s91x = "Tónskólamenntun" r91 = 1 . if s91 = 9999 and s91x = "tónskóli" r91 = 1 . if s91 = 9 and s91x = "Tónskólinn" r91 = 1 . if s91 = 9 and s91x = "tréskipasmíði" r91 = 1 . if s91 = 4 and s91x = "trésmiður" r91 = 4 . if s91 = 2 and s91x = "Trésmipur/ sveinn" r91 = 4 . if s91 = 2 and s91x = "tungumálanámskeið" r91 = 2 . if s91 = 9 and s91x = "tveir vetur í húsmæðraskóla" r91 = 1 . if s91 = 6 and s91x = "tvö grunnpróf úr háskóla" r91 = 6 . if s91 = 69 and s91x = "tvöfalt BA próf" r91 = 6 . if s91 = 9 and s91x = "tæknistúdent" r91 = 5 . if s91 = 2 and s91x = "Tækniteiknun" r91 = 2 . if s91 = 2 and s91x = "tækniteiknun + myndlist" r91 = 2 . if s91 = 179 and s91x = "Tölvu og skrifstofunám" r91 = 7 . if s91 = 2 and s91x = "Tölvu- og skrifstofunám" r91 = 2 . if s91 = 9 and s91x = "Tölvu og viðskiptaskólinn" r91 = 2 . if s91 = 29 and s91x = "Tölvumenntun" r91 = 2 . if s91 = 39 and s91x = "Tölvumenntun úr tölvuskóla + hálfnuð með háskóla í mannfræði" r91 = 3 . if s91 = 2 and s91x = "Tölvunámskeið og ýmis önnur námskeið" r91 = 2 . if s91 = 2 and s91x = "Tölvuskóli" r91 = 2 . if s91 = 9 and s91x = "tölvuskóli - almennt skrifstofunám" r91 = 1 . if s91 = 1 and s91x = "Tölvuskóli Rvk námsflokkar Rvk" r91 = 1 . if s91 = 149 and s91x = "vefnaðarkennarapróf" r91 = 4 . if s91 = 2 and s91x = "Verkamaður" r91 = 2 . if s91 = 9 and s91x = "verkmentun tengd vinnuvélum" r91 = 2 . if s91 = 1 and s91x = "Verkstjóra, vélstjóra og skipstjórapróf" r91 = 4 . if s91 = 3 and s91x = "verktaki í iðngrein, búfræðingur" r91 = 3 . if s91 = 4 and s91x = "versló" r91 = 4 . if s91 = 1 and s91x = "Verslunarpróf" r91 = 4 . if s91 = 9 and s91x = "Verslunarpróf" r91 = 4 . if s91 = 2 and s91x = "Verslunarpróf 2. í öldungadeild" r91 = 2 . if s91 = 9 and s91x = "Verslunarpróf, er í háskólanámi" r91 = 2 . if s91 = 4 and s91x = "verslunarskólapróf" r91 = 4 . if s91 = 9999 and s91x = "Verslunarskólapróf - vélstjóranám" r91 = 4 . if s91 = 9999 and s91x = "verslunarskólapróf 1963 (17 ára gömul)" r91 = 3 . if s91 = 9999 and s91x = "Verslunarskóli ísl" r91 = 3 . if s91 = 9999 and s91x = "Verslunarskóli Íslands, Kennaraskólinn '69" r91 = 3 . if s91 = 59 and s91x = "Vélfræðimenntun" r91 = 5 . if s91 = 4 and s91x = "Vélfræðingur" r91 = 4 . if s91 = 4 and s91x = "vélfræðingur" r91 = 4 . if s91 = 4 and s91x = "Vélfræðingur" r91 = 4 . if s91 = 9 and s91x = "vélfræðingur" r91 = 4 . if s91 = 9 and s91x = "vélfræðingur" r91 = 4 . if s91 = 9 and s91x = "Vélfræðingur" r91 = 4 . if s91 = 9999 and s91x = "Vélfræðingur" r91 = 4 . if s91 = 9999 and s91x = "Vélfræðingur" r91 = 4 . if s91 = 9999 and s91x = "Vélfræðingur" r91 = 4 . if s91 = 4 and s91x = "Vélfræðingur (vélstjóri + vélvirki)" r91 = 4 . if s91 = 9 and s91x = "Vélfræðingur frá vélskóla Íslands" r91 = 4 . if s91 = 9 and s91x = "vélfræðingur úr vélskóla íslands" r91 = 4 . if s91 = 29 and s91x = "Vélgæslumaður" r91 = 2 . if s91 = 9999 and s91x = "vélskóla íslands" r91 = 4 . if s91 = 9 and s91x = "vélskólapróf" r91 = 4 . if s91 = 9999 and s91x = "Vélskólapróf" r91 = 4 . if s91 = 1 and s91x = "Vélskóli" r91 = 1 . if s91 = 9 and s91x = "vélskóli + sveinn í rafvirkjaskóla" r91 = 4 . if s91 = 9999 and s91x = "vélskóli íslands" r91 = 4 . if s91 = 9999 and s91x = "Vélskóli Íslands" r91 = 4 . if s91 = 9999 and s91x = "vélskóli, Lögregluskóli Ríkisins" r91 = 4 . if s91 = 9999 and s91x = "vélstjornarréttindi frá fiskifélagi Íslands" r91 = 4 . if s91 = 9999 and s91x = "vélstjóra" r91 = 4 . if s91 = 9 and s91x = "vélstjóranám vélvirkjameistari" r91 = 10 . if s91 = 1 and s91x = "vélstjóranámskeið 1958 + stýrimannaskóli" r91 = 1 . if s91 = 9 and s91x = "Vélstjórapróf" r91 = 4 . if s91 = 19 and s91x = "vélstjórapróf" r91 = 4 . if s91 = 29 and s91x = "vélstjórapróf" r91 = 4 . if s91 = 9999 and s91x = "Vélstjórapróf" r91 = 4 . if s91 = 2 and s91x = "Vélstjóri" r91 = 4 . if s91 = 2 and s91x = "Vélstjóri (Vélskólinn í RVK)" r91 = 4 . if s91 = 1 and s91x = "Vélstjóri og skipstjóri" r91 = 4 . if s91 = 1 and s91x = "vélstjórn frá F.S. I stig" r91 = 4 . if s91 = 1 and s91x = "Vélstjórnar menntun" r91 = 1 . if s91 = 1 and s91x = "Vélstjórnarnám" r91 = 1 . if s91 = 9 and s91x = "Vélvirki" r91 = 4 . if s91 = 9999 and s91x = "vélvirki" r91 = 4 . if s91 = 9 and s91x = "vélvirki í meistarapróf" r91 = 10 . if s91 = 2 and s91x = "vélvirkjun" r91 = 2 . if s91 = 9 and s91x = "Vélvirkjun" r91 = 4 . if s91 = 9999 and s91x = "Vélvirkjun" r91 = 4 . if s91 = 9999 and s91x = "Vélvirkjun iðnskólinn Rvk" r91 = 4 . if s91 = 1 and s91x = "vélvirkjun vélstjórn" r91 = 4 . if s91 = 6 and s91x = "Viðbótanám í erl. háskóla" r91 = 6 . if s91 = 9 and s91x = "Viðskipta og rekstrarfræði" r91 = 6 . if s91 = 9 and s91x = "Viðskipta og rekstrarnám við endurmenntun HÍ. Diploma í mannauðsstjórn við HR." r91 = 6 . if s91 = 9 and s91x = "Viðskipta og Tölvuskóli" r91 = 1 . if s91 = 39 and s91x = "Viðskipta- og tölvuskólinn" r91 = 3 . if s91 = 9999 and s91x = "vinnuvélapróf" r91 = 1 . if s91 = 9 and s91x = "Vinnuvélaréttindi" r91 = 1 . if s91 = 1 and s91x = "Ýmis námskeið" r91 = 1 . if s91 = 1 and s91x = "ýmis námskeið" r91 = 1 . if s91 = 1 and s91x = "ýmis námskeið" r91 = 1 . if s91 = 1 and s91x = "ýmis námskeið" r91 = 1 . if s91 = 1 and s91x = "Ýmis námskeið" r91 = 1 . if s91 = 2 and s91x = "Ýmis námskeið" r91 = 2 . if s91 = 29 and s91x = "ýmis námskeið" r91 = 2 . if s91 = 29 and s91x = "ýmis námskeið í barnauppeldi" r91 = 2 . if s91 = 1 and s91x = "ýmis námskeið í stjórnun og bókhaldi" r91 = 1 . if s91 = 1 and s91x = "ýmis námskeið varðandi vinnuna" r91 = 1 . if s91 = 2 and s91x = "ýmis námskið t.d. tölvunámskeið" r91 = 2 . if s91 = 2 and s91x = "ýmis verkefni" r91 = 2 . if s91 = 2 and s91x = "ýmis verkstjórnarnámskeið" r91 = 2 . if s91 = 69 and s91x = "Ýmis viðbótarnámskeið í eigin fagi" r91 = 6 . if s91 = 9 and s91x = "Þjónn" r91 = 4 . if s91 = 4 and s91x = "þriggja ára 888nám erlendis" r91 = 4 . if s91 = 2 and s91x = "þroskaþjálfaranám frá Noregi" r91 = 2 . if s91 = 1 and s91x = "þungavinnuvélar" r91 = 1 . if s91 = 2 and s91x = "ökukennari, bílstjóri, sjómaður" r91 = 2 . if s91 = 1 and s91x = "Ökupróf , meirapróf" r91 = 1 . if s91 = 2 and s91x = "Öldungadeild og námskeið (kvöldskóli" r91 = 2 . exe. recode r91 (10 = 9). var label r91 "Hæsta prófgráða, imputað úr s91 og s91x". val label r91 1 "Barna-, unglinga- eða grunnskólapróf" 2 "Gagnfræðapróf eða landspróf" 3 "Stúdentspróf" 4 "Annað próf á framhaldsskólastigi" 5 "Tækniskólapróf" 6 "Grunnpróf úr háskóla" 7 "Meistarapróf úr háskóla" 8 "Doktorspróf" 9 "Meistarapróf í iðn" 9998 "Ekki hægt að staðsetja aðra menntun" 9999 "Svarar ekki spurningu". Format r91 (F4). missing values r91 (9998 9999). exe. * 3ja flokka menntunarbreyta búin til. *recode r91 (1 2 = 1) (3 4 5 9 = 2) (6 7 8 = 3) into r91fl. *fre r91fl. *var label r91fl "Menntun, þriflokkuð". ** s92 --> r92. * Bætt við upplýsingum um þá sem líklega eru að svara NEI á spurningum með því að sleppa að svara. * Ef einstaklingur svarar "JÁ" á a.m.k einni spurningu (s92a-k) en svarar ekki hinum á hann líklega við NEI og fær því gildið 3 á þeim spurningum. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 20. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. *Leiðrétting. if s92b = 0 s92b = 1. compute s92fjsj = nvalid(s92a to s92k). compute s92JA =0. compute s92NEI =0. vector s92SJ = s92a to s92k. loop #i = 1 to 11. if s92SJ(#i) = 1 s92JA = s92JA + 1. if s92SJ(#i) = 2 s92NEI = s92NEI + 1. end loop. exe. compute JASV92 = 0. if s92fjsj ne 11 and s92NEI = 0 and s92JA ge 1 JASV92 = 1. exe. missing values s92a to s92k (). compute r92a = s92a. compute r92b = s92b. compute r92c = s92c. compute r92d = s92d. compute r92e = s92e. compute r92f = s92f. compute r92g = s92g. compute r92h = s92h. compute r92i = s92i. compute r92j = s92j. compute r92k = s92k. vector SP92 = s92a to s92k. vector RSP92 = r92a to r92k. loop #i = 1 to 11. if SP92(#i) = 9999 and JASV92 = 1 RSP92(#i) = 3. end loop. exe. var label r92a "Staða - íslenskur ríkisborgari?". var label r92b "Staða - launþegi". var label r92c "Staða - atvinnurekandi". var label r92d "Staða - í námi". var label r92e "Staða - heimavinnandi að meginstarfi". var label r92f "Staða - í fæðingarorlofi". var label r92g "Staða - veikur eða tímabundið ófær til vinnu". var label r92h "Staða - á eftirlaunum". var label r92i "Staða - atvinnulaus". var label r92j "Staða - 50–74% öryrki". var label r92k "Staða - 75% öryrki". val label r92a to r92k 1 "JÁ" 2 "NEI" 3 "Líklega NEI". missing values r92a to r92k (5 thru 9999). missing values s92a to s92k (5 thru 9999). ** s93 --> r93. * Merkt fyrir þá sem ekki merktu við s93j (annað fyrirkomulag) en skrifuðu í textareit. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 21. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. missing values s93a to s93j (). compute r93a = s93a. compute r93b = s93b. compute r93c = s93c. compute r93d = s93d. compute r93e = s93e. compute r93f = s93f. compute r93g = s93g. compute r93h = s93h. compute r93i = s93i. compute r93j = s93j. exe. var label r93a "Vinnufyrirkomulag - Ekki í vinnu". var label r93b "Vinnufyrirkomulag - Eingöngu dagvinna". var label r93c "Vinnufyrirkomulag - Eingöngu vaktavinna". var label r93d "Vinnufyrirkomulag - Vaktavinna með tvískiptum vöktum". var label r93e "Vinnufyrirkomulag - Vaktavinna með þrískiptum vöktum". var label r93f "Vinnufyrirkomulag - Vaktavinna með föstum kvöldvöktum". var label r93g "Vinnufyrirkomulag - Vaktavinna með föstum næturvöktum". var label r93h "Vinnufyrirkomulag - 2–2–3 vaktir". var label r93i "Vinnufyrirkomulag - Bæði dagvinna og vaktavinna". var label r93j "Vinnufyrirkomulag - Annað fyrirkomulag". val label r93a to r93j 0 "Merkir ekki við" 1 "Merkir við". missing values s93a to s93j (99). if s93x ne "" and missing(s93j) r93a = 0. if s93x ne "" and missing(s93j) r93b = 0. if s93x ne "" and missing(s93j) r93c = 0. if s93x ne "" and missing(s93j) r93d = 0. if s93x ne "" and missing(s93j) r93e = 0. if s93x ne "" and missing(s93j) r93f = 0. if s93x ne "" and missing(s93j) r93g = 0. if s93x ne "" and missing(s93j) r93h = 0. if s93x ne "" and missing(s93j) r93i = 0. if s93x ne "" and missing(s93j) r93j = 1. exe. missing values r93a to r93j (99). ** s95 --> r95. * Bætt við upplýsingum um þá sem líklega eru að svara NEI á spurningum með því að sleppa að svara. * Ef einstaklingur svarar "JÁ" á a.m.k einni spurningu (s95a-g) en svarar ekki hinum á hann líklega við NEI og fær því gildið 6 á þeim spurningum. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 21. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. missing values s95a to s95g (12 thru 9999). compute s95fjsj = nvalid(s95a to s95g). compute s95JA =0. compute s95NEI =0. vector s95SJ = s95a to s95g. loop #i = 1 to 7. if s95SJ(#i) lt 5 s95JA = s95JA + 1. if s95SJ(#i) = 5 s95NEI = s95NEI + 1. end loop. exe. compute JASV95 = 0. if s95fjsj ne 7 and s95NEI = 0 and s95JA ge 1 JASV95 = 1. exe. missing values s95a to s95g (). compute r95a = s95a. compute r95b = s95b. compute r95c = s95c. compute r95d = s95d. compute r95e = s95e. compute r95f = s95f. compute r95g = s95g. vector SP95 = s95a to s95g. vector RSP95 = r95a to r95g. loop #i = 1 to 7. if SP95(#i) = 9999 and JASV95 = 1 RSP95(#i) = 6. end loop. exe. var label r95a "Hvernig hefur þú ferðast til vinnu (eða skóla) undanfarna 30 daga? - Akandi í einkabíl eða vinnubíl". var label r95b "Hvernig hefur þú ferðast til vinnu (eða skóla) undanfarna 30 daga? - Sem farþegi í einkabíl eða vinnubíl". var label r95c "Hvernig hefur þú ferðast til vinnu (eða skóla) undanfarna 30 daga? - Gangandi". var label r95d "Hvernig hefur þú ferðast til vinnu (eða skóla) undanfarna 30 daga? - Hjólandi". var label r95e "Hvernig hefur þú ferðast til vinnu (eða skóla) undanfarna 30 daga? - Farþegi í leigubíl". var label r95f "Hvernig hefur þú ferðast til vinnu (eða skóla) undanfarna 30 daga? - Með strætisvagni eða öðru almenningsfarartæki". var label r95g "Hvernig hefur þú ferðast til vinnu (eða skóla) undanfarna 30 daga? - Á annan hátt". val label r95a to r95g 1 "Nær daglega" 2 "3-4 sinnum í viku" 3 "1-2 sinnum í viku" 4 "1-3 sinnum á síðustu 30 dögum" 5 "Aldrei" 6 "Líklega Aldrei". missing values r95a to r95g (12 thru 9999). missing values s95a to s95g (12 thru 9999). ** s96 --> r96. * ATH breyturnar r92a-k þurfa að vera til staðar áður en breytan r96 eru reiknuð. * Missing gildum fækkað með því að bæta við flokkum. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 21. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. missing values s96 (). compute r96 = s96. val label r96 1 "Kjörinn fulltrúi, æðsti emb.maður/-kona eða æðsti stjórnandi" 2 "Sérfræðingur (með hásk.próf)" 3 "Sérmennt. starfsmaður (ekki með hásk.próf)" 4 "Skrifstofukona/-maður" 5 "Þjónustu-, sölu- eða afgreiðslukona/-maður" 6 "Bóndi" 7 "Sjómaður" 8 "Iðnaðarmaður" 9 "Sérhæfður iðnverkamaður" 10 "Bílstjóri, véla- eða vélgæslukona/-maður" 11 "Verkakona/-maður" 12 "Ég er í námi eingöngu" 13 "Ég er ekki í launaðri vinnu". recode r96 (14 thru 8910 = 9998). missing values r92b r92c (). if s96 = 9999 and any(r92b, 2, 3)and any(r92c, 2, 3) r96 = 14. if s96 = 9999 and any(r92b, 2, 3) and r92c = 9999 r96 = 14. if s96 = 9999 and r92b = 9999 and any(r92c, 2, 3) r96 = 14. if s96 = 9999 and (r92b = 1 or r92c = 1) r96 = 15. add val label r96 14 "Líklega ekki í launaðri vinnu" 15 "Líklega í launaðri vinnu". exe. missing values r96 (9998 9999). ** s97 --> r97. * Missing gildum fækkað með því að búa til flokk fyrir þá sem ekki eru í launaðri vinnu. * ATH breytan r96 þurfa að vera til staðar áður en breytan r97 er reiknuð. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. missing values s97a to s97m (). compute r97a = s97a. compute r97b = s97b. compute r97c = s97c. compute r97d = s97d. compute r97e = s97e. compute r97f = s97f. compute r97g = s97g. compute r97h = s97h. compute r97i = s97i. compute r97j = s97j. compute r97k = s97k. compute r97l = s97l. compute r97m = s97m. vector VINN97s = s97a to s97m. vector VINN97r = r97a to r97m. loop #i = 1 to 13. if VINN97s(#i) = 9999 and any(r96, 12, 13, 14) VINN97r(#i) = 0. end loop. var label r97a "Vinnuaðstæður - Er vinnuálagið svo ójafnt að verkefnin hlaðist upp?". var label r97b "Vinnuaðstæður - Verður þú að vinna aukavinnu?". var label r97c "Vinnuaðstæður - Verður þú að vinna á miklum hraða?". var label r97d "Vinnuaðstæður - Hefur þú of mikið að gera?". var label r97e "Vinnuaðstæður - Verður þú að gera eitthvað sem þér finnst að ætti að gera öðruvísi?". var label r97f "Vinnuaðstæður - Færð þú verkefni að leysa án þess að hafa nauðsynleg bjargráð (svo sem aðstoð eða aðbúnað) til þess?". var label r97g "Vinnuaðstæður - Gera tveir eða fleiri ósamræmanlegar kröfur til þín?". var label r97h "Vinnuaðstæður - Færð þú stuðning og hjálp með verkefni hjá vinnufélögum þínum ef á þarf að halda?". var label r97i "Vinnuaðstæður - Er næsti yfirmaður þinn fús til að hlusta á vandamál, sem við er að glíma í vinnunni, ef á þarf að halda?". var label r97j "Vinnuaðstæður - Metur næsti yfirmaður þinn það við þig þegar þú nærð árangri í starfi?". var label r97k "Vinnuaðstæður - Útdeilir næsti yfirmaður þinn verkefnum á hlutlægan og réttlátan hátt?". var label r97l "Vinnuaðstæður - Gætir næsti yfirmaður þinn réttlætis og jafnræðis í framkomu sinni við starfsmenn?". var label r97m "Vinnuaðstæður - Valda samskipti þín við næsta yfirmann þér streitu?". val label r97a to r97m 1 "Mjög sjaldan eða aldrei" 2 "Fremur sjaldan" 3 "Stundum" 4 "Fremur oft" 5 "Mjög oft eða alltaf" 0 "Ekki í launaðri vinnu". exe. missing values r97a to r97m (12 thru 9999). ** s98 --> r98. * Bætt við upplýsingum um þá sem líklega eru að svara "0 klst." á spurningum með því að sleppa að svara. * Ef einstaklingur svarar ">0 klst." á a.m.k einni spurningu (s98a-e) en svarar ekki hinum á hann líklega við NEI og fær því gildið 0 á þeim spurningum. * SPSS Skipanir fyrir meðhöndlun gagnasafns Heilsa og líðan Íslendinga 2007. * http://www.lydheilsustod.is/rannsoknir/heilsa-og-lidan-2007/ * Unnið af Jóni Óskari Guðlaugssyni og Stefáni H. Jónssyni. * 21. maí 2009. * S breytur alltaf óbreyttar. Gögn í r-breytum byggja á samsvarandi S-breytum og öðrum tengdum spurningum. missing values s98a to s98i (14 thru 9999). compute s98fjsj = nvalid(s98a to s98i). compute s98JA =0. compute s98NEI =0. vector s98SJ = s98a to s98i. loop #i = 1 to 9. if s98SJ(#i) gt 1 s98JA = s98JA + 1. if s98SJ(#i) = 1 s98NEI = s98NEI + 1. end loop. exe. compute JASV98 = 0. if s98fjsj ne 9 and s98NEI = 0 and s98JA ge 1 JASV98 = 1. exe. missing values s98a to s98i (). compute r98a = s98a. compute r98b = s98b. compute r98c = s98c. compute r98d = s98d. compute r98e = s98e. compute r98f = s98f. compute r98g = s98g. compute r98h = s98h. compute r98i = s98i. vector SP98 = s98a to s98i. vector RSP98 = r98a to r98i. loop #i = 1 to 9. if SP98(#i) = 9999 and JASV98 = 1 RSP98(#i) = 0. end loop. var label r98a "Hve mörgum klst. verð þú að jafnaði á viku í - Umönnun barna á heimili". var label r98b "Hve mörgum klst. verð þú að jafnaði á viku í - Umönnun annarra heimilismanna". var label r98c "Hve mörgum klst. verð þú að jafnaði á viku í - Önnur heimilisstörf". var label r98d "Hve mörgum klst. verð þú að jafnaði á viku í - Umönnun aldraðra utan heimilisins og utan vinnu". var label r98e "Hve mörgum klst. verð þú að jafnaði á viku í - Umönnun annarra utan heimilisins og utan vinnu". var label r98f "Hve mörgum klst. verð þú að jafnaði á viku í - Launaða vinnu á viku". var label r98g "Hve mörgum klst. verð þú að jafnaði á viku í - Nám (skólasókn og heimanám)". var label r98h "Hve mörgum klst. verð þú að jafnaði á viku í að - Horfa á sjónvarp, myndbönd eða mynddiska (DVD)". var label r98i "Hve mörgum klst. verð þú að jafnaði á viku í að - Nota tölvu í frítíma". val label r98a to r98i 0 "Líklega 0 klst." 1 "0 klst." 2 "<1 klst." 3 "1–3 klst." 4 "4–6 klst." 5 "7–10 klst." 6 "11–14 klst." 7 "15–19 klst." 8 "20–25 klst." 9 "26–29 klst." 10 "30–39 klst." 11 "40–49 klst." 12 "50–59 klst." 13 ">=60 klst.". exe. missing values r98a to r98i (14 thru 9999). missing values s98a to s98i (14 thru 9999).