Академический Документы
Профессиональный Документы
Культура Документы
Maria Sassi
Department of Economics and Management
University of Pavia – Italy
e-mail : msassi@eco.unipv.it
http://economia.unipv.it/naf/
Scientific Board
Pavia -IT
naf@eco.unipv.it
ISBN: 978-88-961889-11-5
1
Basic concepts for quantitative policy analysis
1.1. Introduction
The purpose of this Chapter is the introduction of basic concepts of quantitative policy analysis. They
represent the components of the framework adopted in the section dedicated to modelling with
GAMS.
More precisely, after the clarification of the objective of policy analysis the steps in which it is
articulated are described. Afterwards, this Chapter illustrates the components of a model and
discusses the importance of its solution with respect to the observed values, that is of the base run.
Finally, the different types of model are presented underlining their possible policy evaluation
options.
The exogenous variables and parameters can be further distinguished in uncontrollable and policy
instruments. They are both observable variables and coefficients, but the latter are the objective of
the policy intervention.
In addition, in the model the endogenous variable is selected to enter into the definition of criteria for
policy evaluation.
In our previous example, let us assume that the government controls meat price (policy instrument)
and wants to change it in order to achieve a certain level of meat consumption (criteria for policy
evaluation). The other exogenous variables and the parameters are uncontrollable to the purpose of
the policy intervention (Figure 3).
Figure 3 - Linear demand model with uncontrolled variables and parameters and a policy instrument
The indices are used to specify the elements of an array of numbers (variables and parameters).
Turning to the above described example, let us assume that the same model structure allows
estimating demand of the same group of consumers for not only meat but also maize. The model in
Figure 2 or 3 can be rewritten as:
Di = α i + β i * Pi + γ i * Yi
i = meat , maize
In a model, equations describe a system, namely a set of two or more simultaneous equations with
the same set of unknowns.
Let us consider a linear model for the analysis of the market equilibrium for two commodities, meat
and fish, with demand (D), supply (S) and prices (P) the endogenous variables. The index i is
𝑖𝑖 = 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚, 𝑓𝑓𝑓𝑓𝑓𝑓ℎ
while the equations are
𝐷𝐷𝑖𝑖 = 𝑎𝑎𝑖𝑖 + 𝑏𝑏𝑖𝑖 ∗ 𝑃𝑃𝑖𝑖 (1. Demand function)
𝑆𝑆𝑖𝑖 = 𝑓𝑓𝑖𝑖 + 𝑧𝑧𝑖𝑖 ∗ 𝑃𝑃𝑖𝑖 (2. Supply function)
𝐷𝐷𝑖𝑖 = 𝑆𝑆𝑖𝑖 (3. Equilibrium
condition)
where a and f are the technical coefficients of the demand and supply equations, respectively, and b and
z the price coefficients of demand and supply.
The definition of system of equations provide an important rule in modelling design: in order to be
solved, a system of equations must be characterised by a number of equations equals to the number
of endogenous variables. The model, in our example, is consistent in the sense that it has three unknown
variables (D, S and P) and three equations and, thus, it has a solution.
When the number of equations is greater than the number of endogenous variables, the model is
inconsistent, that is it provides no solution while if the number of equations is less than the number
of endogenous variables, the model has an infinite number of solutions.
- Two commodities
𝑖𝑖 = 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚, 𝑓𝑓𝑓𝑓𝑓𝑓ℎ
𝐷𝐷𝑖𝑖 = 𝑆𝑆𝑖𝑖
Figure 5 compare the base run with the observed historical data
40
35 Second drought
30 First drought
25
20
15
10
5
0
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
Let us introduce a policy aimed at increasing production as described by the “policy impact” line in
Figure 6.
If we compare the 2007 observed value with its value in the same year after the policy intervention
we make a mistake because the shock is calculated with a model that predict a level of production, in
that year, represented by the base run. In other words, the effect of a policy must be assessed against
the state predicted by the model that describe how the observed economic process evolves without
the implementation of any shock. In our example, the comparison must be between the base run and
the policy impact lines.
Including in stylized model more details and important features of a particular economy or situation
lead to an applied model. An example can better clarify the distinction between a stylized and applied
model: the former may refer to a group of countries, for instance the Oil-importing countries, while
the applied model is related to a specific country in a group, such as Saudi Arabia.
The specific features of the above mentioned models made them suitable for different purposes. A
conceptualise model allows describing the observed economic process, an analytical model is useful
for strategic planning that is for the definition and analysis of strategies (general, undetailed plan of
action over the long time period in order to achieve the overall organization’s goals), while stylized
and applied models are indicated for policy analysis, that is for the investigation of particular
interventions aimed at specific targets.
2
Introduction to GAMS
2.1. Introduction
GAMS stands for General Algebraic Modeling System. It is a software package for:
- Designing and
- Solving
various types of models.
Originally developed by a group of economists at the World Bank for economic models, GAMS is
today suitable to solve systems of equations in any field of study.
Designing and solving represents the two parts of GAMS (Figure 8).
The former is the core of the software that allows creating the model through a specific language. The
latter consists on a set of solvers for running the model.
This Chapter, after some preliminary information on how to download and install GAMS, illustrates
the user interface and provides information on how to start a new project.
At the top of the user interface there are the Menu headings and the Buttons, which in most cases
are just an alternative way of carrying out functions of the menu options, (Figure 10) whose
meaning is explained in Figure 11.
Working Files
Project
Folder
In practice, the Folder can be open on the desktop or in Documents or in a working folder right-
clicking the mouse, selecting “new” and then “folder”. A new cartel is created on desktop or the other
selected position. It has to be named.
For a project to be created GAMS must be opened. Afterwards, on the menu headings click on
File/Project/New project (Figure 13).
Figure 13 - The first three steps requested for the creation of a project
2 3
The previously originated folder must be opened and then the project must be named and opened
(Figure 14).
1. 3. Write
Project the
FILE Folder model
2 NEW