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
******************************************************************************** | |
$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 |
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 | |
Test the positive definiteness of a symmetric matrix | |
Extension of ' eigenexample.gms' from the McCarl User Guide | |
$offtext | |
Set index /i1*i3/; | |
alias(index,index1); |
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 | |
Test the positive definiteness of a symmetric matrix | |
Extension of the 'choleskyexample.gms' example from the McCarl User Guide | |
$offtext | |
Set index /i1*i2/; |
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 | |
"Is there some GAMS template around to determine the definiteness of a given | |
matrix? (At the moment, I need it for a 5x5 matrix, but the dimension will | |
eventually be higher.) | |
Or is it advisable to switch to another math package for solving this? | |
Stefan" |
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 | |
Email: | |
"Dear GAMS Users, | |
Do you have some examples or code files for panel data estimation in GAMS? I was thinking to combine two indices - individual and time, into one index and run OLS, but I could not get any idea of combining two sets into one. | |
I guess there is some smart way to do panel data estimation. |
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 | |
Email: | |
"Dear GAMS Users, | |
Do you have some examples or code files for panel data estimation in GAMS? I was thinking to combine two indices - individual and time, into one index and run OLS, but I could not get any idea of combining two sets into one. | |
I guess there is some smart way to do panel data estimation. |
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 | |
Freund showed that the expected utility of a normally distributed gamble given | |
negative exponential preferences could be written as: | |
E(U(x)) = mu(x) - rho/2 * sigma^2(x) | |
where mu and sigma are the mean and standard deviation of the normally distributed gamble | |
NewerOlder