-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to mark equations to be excluded from the final system
- Loading branch information
1 parent
7acb733
commit 71fe39d
Showing
5 changed files
with
757 additions
and
556 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
block HOUSEHOLD | ||
{ | ||
definitions | ||
{ | ||
u[] = C[] ^ (1 - sigma_C) / (1 - sigma_C) - | ||
L[] ^ (1 + sigma_L) / (1 + sigma_L); | ||
}; | ||
controls | ||
{ | ||
K[], C[], L[], I[]; | ||
}; | ||
objective | ||
{ | ||
U[] = u[] + beta * E[][U[1]]; | ||
}; | ||
constraints | ||
{ | ||
@exclude | ||
C[] + I[] = w[] * L[] + r[] * K[-1] : lambda[]; | ||
|
||
K[] = (1 - delta) * K[-1] + I[] : q[]; | ||
}; | ||
|
||
calibration | ||
{ | ||
beta = 0.985; | ||
delta = 0.025; | ||
sigma_C = 2; | ||
sigma_L = 1.5; | ||
}; | ||
}; | ||
|
||
|
||
block FIRM | ||
{ | ||
controls | ||
{ | ||
K[-1], L[]; | ||
}; | ||
|
||
objective | ||
{ | ||
TC[] = -(w[] * L[] + r[] * K[-1]); | ||
}; | ||
|
||
constraints | ||
{ | ||
Y[] = A[] * K[-1] ^ alpha * L[] ^ (1 - alpha) : P[]; | ||
}; | ||
|
||
identities | ||
{ | ||
log(A[]) = rho_A * log(A[-1]) + epsilon_A[]; | ||
P[] = 1; | ||
}; | ||
|
||
shocks | ||
{ | ||
epsilon_A[]; | ||
}; | ||
|
||
calibration | ||
{ | ||
alpha = 0.35; | ||
rho_A = 0.95; | ||
}; | ||
}; | ||
|
||
block EQUILIBRIUM | ||
{ | ||
constraints | ||
{ | ||
Y[] = C[] + I[]; | ||
}; | ||
}; |
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 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
Oops, something went wrong.