. gen princ=(faminc-ww*whrs)/1000. . probit lfp wa kl6 k618 we princ



Documentos relacionados
Universidad de la República, Facultad de Ciencias Económicas y Administración.

Clase Auxiliar Nº2 Economía de la Educación Lunes, 25 de Agosto, 2008.

En cada una de las tablas de esta sección se incluyen también los comandos de Stata con los cuales se obtuvo la información.

Estimar efectos parciales con margins

DESAFÍOS DE EQUIDAD Y PROTECCIÓN SOCIAL EN URUGUAY: TRABAJO, FAMILIA Y JUVENTUD. Fernando Filgueira UNFPA Uruguay

10 12 CAPÍTULO 10. MODELOS DE VARIABLE DEPENDIENTE DISCRETA

ANEXOS. 1) Modelo Probit.

Variables Parcialmente Continuas. Walter Sosa Escudero. Universidad de San Andr es

Guia Rapida Stata 5.0

CAPITAL HUMANO Y RENDIMIENTOS EDUCACIÓN

Alfabetismo funcional y calidad de vida en Chile. Dante Contreras

Measuring Poverty at the Municipal Level

DOCUMENTO DE TRABAJO. Evaluación de Impacto de las Capacitaciones Laborales en Chile, Análisis Regional y Sectorial. Felipe Kast.

Consejos Tributarios para la INDUSTRIA DE LA COSMETOLOGÍA Y PELUQUERÍA

ECONOMETRIA APLICADA NOTAS DATOS DE PANEL

Medición de la Movilidad Económica y Social

Guía de interpretaciones y comandos STATA en apoyo a la solución de algunos ejercicios de la tarea para el Examen Final con

Econometría III Examen. 29 de Marzo de 2012

Si tiene cualquier pregunta llame a su trabajadora de CCAP al número de teléfono indicado abajo. Boulder County Child Care Assistance Program

Universidad Capitán General Gerardo Barrios. Facultad de Ciencia y Tecnología

Universitat Pompeu Fabra Licenciatura de ADE y Economía Econometría I / 10143) Profesor: Javier Coronado Examen Final Diciembre 2011

Capitulo 4. Recursos, Ventaja Comparativa y Distribucion del Ingreso (Parte II)

STATA 6.0. Guía de utilización. Índice. MICROECONOMETRÍA Curso 2000/2001 Universidad Carlos III de Madrid

EMPLOYER & EMPLOYEE RETIREMENT PLAN TAX CREDITS

El Modelo de Selección de Heckman en gretl

Economía Ayudantía # 05: Ingreso Nacional e Inflación

Tema 5 MODELOS CENSURADOS, TRUNCADOS Y CON SELECCIÓN MUESTRAL

Macroeconomia 1 Clase 12 Empleo y desempleo

Hipótesis Alternativa: Afirmación sobre las posibles alternativas que se tienen a la afirmación hecha en la hipótesis nula.

Modelo 1: MCO, usando las observaciones 1994: :03 (T = 218) Variable dependiente: INFLACION

PRINTING INSTRUCTIONS

Estimación de una función de gasto en alimentos

Valor absoluto: Ecuaciones e Inecuaciones en una Variable Real

TUTORIAL DE PHP. M. en C. Erika Vilches. Parte 2.

Guía de servicios por Internet para empresas (BSO) para el Año Tributario 2014

Dinámica del Desempleo y el Empleo para Inmigrantes y. Efectos del ciclo económico y del subsidio por desempleo

Pruebas de. Hipótesis

b) Utilizando insheet Primeramente, hay que abrir el archivo conteniendo los datos en Excel y proceder a grabarlo nuevamente con la secuencia

CUESTIONARIO RESPONSABILIDAD CIVIL OPERACIONES & PRODUCTOS

STATA. Guía de utilización

El Abecedario Financiero

Aritmética finita y análisis de error

Sierra Security System

El modelo Ordinal y el modelo Multinomial

BOGOTA WATER FUND FINANCE SUMMARY

ANÁLISIS ESTADÍSTICO DE PORQUE LO JÓVENES EN LA ACTUALIDAD CONSUMEN ALCOHOL

Guía de servicios por Internet para empresas (BSO) para el Año Tributable 2014

Registro de Semilla y Material de Plantación

5. DISTRIBUCIONES DE PROBABILIDADES

Odds = = e. UD1: El modelo de regresión logística 1. 1 e

Student Eligibility Verification Advanced Placement/International Baccalaureate Test Fee Program

Modelos ordinales en gretl

Retiro de activos y el stock de capital bruto

Working Paper Series Economic Development. Econometrics. Faculty of Economics and Business. University of Santiago de Compostela No.

ES TU DINERO, ES TU FUTURO

El manual/instrucciones para la caja registradora Fabricado por Sean Roe y Zach Morris Universidad de Santa Clara

ANÁLISIS DISCRIMINANTE APLICADO AL PROBLEMA DE CREDIT SCORING

The annual rate of the HPI stands at 6.3% in the first quarter of 2016

Guía para el análisis de la ENSANUT Martín Romero Martínez Instituto Nacional de Salud Pública México 2012

ILUSTRACIÓN DEL PROBLEMA DE LA IDENTIFICABILIDAD EN LOS MODELOS MULTIECUACIONALES

Ejercicios. 1. Definir en Maxima las siguientes funciones y evaluarlas en los puntos que se indican:

ESTIMACIÓN. puntual y por intervalo

Financial Affidavit for Child Support, DC 6:5(2) Declaración Jurada de Finanzas para Manutención de Menores, DC 6:5(2).

SSTQB. Nivel Fundamentos. Examen ejemplo. Programa de estudios 2010

Detergente Lavad.1 Lavad.2 Lavad.3 Media A B C D Media

Calculadora ClassPad

Portal para Padres CPS - Parent Portal. Walter L. Newberry Math & Science Academy Linda Foley-Acevedo, Principal Ed Collins, Asst.

Reformas a la Seguridad Social en México: Para Quién? Santiago Levy

Gabriela Melina González Astudillo 1, Ricardo Andrés Iturralde Orellana 2, Daniel Eduardo Lemus Sares 3. Finanzas.

MANUAL EASYCHAIR. A) Ingresar su nombre de usuario y password, si ya tiene una cuenta registrada Ó

Grado en Finanzas y Contabilidad

Análisis de Tablas de Contingencia:Capítulo 2 Modelos Log-lineales

Diagnósticos regresión

CAPÍTULO 10 Aplicaciones de la Derivada a Funciones Económicas

EJERCICIOS CAPITULO 9. GUJARATI-PORTER (2010)

Dinámica de la pobreza, mercado de trabajo y políticas públicas en América Latina

Sesión 8 - Modelos con datos de conteo

Child Care Assistance Program Búsqueda de Trabajo

(A) Primer parcial. si 1 x 1; x 3 si x>1. (B) Segundo parcial

Temario: Curso de Stata Capacitación

Ejemplos de conversión de reales a enteros

EVALUACIÓN N DE LA VALIDEZ DE PRUEBAS DIAGNÓSTICAS

5- Uso de sentencias avanzadas

I understand that I must request that this waiver be reconsidered annually, each school year. Parent/Guardian Signature: Date:

Análisis de Regresión Múltiple con Información Cualitativa: Variables Binarias o Ficticias

DATA MINING EN LA BASE DE DATOS DE LA OMS KNOWLEDGE DETECTION (DETECCIÓN DEL CONOCIMIENTO) Q.F.B. JUANA LETICIA RODRÍGUEZ Y BETANCOURT

Sistema Escolar, Comportamiento Democrático y Convivencia

a. Viva a más de 3 millas del centro de la ciudad dado que la persona cambiaria a transportación publica.

Diseño ergonómico o diseño centrado en el usuario?

Guía de servicios por Internet para empresas (BSO) para el Año Tributable 2014


Guía paso a paso para el uso de CengageNOW


Este procedimiento también crea una escala cusum grafica para datos individuales monitoreando la variabilidad del proceso.

INCIDENCIA Y MORTALIDAD POR CANCER COHORTES Y ETNIAS. Resultados Preliminares del Trabajo Maestría en Epidemiología i Universidad del valle, 2008

EJEMPLO. Práctica de clustering

CAEI Ref# BSB51107 F. Skills Reform Government Subsidised place fee. SA Full Fee Paying Tuition fee. NSW, QLD, VIC Full Fee Paying Tuition fee

Vamos a Multiplicar Al estilo maya!

Aplicación de los modelos de credit scoring para instituciones microfinacieras.

TO GET THIS... YOU NEED TO DO THIS...

Transcripción:

UCEMA ECONOMETRIA APLICADA - Probit- El archivo MROZ.xls tiene datos de un un estudio clásico donde se trata de estimar una ecuación de salarios para mujeres. La primer etapa del estudio es determinar la probabilidad de participación de la mujer en el mercado laboral. Estime un modelo probit de selección y discuta la especificación y resultados. La data basica es: THE MROZ DATA FILE IS TAKEN FROM THE 1976 PANEL STUDY OF INCOME DYNAMICS, AND IS BASED ON DATA FOR THE PREVIOUS YEAR, 1975. OF THE 753 OBSERVATIONS, THE FIRST 428 ARE FOR WOMEN WITH POSITIVE HOURS WORKED IN 1975, WHILE THE REMAINING 325 OBSERVATIONS ARE FOR WOMEN WHO DID NOT WORK FOR PAY IN 1975. A MORE COMPLETE DISCUSSION OF THE DATA IS FOUND IN MROZ [1987], APPENDIX 1. THE DATA SET CONSISTS OF 753 OBSERVATIONS ON 19 VARIABLES: 1. LFP A dummy variable = 1 if woman worked in 1975, else 0 2. WHRS Wife's hours of work in 1975 3. KL6 Number of children less than 6 years old in household 4. K618 Number of children between ages 6 and 18 in household 5. WA Wife's age 6. WE Wife's educational attainment, in years 7. WW Wife's average hourly earnings, in 1975 dollars 8. RPWG Wife's wage reported at the time of the 1976 interview (not the same as the 1975 estimated wage). To use the subsample with this wage, one needs to select 1975 workers with LFP=1, then select only those women with non-zero RPWG. Only 325 women work in 1975 and have a non-zero RPWG in 1976. 9. HHRS Husband's hours worked in 1975 10. HA Husband's age 11. HE Husband's educational attainment, in years 12. HW Husband's wage, in 1975 dollars 13. FAMINC Family income, in 1975 dollars. This variable is used to construct the property income variable. 14. MTR This is the marginal tax rate facing the wife, and is taken from published federal tax tables (state and local income taxes are excluded). The taxable income on which this tax rate is calculated includes Social Security, if applicable to wife. 15. WMED Wife's mother's educational attainment, in years 16. WFED Wife's father's educational attainment, in years 17. UN Unemployment rate in county of residence, in percentage points. This taken from bracketed ranges. 18. CIT Dummy variable = 1 if live in large city (SMSA), else 0 19. AX Actual years of wife's previous labor market experience. gen princ=(faminc-ww*whrs)/1000. probit lfp wa kl6 k618 we princ Iteration 0: log likelihood -514.8732 = Iteration 1: log likelihood -455.5718 = Iteration 2: log likelihood -454.22718 = Iteration 3: log likelihood -454.22535 = Probit regression Number of obs = 753 LR chi2(5) = 121.30 Prob > chi2 = 0.0000 Log likelihood -454.22535 = Pseudo R2 = 0.1178 lfp Coef. Std. Err. z P> z [95% Conf. Interval] wa -.0344388.0075772-4.55 0.000 -.0492898 -.0195878 kl6 -.8921749.1144317-7.80 0.000-1.116457 -.6678929 k618 -.0377001.0404322-0.93 0.351 -.1169457.0415455 we.1558378.0239 6.52 0.000.1089946.2026809 princ -.0209234.0045833-4.57 0.000 -.0299066 -.0119403 _cons.4224.4726394 0.89 0.371 -.5039563 1.348756

ECONOMETRIA APLICADA UCEMA Ejemplos Estimación con Truncamiento y Censura Usamos datos de un ejemplo de Mroz THE MROZ DATA FILE IS TAKEN FROM THE 1976 PANEL STUDY OF INCOME DYNAMICS, AND IS BASED ON DATA FOR THE PREVIOUS YEAR, 1975. OF THE 753 OBSERVATIONS, THE FIRST 428 ARE FOR WOMEN WITH POSITIVE HOURS WORKED IN 1975, WHILE THE REMAINING 325 OBSERVATIONS ARE FOR WOMEN WHO DID NOT WORK FOR PAY IN 1975. A MORE COMPLETE DISCUSSION OF THE DATA IS FOUND IN MROZ [1987], APPENDIX 1. THE DATA SET CONSISTS OF 753 OBSERVATIONS ON 19 VARIABLES: 1. LFP A dummy variable = 1 if woman worked in 1975, else 0 2. WHRS Wife's hours of work in 1975 3. KL6 Number of children less than 6 years old in household 4. K618 Number of children between ages 6 and 18 in household 5. WA Wife's age 6. WE Wife's educational attainment, in years 7. WW Wife's average hourly earnings, in 1975 dollars 8. RPWG Wife's wage reported at the time of the 1976 interview (not the same as the 1975 estimated wage). To use the subsample with this wage, one needs to select 1975 workers with LFP=1, then select only those women with non-zero RPWG. Only 325 women work in 1975 and have a non-zero RPWG in 1976. 9. HHRS Husband's hours worked in 1975 10. HA Husband's age 11. HE Husband's educational attainment, in years 12. HW Husband's wage, in 1975 dollars 13. FAMINC Family income, in 1975 dollars. This variable is used to construct the property income variable. 14. MTR This is the marginal tax rate facing the wife, and is taken from published federal tax tables (state and local income taxes are excluded). The taxable income on which this tax rate is calculated includes Social Security, if applicable to wife. 15. WMED Wife's mother's educational attainment, in years 16. WFED Wife's father's educational attainment, in years 17. UN Unemployment rate in county of residence, in percentage points. This taken from bracketed ranges. 18. CIT Dummy variable = 1 if live in large city (SMSA), else 0 19. AX Actual years of wife's previous labor market experience Para ilustrar el problema de truncamiento podemos estimar un modelo donde las horas trabajadas sean función de kl6, k618, wa y we. Si ignoramos el problema de truncamiento y estimamos por OLS: regress whrs kl6 k618 wa we if whrs>0 podemos reestimar usando el comando truncreg teniendo en cuenta que hay observaciones en cero truncreg whrs kl6 k618 wa we if whrs, ll(0)

Los resultados de la estimación por OLS están sesgados hacia abajo. No pueden usarse para hacer inferencia. Censura: Tobit Podemos estimar un modelo para explicar el salario anual en función de wa kl6 k618 we Primero calculamos el salario anual gen wwa=(ww*whrs) reemplazamos los missings por cero replace wwa=0 if ww==0 regress ww wa kl6 k618 we Luego estimamos como un tobit, especificando que lww está censurada en cero ll(0) tobit wwa wa kl6 k618 we, ll(0) Podemos calcular los efectos marginales sobre probabilidad de tener un salario positivo mfx compute, predict (pr(0,.)) Luego podemos calcular el efecto de cada variable en el log del salario dado que el individuo no ha sido censurado mfx compute, predict (e(0,.))

ECONOMETRIA APLICADA UCEMA Estimacion de una ecuacion de salarios con sesgo de selección Método de Heckman El archivo tiene datos de un ejemplo de Mroz, un estudio clásico donde se trata de estimar una ecuación de salarios para mujeres La primer etapa sería un probit de selección y la segunda un ols La data basica es: THE MROZ DATA FILE IS TAKEN FROM THE 1976 PANEL STUDY OF INCOME DYNAMICS, AND IS BASED ON DATA FOR THE PREVIOUS YEAR, 1975. OF THE 753 OBSERVATIONS, THE FIRST 428 ARE FOR WOMEN WITH POSITIVE HOURS WORKED IN 1975, WHILE THE REMAINING 325 OBSERVATIONS ARE FOR WOMEN WHO DID NOT WORK FOR PAY IN 1975. A MORE COMPLETE DISCUSSION OF THE DATA IS FOUND IN MROZ [1987], APPENDIX 1. THE DATA SET CONSISTS OF 753 OBSERVATIONS ON 19 VARIABLES: 1. LFP A dummy variable = 1 if woman worked in 1975, else 0 2. WHRS Wife's hours of work in 1975 3. KL6 Number of children less than 6 years old in household 4. K618 Number of children between ages 6 and 18 in household 5. WA Wife's age 6. WE Wife's educational attainment, in years 7. WW Wife's average hourly earnings, in 1975 dollars 8. RPWG Wife's wage reported at the time of the 1976 interview (not the same as the 1975 estimated wage). To use the subsample with this wage, one needs to select 1975 workers with LFP=1, then select only those women with non-zero RPWG. Only 325 women work in 1975 and have a non-zero RPWG in 1976. 9. HHRS Husband's hours worked in 1975 10. HA Husband's age 11. HE Husband's educational attainment, in years 12. HW Husband's wage, in 1975 dollars 13. FAMINC Family income, in 1975 dollars. This variable is used to construct the property income variable. 14. MTR This is the marginal tax rate facing the wife, and is taken from published federal tax tables (state and local income taxes are excluded). The taxable income on which this tax rate is calculated includes Social Security, if applicable to wife. 15. WMED Wife's mother's educational attainment, in years 16. WFED Wife's father's educational attainment, in years 17. UN Unemployment rate in county of residence, in percentage points. This taken from bracketed ranges. 18. CIT Dummy variable = 1 if live in large city (SMSA), else 0 19. AX Actual years of wife's previous labor market experience Además de variables generadas El ingreso no generado por la mujer en la flia gen princ=(faminc-ww*whrs)/1000 La edad al cuadrado: gen wasq=wa*wa La experiencia al cuadrado gen axsq=ax*ax El log del salario

gen lww=log(ww) Todas las variables estan en la base **La ecuacion de seleccion es un probit: probit lfp princ we ax axsq wa kl6 k618 **La de salarios un OLS con el IMR (hazard) para corregir el sesgo regress lww we ax axsq imr **A partir del probit se puede calcular la inversa del ratio de Mills (IMR), o como lo llama tambien stata el Non selection hazard H(z) = f(z) / (1 F(z)), (donde f() es la density y F() es la acumulada, evaluadas en cada punto de la muestra y el z es el forecast en indice del probit) El Mills es 1 / H(z), Entonces la inversa del Mills (IMR) es el hazard Todo esto se puede hacer junto con el comando heckman en dos etapas La sintaxis es: heckman lww we ax axsq, twostep select(lfp=princ we ax axsq wa kl6 k618 ) first nshazard(imr) La expresión es bastante intuitiva: - primero esta el ols - despues el two step indica que es por dos etapas (no por max verosimilitud que es la opción por defecto) - luego la ecuacion de selección entre paréntesis (el probit) - el first es para reportar la primera etapa (el probit) - el nshazard lo guarda en la variable imr Para confirmar el procedimiento, es posible hacer primero un probit y luego el ols usando el imr como variable adicional. Para calcular el IMR a mano partiendo del Probit Estimar el probit probit lfp princ we ax axsq wa kl6 k618 predecir el valor del indice (los xb) predict lfp_index, xb

Generar el IMR como cociente de la función de densidad (f()) y la acumulada (F()) gen imr=(normalden(lfp_index))/(normal(lfp_index)) o alternativamente (deberia dar lo mismo por las propiedades de las func de densidad y acum): gen imr=(normalden(-lfp_index))/(1-(normal(-lfp_index))) correr la regresion utilizando el imr como regresor adicional regress lww we ax axsq imr ****