Skip to content

Commit

Permalink
Merge branch 'Develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrall committed Aug 1, 2022
2 parents ef9fa5e + 0645e95 commit 4d462e3
Show file tree
Hide file tree
Showing 459 changed files with 18,827 additions and 830 deletions.
3 changes: 2 additions & 1 deletion docs/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
<html>
<link rel="icon" href="icons/nicon16.png" type="image/png">
<head>
<meta http-equiv="refresh" content="3;url=niqlow.ox.html" />
<style>
body {
body {
background-image: url("niqlow.svg");
background-repeat:no-repeat;
background-color:#980000ff ;
Expand Down
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<html>
<link rel="icon" href="icons/nicon16.png" type="image/png">
<head>
<link rel="icon" href="icons/nicon16.png" type="image/png">
<meta http-equiv="refresh" content="3;url=niqlow.ox.html" />
<style>
body {
body {
background-image: url("niqlow.svg");
background-repeat:no-repeat;
background-color:#980000ff ;
Expand Down
Binary file modified examples/A3.dta
Binary file not shown.
94 changes: 94 additions & 0 deletions examples/Aging-FixedEffects.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
Output of DDP Tests:Aging-FixedEffects
---------------------------
Span
DP::Intialize is complete. Action and State spaces are empty.
Log file name is: logs/DP-DDP-12-04-2022-11-24-34.log
-------------------- DP Model Summary ------------------------
0. USER BELLMAN CLASS
Test1 | Bellman
1. CLOCK
3. Normal Finite Horizon Aging
2. STATE VARIABLES
|eps |eta |theta -clock |gamma
s11 s21 s31 t t' r g
s.N 1 1 1 10 1 1 2


Transition Categories (not counting placeholders and variables with N=1)
NonRandom Random Coevolving Augmented Timing Invariant
#Vars 0 0 0 0 1 1

3. SIZE OF SPACES

Number of Points
Exogenous(Epsilon) 1
SemiExogenous(Eta) 1
Endogenous(Theta_t) 1
Times 10
EV()Iterating 1
ChoiceProb.track 10
Random Groups 1
Dynamic Random Groups 1
Fixed Groups 2
Total Groups(Gamma) 2
Total Untrimmed 20

4. ACTION VARIABLES
Number of Distinct action vectors: 1
a
a.N 1


5. TRIMMING AND SUBSAMPLING OF THE ENDOGENOUS STATE SPACE (Theta)
N
TotalReachable 10
Terminal 0
Approximated 0
Index of first state by t (t=0..T-1)
0 0 1 2 3 4 5 6 7 8 9


6. FEASIBLE ACTION SETS

i [a] A[0]
---------------------------
000 (0) X
#States 10
--------------------------
Key: X = row vector is feasible. - = infeasible

-------------------- End of Model Summary ------------------------
Phase :Initializing Increment: 0.02. Cumulative: 0.02
.
Value of States and Choice Probabilities
Fixed Group Index(f): 1. Random Group Index(r): 0
------------------------------------------------------------------------------
Indx T A s31 t r f EV |Choice Probabilities:
9 2 0 0 9 0 1 1.000000 1.000000
8 0 0 0 8 0 1 1.900000 1.000000
7 0 0 0 7 0 1 2.710000 1.000000
6 0 0 0 6 0 1 3.439000 1.000000
5 0 0 0 5 0 1 4.095100 1.000000
4 0 0 0 4 0 1 4.685590 1.000000
3 0 0 0 3 0 1 5.217031 1.000000
2 0 0 0 2 0 1 5.695328 1.000000
1 0 0 0 1 0 1 6.125795 1.000000
0 0 0 0 0 0 1 6.513216 1.000000
------------------------------------------------------------------------------
.
Value of States and Choice Probabilities
Fixed Group Index(f): 0. Random Group Index(r): 0
------------------------------------------------------------------------------
Indx T A s31 t r f EV |Choice Probabilities:
9 2 0 0 9 0 0 1.000000 1.000000
8 0 0 0 8 0 0 1.900000 1.000000
7 0 0 0 7 0 0 2.710000 1.000000
6 0 0 0 6 0 0 3.439000 1.000000
5 0 0 0 5 0 0 4.095100 1.000000
4 0 0 0 4 0 0 4.685590 1.000000
3 0 0 0 3 0 0 5.217031 1.000000
2 0 0 0 2 0 0 5.695328 1.000000
1 0 0 0 1 0 0 6.125795 1.000000
0 0 0 0 0 0 0 6.513216 1.000000
------------------------------------------------------------------------------
... finished.
199 changes: 199 additions & 0 deletions examples/Ahn1995.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
Output of Replications:Ahn1995
---------------------------
DP::Intialize is complete. Action and State spaces are empty.
Log file name is: logs/DP-DDP-12-04-2022-10-47-48.log
-------------------- DP Model Summary ------------------------
0. USER BELLMAN CLASS
Ahn | Exteme Value | Bellman
1. CLOCK
3. Normal Finite Horizon Aging
2. STATE VARIABLES
|eps |eta |theta -clock |gamma
s11 s21 baby d1 d2 d3 d4 d5 d6 d7 t t' r f
s.N 1 1 3 3 3 3 3 3 3 3 25 1 1 1


Transition Categories (not counting placeholders and variables with N=1)
NonRandom Random Coevolving Augmented Timing Invariant
#Vars 7 1 0 0 1 0

3. SIZE OF SPACES

Number of Points
Exogenous(Epsilon) 1
SemiExogenous(Eta) 1
Endogenous(Theta_t) 6561
Times 25
EV()Iterating 6561
ChoiceProb.track 164025
Random Groups 1
Dynamic Random Groups 1
Fixed Groups 1
Total Groups(Gamma) 1
Total Untrimmed 164025

4. ACTION VARIABLES
Number of Distinct action vectors: 2
d
a.N 2


5. TRIMMING AND SUBSAMPLING OF THE ENDOGENOUS STATE SPACE (Theta)
N
TotalReachable 40459
Terminal 0
Approximated 0
Index of first state by t (t=0..T-1)
0 0 3 12 39 120 363 1092 3279 5466 7653 9840 12027 14214 16401 18588 20775 22962 25149 27336 29523 31710 33897 36084 38271 40458


6. FEASIBLE ACTION SETS

i [d] A[0] A[1]
------------------------------------
000 (0) X X
001 (1) X -
#States 1093 39366
-----------------------------------
Key: X = row vector is feasible. - = infeasible

-------------------- End of Model Summary ------------------------
Phase :Initializing Increment: 2.13. Cumulative: 2.13
0
0.00000 2.0000 50.350
1
0.00000 2.0000 50.350
0
0.00000 2.0000 50.350
1
0.00000 2.0000 50.350
0
0.00000 2.0000 50.350
1
0.00000 2.0000 50.350
0
0.00000 1.0000 49.330
1
0.00000 2.0000 50.350
0
0.00000 1.0000 49.330
1
0.00000 2.0000 50.350
0
0.00000 1.0000 49.330
1
0.00000 2.0000 50.350
0
0.00000 0.00000 0.00000
1
0.00000 2.0000 50.350
0
0.00000 0.00000 0.00000
1
0.00000 2.0000 50.350
0
0.00000 0.00000 0.00000
1
0.00000 2.0000 50.350
0
0.00000 2.0000 50.350
1
0.00000 1.0000 49.330
0
0.00000 2.0000 50.350
1
0.00000 1.0000 49.330
0
0.00000 2.0000 50.350
1
0.00000 1.0000 49.330
0
0.00000 1.0000 49.330
1
0.00000 1.0000 49.330
0
0.00000 1.0000 49.330
1
0.00000 1.0000 49.330
0
0.00000 1.0000 49.330
1
0.00000 1.0000 49.330
0
0.00000 0.00000 0.00000
1
0.00000 1.0000 49.330
0
0.00000 0.00000 0.00000
1
0.00000 1.0000 49.330
0
0.00000 0.00000 0.00000
1
0.00000 1.0000 49.330
0
0.00000 2.0000 50.350
1
0.00000 0.00000 0.00000
0
0.00000 2.0000 50.350
1
0.00000 0.00000 0.00000
0
0.00000 2.0000 50.350
1
0.00000 0.00000 0.00000
0
0.00000 1.0000 49.330
1
0.00000 0.00000 0.00000
0
0.00000 1.0000 49.330
1
0.00000 0.00000 0.00000
0
0.00000 1.0000 49.330
1
0.00000 0.00000 0.00000
0
0.00000 0.00000 0.00000
1
0.00000 0.00000 0.00000
0
0.00000 0.00000 0.00000
1
0.00000 0.00000 0.00000
0
0.00000 0.00000 0.00000
1
0.00000 0.00000 0.00000
0
0.00000 2.0000 50.350
0
0.00000 2.0000 50.350
0
0.00000 2.0000 50.350
0
0.00000 1.0000 49.330
0
0.00000 1.0000 49.330
0
0.00000 1.0000 49.330
0
0.00000 0.00000 0.00000
0
0.00000 0.00000 0.00000
0
0.00000 0.00000 0.00000
Tracking all actions, endogenous state and auxiliary variables
Predicted Moments for fixed group: 0
t d baby d1 d2 d3 d4 d5 d6 d7
0 0.8198 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.6267 1.2174 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.5054 0.9306 1.2174 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
3 0.4152 0.7505 1.2174 0.9306 0.0000 0.0000 0.0000 0.0000 0.0000
4 0.3511 0.6166 1.2174 0.9306 0.7505 0.0000 0.0000 0.0000 0.0000
5 0.1474 0.5214 1.2174 0.9306 0.7505 0.6166 0.0000 0.0000 0.0000
6 0.0624 0.2189 1.2174 0.9306 0.7505 0.6166 0.5214 0.0000 0.0000
7 0.0000 0.0926 1.2174 0.9306 0.7505 0.6166 0.5214 0.2189 0.0000
... finished.
14 changes: 14 additions & 0 deletions examples/AiyagariB_0_0_0.optobj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"AiyagariEQ"
"Eq"
3.844679978599689e-06
<0.04166780061777893;1.1781180865895111>
-------Human Readable Parameter Summary-------
000 1 0.041668 "r " "Bounded " 0 0 1.00006
001 0 1.178118 "w " "Determined " -- -1 .NaN

------------
r.NaN
Hessian rr.NaN

--------------------
Created by Objective::Save(). 12-04-2022. 9:49:26
14 changes: 14 additions & 0 deletions examples/AiyagariB_0_0_1.optobj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"AiyagariEQ"
"Eq"
4.466997578867682e-05
<0.04157971560642204;1.1785981332256785>
-------Human Readable Parameter Summary-------
000 1 0.041580 "r " "Bounded " 0 0 0.986776
001 0 1.178598 "w " "Determined " -- -1 .NaN

------------
r.NaN
Hessian rr.NaN

--------------------
Created by Objective::Save(). 12-04-2022. 9:52:22
14 changes: 14 additions & 0 deletions examples/AiyagariB_0_0_2.optobj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"AiyagariEQ"
"Eq"
5.574215097448679e-06
<0.04142282160125933;1.179454523267295>
-------Human Readable Parameter Summary-------
000 1 0.041423 "r " "Bounded " 0 0 0.981895
001 0 1.179455 "w " "Determined " -- -1 .NaN

------------
r.NaN
Hessian rr.NaN

--------------------
Created by Objective::Save(). 12-04-2022. 9:55:49
14 changes: 14 additions & 0 deletions examples/AiyagariB_0_1_0.optobj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"AiyagariEQ"
"Eq"
9.21446278070875e-06
<0.04158018865565;1.178595553745646>
-------Human Readable Parameter Summary-------
000 1 0.041580 "r " "Bounded " 0 0 0.986791
001 0 1.178596 "w " "Determined " -- -1 .NaN

------------
r.NaN
Hessian rr.NaN

--------------------
Created by Objective::Save(). 12-04-2022. 9:59:26
14 changes: 14 additions & 0 deletions examples/AiyagariB_0_1_1.optobj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"AiyagariEQ"
"Eq"
2.759651365813452e-06
<0.04128404766271489;1.18021344904267>
-------Human Readable Parameter Summary-------
000 1 0.041284 "r " "Bounded " 0 0 0.977601
001 0 1.180213 "w " "Determined " -- -1 .NaN

------------
r.NaN
Hessian rr.NaN

--------------------
Created by Objective::Save(). 12-04-2022. 10:03:09
Loading

0 comments on commit 4d462e3

Please sign in to comment.