Modelo de necesidades y lujos ESE-IPN Diplomado en Econometría Módulo II Fundamentos de Econometría Modelo de necesidades y lujos Juan Francisco Islas Agosto 11, 2017
Ejercicio 5.11 de POE4 use "http://www.principlesofeconometrics.com/poe4/data/stata/lond_small.dta",clear
Ejercicio 5.11 de POE4 * Ejercicio 5.11 POE4 clear program drop _all program define regresion regress y`1' ltotexp age nk matrix coef=e(b) matrix VCV=e(V) matrix estim[1,`1']=coef[1,4] matrix estim[2,`1']=sqrt(VCV[4,4]) matrix estim[3,`1']=2*ttail(e(N)-4,abs(estim[1,`1']/estim[2,`1'])) matrix estim[4,`1']=coef[1,1] matrix estim[5,`1']=sqrt(VCV[1,1]) matrix estim[6,`1']=2*ttail(e(N)-4,abs(estim[4,`1']/estim[5,`1'])) matrix estim[7,`1']=coef[1,2] matrix estim[8,`1']=sqrt(VCV[2,2]) matrix estim[9,`1']=2*ttail(e(N)-4,abs(estim[7,`1']/estim[8,`1'])) matrix estim[10,`1']=coef[1,3] matrix estim[11,`1']=sqrt(VCV[3,3]) matrix estim[12,`1']=2*ttail(e(N)-4,abs(estim[10,`1']/estim[11,`1'])) end use "http://www.principlesofeconometrics.com/poe4/data/stata/lond_small.dta",clear matrix estim=J(12,6,0) gen ltotexp=log(totexp) rename wfood y1 rename wfuel y2 rename wcloth y3 rename walc y4 rename wtrans y5 rename wother y6 for num 1/6: regresion X matrix list estim, f(%19.5f)
Ejercicio 5.11 de POE4
Ejercicio 5.11 de POE4
Ejercicio 5.11 de POE4
Ejercicio 5.11 de POE4