* RUTINA SPSS PARA ESTABLECER NSE. * Oscar Muraro - Noviembre 2006 - Corregido 19 de Abril 2007 . * Correcciones Enero 2011: -Parche en el algoritmo de NSE para PSH desocupado -Se agregó NSE condensado D2 con E . * ACLARACIONES: Las definiciones de las variables y sus categorías están al final -Variable NSE debe variar entre 1 y 7; NSE = 99 es señal de que hay un dato erróneo/faltante -Variable NSE2 varía entre 1 y 6 (condensa AB con C1) -Variable NSE3 varía entre 2 y 6 (condensa D2 con E; además AB con C1) . * Quienes opten por omitir la detección de indigentes deberían usar ésta última, además eliminar las sentencias correspondientes (líneas 799 a 801) . * La variable intermedia tempo1 se puede eliminar después del proceso. * Calcula proporción de aportantes - Si se desconoce algún dato asume proporción intermedia (pap = 2). COMPUTE tempo1 = 100 * capor / cper . COMPUTE pap = 2 . EXECUTE . IF (tempo1 <= 40) pap = 1 . IF (tempo1 >= 70) pap = 3 . EXECUTE . IF (capor = 99 | cper = 99) pap = 2 . EXECUTE . ** ALGORITMO NSE. COMPUTE nse = 99 . EXECUTE . * EMPLEADOS actualmente ocupados . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 1 & (cantpers = 1 | cantpers = 9)) . /* Directivos hasta 5 pers + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 1 & cantpers = 2) . /* Directivos 6-40 pers + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 1 & cantpers = 3) . /* Directivos 41-200 pers + IF (ned = 4 & pap = 1) nse = 6 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 7 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 6 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 5 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 6 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 1 & cantpers = 4) . /* Directivos más 200 pers + IF (ned = 4 & pap = 1) nse = 6 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 7 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 6 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 5 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 6 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . EXECUTE . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & (cantpers = 1 | cantpers = 9) & c_medica = 1) . /* Jefes hasta 5 pers con cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & (cantpers = 1 | cantpers = 9) & c_medica > 1) . /* Jefes hasta 5 pers sin cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & cantpers = 2 & c_medica = 1) . /* Jefes 6-40 pers con cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & cantpers = 2 & c_medica > 1) . /* Jefes 6-40 pers sin cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & cantpers = 3 & c_medica = 1) . /* Jefes 41-200 pers con cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & cantpers = 3 & c_medica > 1) . /* Jefes 41-200 pers sin cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & cantpers = 4 & c_medica = 1) . /* Jefes más 200 pers con cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 2 & cantpers = 4 & c_medica > 1) . /* Jefes más 200 pers sin cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . EXECUTE . * Trabajadores Profesionales. DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 1 & c_medica = 1) . /* Con cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 1 & c_medica > 1) . /* Sin cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . EXECUTE . * Trabajadores Técnicos. DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 2 & c_medica = 1) . /* Con cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 2 & c_medica > 1) . /* Sin cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . EXECUTE . * Trabajadores Operativos. DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 3 & c_medica = 1) . /* Con cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 3 & c_medica > 1) . /* Sin cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . EXECUTE . * Trabajadores No calificados. DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 4 & c_medica = 1) . /* Con cob.médica + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (cat_ocup >= 2 & cat_ocup <= 6 & categ = 3 & calif = 4 & c_medica > 1) . /* Sin cob.médica + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . EXECUTE . * EMPLEADORES actualmente ocupados . DO IF (cat_ocup = 1 & (cantpers = 1 | cantpers = 9)) . /* Hasta 5 pers + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup = 1 & cantpers = 2) . /* 6 a 40 pers + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup = 1 & cantpers = 3) . /* 41 a 200 pers + IF (ned = 4 & pap = 1) nse = 6 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 7 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 6 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 5 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 6 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup = 1 & cantpers = 4) . /* Más de 200 pers + IF (ned = 4 & pap = 1) nse = 6 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 7 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 6 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 5 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 6 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . EXECUTE . * CUENTA PROPIA actualmente ocupados . DO IF (cat_ocup = 7 & calif = 1 & intens = 1 & c_medica = 1) . /* Profesional ocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 6 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 6 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 5 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 6 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup = 7 & calif = 1 & intens = 1 & c_medica > 1) . /* Profesional ocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 5 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup = 7 & calif = 1 & intens > 1 & c_medica = 1) . /* Profesional subocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup = 7 & calif = 1 & intens > 1 & c_medica > 1) . /* Profesional subocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup = 7 & calif = 2 & intens = 1 & c_medica = 1) . /* Técnico ocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (cat_ocup = 7 & calif = 2 & intens = 1 & c_medica > 1) . /* Técnico ocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup = 7 & calif = 2 & intens > 1 & c_medica = 1) . /* Técnico subocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_ocup = 7 & calif = 2 & intens > 1 & c_medica > 1) . /* Técnico subocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . EXECUTE . DO IF (cat_ocup = 7 & calif = 3 & intens = 1 & c_medica = 1) . /* Operativo ocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (cat_ocup = 7 & calif = 3 & intens = 1 & c_medica > 1) . /* Operativo ocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (cat_ocup = 7 & calif = 3 & intens > 1 & c_medica = 1) . /* Operativo subocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (cat_ocup = 7 & calif = 3 & intens > 1 & c_medica > 1) . /* Operativo subocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 2 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 3 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 2 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . DO IF (cat_ocup = 7 & calif = 4 & intens = 1 & c_medica = 1) . /* No calificado ocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (cat_ocup = 7 & calif = 4 & intens = 1 & c_medica > 1) . /* No calificado ocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (cat_ocup = 7 & calif = 4 & intens > 1 & c_medica = 1) . /* No calificado subocupado con cob.médica + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . DO IF (cat_ocup = 7 & calif = 4 & intens > 1 & c_medica > 1) . /* No calificado subocupado sin cob.médica + IF (ned = 4 & pap = 1) nse = 2 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 3 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 2 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 1 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 2 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 1 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . EXECUTE . * DESOCUPADOS. DO IF (estado = 2 & cat_ocup = 7 & calif = 1) . /* Desocupado Cuenta propia - Profesional + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (estado = 2 & cat_ocup = 7 & calif = 2) . /* Desocupado Cuenta propia - Técnico + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (estado = 2 & cat_ocup = 7 & calif = 3) . /* Desocupado Cuenta propia - Operativo + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . DO IF (estado = 2 & cat_ocup = 7 & calif = 4) . /* Desocupado Cuenta propia - No calificado + IF (ned = 4 & pap = 1) nse = 2 . + IF (ned = 4 & pap = 2) nse = 2 . + IF (ned = 4 & pap = 3) nse = 3 . + IF (ned = 3 & pap = 1) nse = 1 . + IF (ned = 3 & pap = 2) nse = 2 . + IF (ned = 3 & pap = 3) nse = 2 . + IF (ned = 2 & pap = 1) nse = 1 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 2 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 1 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . EXECUTE . DO IF (estado = 2 & cat_ocup >= 2 & cat_ocup <= 6 & categ = 1) . /* Desocupado Empleado - Directivo + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . DO IF (estado = 2 & cat_ocup >= 2 & cat_ocup <= 6 & categ = 2) . /* Desocupado Empleado - Jefe + IF (ned = 4 & pap = 1) nse = 3 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 4 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 3 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . DO IF (estado = 2 & cat_ocup >= 2 & cat_ocup <= 6 & categ = 3) . /* Desocupado Empleado - Trabajador + IF (ned = 4 & pap = 1) nse = 2 . + IF (ned = 4 & pap = 2) nse = 3 . + IF (ned = 4 & pap = 3) nse = 3 . + IF (ned = 3 & pap = 1) nse = 2 . + IF (ned = 3 & pap = 2) nse = 2 . + IF (ned = 3 & pap = 3) nse = 3 . + IF (ned = 2 & pap = 1) nse = 1 . + IF (ned = 2 & pap = 2) nse = 2 . + IF (ned = 2 & pap = 3) nse = 2 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 1 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . DO IF (estado = 2 & cat_ocup = 1) . /* Desocupado Empleador + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 4 . + IF (ned = 1 & pap = 2) nse = 4 . + IF (ned = 1 & pap = 3) nse = 5 . END IF . EXECUTE . * INACTIVOS. DO IF (estado = 3) . /* Jubilados y pensionados + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 3 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 4 . + IF (ned = 2 & pap = 1) nse = 2 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 3 . + IF (ned = 1 & pap = 1) nse = 1 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 2 . END IF . DO IF (cat_inac = 1 & c_medica = 1) . /* rentistas con cob.médica + IF (ned = 4 & pap = 1) nse = 6 . + IF (ned = 4 & pap = 2) nse = 6 . + IF (ned = 4 & pap = 3) nse = 7 . + IF (ned = 3 & pap = 1) nse = 6 . + IF (ned = 3 & pap = 2) nse = 6 . + IF (ned = 3 & pap = 3) nse = 7 . + IF (ned = 2 & pap = 1) nse = 5 . + IF (ned = 2 & pap = 2) nse = 5 . + IF (ned = 2 & pap = 3) nse = 6 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_inac = 1 & c_medica > 1) . /* rentistas sin cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 5 . + IF (ned = 3 & pap = 2) nse = 5 . + IF (ned = 3 & pap = 3) nse = 6 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_inac >= 2 & cat_inac <= 3 & c_medica = 1) . /* Otros inactivos con cob.médica + IF (ned = 4 & pap = 1) nse = 5 . + IF (ned = 4 & pap = 2) nse = 5 . + IF (ned = 4 & pap = 3) nse = 6 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 4 . + IF (ned = 2 & pap = 2) nse = 4 . + IF (ned = 2 & pap = 3) nse = 5 . + IF (ned = 1 & pap = 1) nse = 3 . + IF (ned = 1 & pap = 2) nse = 3 . + IF (ned = 1 & pap = 3) nse = 4 . END IF . DO IF (cat_inac >= 2 & cat_inac <= 3 & c_medica > 1) . /* Otros inactivos sin cob.médica + IF (ned = 4 & pap = 1) nse = 4 . + IF (ned = 4 & pap = 2) nse = 4 . + IF (ned = 4 & pap = 3) nse = 5 . + IF (ned = 3 & pap = 1) nse = 4 . + IF (ned = 3 & pap = 2) nse = 4 . + IF (ned = 3 & pap = 3) nse = 5 . + IF (ned = 2 & pap = 1) nse = 3 . + IF (ned = 2 & pap = 2) nse = 3 . + IF (ned = 2 & pap = 3) nse = 4 . + IF (ned = 1 & pap = 1) nse = 2 . + IF (ned = 1 & pap = 2) nse = 2 . + IF (ned = 1 & pap = 3) nse = 3 . END IF . EXECUTE . * DETECTA INDIGENTES ELIMINAR las 3 líneas siguientes si se opta por no detectarlos . IF (banio = 2) nse = 1 . IF (cat_inac = 4) nse = 1 . EXECUTE . ** Condensa ABC1 . COMPUTE nse2 = nse . IF (nse = 7) nse2 = 6 . EXECUTE . ** Condensa D2E . COMPUTE nse3 = nse2 . IF (nse2 = 1) nse3 = 2 . EXECUTE . * Definición de variables utilizadas. VARIABLE LABELS pap 'Proporción de aportantes en el hogar' ned 'Nivel educativo' estado 'Situación ocupacional' cat_inac 'Categoría de inactividad' cat_ocup 'Modalidad de ocupación' categ 'Jerarquía laboral' calif 'Calificación laboral' cantpers 'Cantidad de personas que se desempeñan en la empresa u organización' intens 'Intensidad laboral' c_medica 'Cobertura médica' banio 'Poseen baño propio en la vivienda' nse 'NSE' nse2 'NSE' nse3 'NSE' . VALUE LABELS pap 1 'Hasta 40%' 2 '41% a 69%' 3 '70% y más' / ned 1 'Sin estudios / Primaria incompleta' 2 'Primaria completa / Secundaria incompleta' 3 'Secundaria completa / Terciaria o Univ. incompleta' 4 'Terciaria o Univ. completa' / estado 1 'Trabaja' 2 'Desocupado' 3 'Jubilado - pensionado' 4 'Otros inactivos' / cat_inac 1 'Rentista' 2 'Becario' 3 'Recibe dinero de familiares o allegados' 4 'Pensionado' 5 'Jubilado' 6 'Desocupado' 7 'Subsidiado (Plan Jefes o similar)' / cat_ocup 1 'Empleador (dueño o socio)' 2 'Empleado de una institución social o de bien público' 3 'Empleado de una empresa privada' 4 'Con una persona que le da trabajo' 5 'En casas de familias' 6 'Empleado público' 7 'Por cuenta propia, sin empleados' / categ 1 'Directivo' 2 'Jefe' 3 'Trabajador' / calif 1 'Profesional' 2 'Técnico' 3 'Operativo' 4 'No calificado' / cantpers 1 'Hasta 5 personas' 2 'Entre 6 y 40' 3 'Entre 41 y 200' 4 'Más de 200' 9 'No sabe - No contesta' / intens 1 '35 horas semanales y más' 2 'Menos de 35 horas semanales' 9 'No sabe - No contesta' / c_medica 1 'Tiene' 2 'No tiene' 9 'No sabe - No contesta' / banio 1 'Tiene' 2 'No tiene' / nse 1 'E' 2 'D2' 3 'D1' 4 'C3' 5 'C2' 6 'C1' 7 'AB' / nse2 1 'E' 2 'D2' 3 'D1' 4 'C3' 5 'C2' 6 'ABC1' / nse3 2 'D2E' 3 'D1' 4 'C3' 5 'C2' 6 'ABC1' / .