6
Estimación de PMC por MCNL William Greene, Econometric Analysis, 6th. ed.

Estimación de PMC por MCNL William Greene, Econometric Analysis, 6th. ed

Embed Size (px)

Citation preview

Estimación de PMC por MCNL

William Greene, Econometric Analysis, 6th. ed.

Estimación de PMC por MCNL

clearlog using "C:\ENIGH 2012 Tradicional\Estimación PMC por MCNL.txt", replace* Objetivo: Estimar la Propensión Marginal a Consumir para México bajo los modelos keynesiano lineal y no lineal* Fuente: microdatos de la ENIGH 2012 tradicional del INEGIdrop _allscalar drop _allprogram drop _allset mem 200m* Base Nacional y Entidades Federativasuse "C:\ENIGH 2012 Tradicional\Concen.dta",clearsort ing_monprogram define percentiles gen double pi =sum(factor) gen double ppi=pi/pi[_N] gen double qi =sum(ing_mon*factor) gen double qqi=qi/qi[_N] gen percentil = 0 for num 1/100:replace percentil=X if ppi>((X-1)/100) & ppi<=(X/100) end percentiles

Estimación de PMC por MCNL

gen i=1table i [iw=factor],c(sum ing_mon sum gasto_mon sum transf_esp sum transf_hog ) f(%19.2f) rowsum ing_monscalar xmean=r(mean)generate double consumo = gasto_mon - transf_gasreg consumo ing_mongen lc=log(consumo )gen ly=log(ing_mon)reg lc lynl (gasto_mon = {alpha} + {beta} * ing_mon ^ {gamma}), initial(alpha 1 beta 1 gamma 1)testnl _b[/gamma]==1test _b[gamma:_cons]==1sum ing_mon scalar xmean=r(mean)scalar pmcnl=_b[gamma:_cons] *_b[beta:_cons]*xmean^(_b[gamma:_cons] - 1 )display "PMC=", pmcnl collapse (mean) ing_mon (mean) consumo, by(percentil)

Estimación de PMC por MCNL

gen pmcnl=_b[gamma:_cons] *_b[beta:_cons]*ing_mon^(_b[gamma:_cons] - 1 )format pmcnl %6.4ftable percentil, c(mean ing_mon mean consumo mean pmcnl) f(%19.2f) row

scatter pmcnl percentil, c(l) lcolor(yellow) xlabel(0(10)100,grid labsize(small)) ylabel(0.4(0.1)1.6, grid format(%3.1f) labsize(small)) msize(vsmall) mlabel(pmcnl) mlabsize(tiny) mlabangle(vertical) mlabposition(1) title("Propensión Marginal al Consumo por Percentil") t2title("(percentiles de hogares ordenados por su ingreso corriente monetario)") note("Fuente: Elaboración con microdatos de la ENIGH 2012T del INEGI") xtitle("Percentil (Percentil 10=Decil 1, Percentil 90=Decil 9)") ytitle("Propensión Marginal a Consumir") saving("C:\ENIGH 2012 Tradicional\PMC_MCNL.gph", replace)

log close

Estimación de PMC por MCNL

edit

Estimación de PMC por MCNL

1.62

491.

3100

1.22

571.

1645

1.12

361.

0881

1.05

681.

0327

1.01

380.

9985

0.98

160.

9660

0.95

290.

9410

0.93

000.

9211

0.91

120.

9006

0.89

290.

8849

0.87

940.

8720

0.86

580.

8592

0.85

260.

8468

0.84

150.

8341

0.82

820.

8248

0.82

140.

8147

0.80

810.

8028

0.79

720.

7923

0.78

860.

7838

0.78

000.

7761

0.77

130.

7677

0.76

340.

7591

0.75

450.

7518

0.74

890.

7449

0.74

120.

7371

0.73

290.

7291

0.72

610.

7227

0.71

950.

7162

0.71

300.

7090

0.70

520.

7026

0.69

850.

6946

0.69

040.

6863

0.68

330.

6790

0.67

510.

6711

0.66

830.

6641

0.66

070.

6570

0.65

350.

6480

0.64

380.

6409

0.63

650.

6325

0.62

700.

6215

0.61

700.

6120

0.60

820.

6032

0.59

880.

5937

0.58

790.

5823

0.57

470.

5687

0.56

200.

5543

0.54

530.

5356

0.52

490.

5134

0.50

180.

4882

0.46

470.

3976

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1.1

1.2

1.3

1.4

1.5

1.6

Pro

pen

sió

n M

arg

inal

a C

onsu

mir

0 10 20 30 40 50 60 70 80 90 100Percentil (Percentil 10=Decil 1, Percentil 90=Decil 9)

(percentiles de hogares ordenados por su ingreso corriente monetario)

Fuente: Elaboración con microdatos de la ENIGH 2012T del INEGI

Propensión Marginal al Consumo por Percentil