This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# plot the indifference curves of non-homothetic CES variants | |
# script based on the implicit function plotting trick from: | |
# http://gnuplot-surprising.blogspot.de/2011/09/assume-three-is-equation-fxygxy-and-we.html | |
# uncomment in case you want to save it to a file | |
#set term png enhanced lw 2 font "Times,18" | |
#set output "ces_share.png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# GNUPLOT script to draw CES functions with different parameters | |
# | |
# script based on the implicit function plotting trick from: | |
# http://gnuplot-surprising.blogspot.de/2011/09/assume-three-is-equation-fxygxy-and-we.html | |
# uncomment in case you want to save it to a file | |
#set term png enhanced lw 2 font "Times,18" | |
#set output "ces_elas.png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* Howto draw a PPF using the GUSS solver option in GAMS | |
* | |
* This file is an extension of | |
* the long-run production problem, as described in Chapter 5 of | |
* Gilbert and Tower: Introduction to Numerical Simulation for Trade Theory and Policy. | |
* | |
* for download of the original model go to | |
* http://ideas.repec.org/c/uth/gt2013/2012-03.html | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* --- Small country trading equilibrium | |
* | |
* Reasons for trade in the single country HO model | |
* Differences in good and factor prices and factor intensities | |
* | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* | |
* This file is an extension of | |
* the long-run production problem, as described in Chapter 5 of | |
* Gilbert and Tower: Introduction to Numerical Simulation for Trade Theory and Policy. | |
* | |
* for download of the original model go to | |
* http://ideas.repec.org/c/uth/gt2013/2012-03.html | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* --- Small country trading equilibrium | |
* | |
* Different variants of the same model: | |
* | |
* | |
* (1) explicit trade balance condition [import value = export value] or 'nested' budget constraint [max. income = production value] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* GAMS code based on the bread grain market model in | |
* Salhofer (1996), “Efficient Income Redistribution for a Small Country Using Optimal Combined Instruments.” | |
* Salhofer, K. 1996. “Efficient Income Redistribution for a Small Country Using Optimal Combined Instruments.” Agricultural Economics 13 (3): 191–99. doi:10.1016/0169-5150(95)01162-5. | |
* The code builds on Salhofer's GAMS example provided in the course "Welfare Economics" | |
* General idea of the optimization model: | |
* Maximizes consumers/taxpayers surplus s.t. a given support level and four policy instruments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
******************************************************************************** | |
$ontext | |
CAPRI project | |
GAMS file : REGAGG.GMS | |
@purpose : | |
@author : Mihaly Himics (mihaly.himics@ilr.uni-bonn.de) | |
@date : 21.11.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*<%REGION File header%> | |
*============================================================================= | |
* File : rutherford_ex1.gms | |
* Author : mihalyh | |
* Version : 1.0 | |
* Date : 13.11.2013 10:58:08 | |
* Changed : 13.11.2013 13:13:56 | |
* Changed by: mihalyh | |
* Remarks : | |
$ontext |
NewerOlder