Professional Documents
Culture Documents
Wegene Auteta Picture
Wegene Auteta Picture
Octaber 2016
This GAMS code was prepared by Veroni que Robichaud. This basic cGE model is
taken from Decal uwe, B., A. Martens and L. Savard (2001), " La politique
CALIBRATION
AGR agriculture
services
lic administrations/
agre LCulture
SER ng
BNS (TR) Go0as
Aa gELculture
H Households
ALTAS (,3)
PARAEET ER
A (tr)
aij (tr,
a (tr)
io (i)
lambda
mu(tr
psi (h)
hare
3nare or ComodEy E tota nveset expendtures
Lncome receivea
cap
apitalists
tyh (h)
v()
co (tr, h)
CIO(j)
DIO(tr, 3
DITO (tr)
INVO (tr)
KDO (tr)
KSO (tr)
LDO ()
LSO
VAO ()
XSO (j)
Output of industry i
PriceS
PO (i)
PCIO ()
PDO (tr)
PVAO ()
RO (tr)
WO
Wage rate
DIVO
DTFO
DTHO (h)
GO
ITO
SFO
SGO
SHO (h)
TGO
TIO (tr)
YDHO (h)
YFO
YGO
YHO (h)
Dividends
Total investment
Business 3avings
Government savings
Business income
Government income
Income of type h househo l ds
Initial data
PARAMETER
SGDXIN AUTETA.gdx
SLOAD SAM
SGDXIN
Assignment ot Variabie
DIVO
ITO
SAMO M
SAM(OTHTOTAG IRM")
SHO (h)
HO (h)
SAM(THTOTAGh)
CAMaGEAT AGGUT
-SAM('AG, GVT , 'AG', h)
DTHO (h)
DTPO
TIO (tr
sGO
SAM(AG GV AGPRM")
-SAM("AG maGGVT')
Ehe SAM. Later on, we i1 divide this value by the correspondii ng price.
h)
SA tOHACC
IO(1 (tr,j)
LNYOTE
LuDO3
Pric
WO
computatzon ot varlanies in Volume
XSO(
For other volumes , we must first compu te the price including taxes.
tr)
the
+(tr)
DO (tr)
Co (tE
DIO (tr,j)
Calibration or otne
variab
es
LSO
KSO (t
KDO (tE)
(tr
VAO (tr))
VAO('pub')
PVAO"Pub)
LDOPub')
WOP
PCIO ()
YDHO (h)
CTHO (h)
*Production Cal1br
Opaane ters
pha (tr)
io()
aij (tr,1
D2StrDuton Param
gamma (tr, h)
Lambda
psi (h)
YHO (h)
THO (h)
-DTFO/YFO:
Parameters to be displayed 1n the output tile
*MODEL
rinition of variables
ARIABLEs
C(tr,n
in industry 3
N(E
KD(EE
LS
VA
tput or industrY J
cs
industry 3
PD (tr)
FVA
*ay
DIV
DTF
DTH (h)
Total inv
Business savingS
Sovernment av
TT
SG
SH (h)
TI (tr)
YDH (n)
me of type h householas
YH (h)
Other Varia4e
LEON
EQUATIONS
Value added demand in industry
(Leontief)
VAEQ (tr)
KDEO (tr)
LDPEQ
DIEQ (tr,j3
xSEQ (j).
cIEQ()
VA (tr) we= A(tr) *LD(tr) **alpha (tr) *xD (tr) ** (1-alpha (tr))
VAEQ (tr).
LDEQ (Er)
KDEQ (tr)..
LDPEQ.
QUATIONS
Houseno
(capitalists)
Disposable income
Housenold h savings
Consumptlon Dudget
i rms
Government income
YDHEQ( (h)
savings
SFEQ
YGEQ
TIEQ (tr)
DTHEQ (h)
Government savings
IHSB -
HCE.
YDHEQ (h) .
SHEQ (h)..
CTHEQ (h).
sFEQ.-
YGE
IEQ (EE)
SF e= YF-DIV-DTF;
YG e
DTE tyf*YF;
DTHEQ ()
DTFEQ
sGEQ. -
YG-G-TG:
SG
Demaa
BQUATIONS
nvestment in commodity tr
INVEQ (tr)
DITE2 (E
INVEQ(E)
DITEQ (tr).
PrLces
EQUATLONS
4N
CPEQ(j)
PDEQ(EE
PCI (j) *CI () =e= sUM [tr, PD (tr) *DI (tr, j)]1
P(3) *X5 ()) =e= PVA () *VA (j) +PCI (j) *CI (j)
PVAPEQ.
PCIE2)
CPEQ(3)
PDEQ (EE) .
quzlibri um
QUATIONs
DomestC aDsopt1On
PEQ(bns)
PPUBE
nvestment-savings equii1DrLm
REQ (tr)
XS("pub') *P("pub') we G;
PEQ(DnS)
PPUBEQ. .
NE
REQ(EE
ITE-*
Otne
EQURTIO
WALRAS..
Initialisation of variables
Co(CE, n
THO (h) E
DIO(tr, 3)
1 (h)
1(tr)
DITO(E)
DIT
)
1 th)
D'TFO;
TE. .1
NV
INVO (t
KDO (tr
KSO (tr)
.1(tr)
L(tr)
1 (tr)
D. .
PCIO (j)
PDO (EI)
PVAO (J)
CI.
D.1 (tr)
VA.
sGO;
SG.1
SHO (h)
H.J (h)
1 (tr)
AO (j)
XSO
1()
A..
1(3)
.L(h)
S.
YG.1
YGO:
YHO (h)
H.. h)
CAOSUes
P(AGR) 1s the
.fx("agr') = PO('agr' y
1 Labou so
KSO(tT)
KS. tX(I)
T.e. fx
exogenous
Dividends areP
DIVO
TGO
ode eXecution