Skip to content

Commit

Permalink
Expected V and C conditional on 2019 (2007) JAEEMK #18
Browse files Browse the repository at this point in the history
THe 2019 and 2007 problems share the same function, have the same idea, 
which is to solve for the expected value of V and C in 2008 and 2020 
from the perspective of 2007 and 2019, where the planner's observable 
information come from. 

There was an older slower function that vignette was based on. Updated 
to FOC based function for the 2019 problem, and added new 2007 tester.

Minimal changes to the SNW_EVUVW19_JMKY problem, which averages over 
JAEEMK states for JMKY states, which are observable to the planner. No 
separate 07 tester for the JMKY function, since 07 and 19 calls are 
identical.
  • Loading branch information
FanWangEcon committed Nov 30, 2021
1 parent 615e575 commit da38101
Show file tree
Hide file tree
Showing 8 changed files with 280 additions and 838 deletions.
2 changes: 1 addition & 1 deletion PrjOptiSNW/doc/splannerjaeemk/main.Rmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# 2020 Outcomes Full State Space with Savings, Shocks and Education
# 2019/2020 and 2007/2008 V and C Full State Space
51 changes: 49 additions & 2 deletions PrjOptiSNW/doc/splannerjaeemk/preamble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
core :
- package: PrjOptiSNW
code: |
[snw_evuvw19_jaeemk()](https://github.com/FanWangEcon/PrjOptiSNW/blob/master/PrjOptiSNW/splanneralt/snw_evuvw19_jaeemk.m)
date: 2020-08-07
[snw_evuvw19_jaeemk_foc()](https://github.com/FanWangEcon/PrjOptiSNW/blob/master/PrjOptiSNW/splanneralt/snw_evuvw19_jaeemk_foc.m)
date: 2021-11-29
date_start: 2020-08-07
output:
pdf_document:
Expand All @@ -21,6 +21,29 @@
always_allow_html: true
urlcolor: blue

- file: snwx_evuvw07_jaeemk
title: "Expected Value in 2007 Given Age, Savings, Shocks, Kids, Educaiton and Marriage"
titleshort: "Expected Value in 2007 Given Age, Savings, Shocks, Kids, Educaiton and Marriage"
description: |
Expected value and expected consumption from 2007 for a household at a particular age (18-99), savings level, shocks combinations, kids/education/marriage status, given 2007 optimal savings choices, income shock transition probability as well as household children count transition probabilities.
core :
- package: PrjOptiSNW
code: |
[snw_evuvw19_jaeemk_foc()](https://github.com/FanWangEcon/PrjOptiSNW/blob/master/PrjOptiSNW/splanneralt/snw_evuvw19_jaeemk_foc.m)
date: 2021-11-29
date_start: 2020-11-29
output:
pdf_document:
pandoc_args: '../../../_output_kniti_pdf.yaml'
includes:
in_header: '../../../preamble.tex'
html_document:
pandoc_args: '../../../_output_kniti_html.yaml'
includes:
in_header: '../../../hdga.html'
always_allow_html: true
urlcolor: blue

- file: snwx_evuvw20_jaeemk
title: "Value in 2020 Given Age, Savings, Shocks, Kids, Educaiton and Marriage"
titleshort: "Value in 2020 Given Age, Savings, Shocks, Kids, Educaiton and Marriage"
Expand All @@ -44,3 +67,27 @@
in_header: '../../../hdga.html'
always_allow_html: true
urlcolor: blue

- file: snwx_v08_jaeemk
title: "2008 Value and Optimal Savings and Consumption Given Stimulus"
titleshort: "2008 Value and Optimal Savings and Consumption Given Stimulus"
description: |
Compute the difference in Value and Consumption under differing levels of Bush Stimulus. We assume that the stimulus is provided ex-ante of the 2009 great recession shocks, which are expected by households (not MIT shock as under COVID).
This is simialr to SNW_EVUVW20_JAEEMK, but for the 2008 Bush stimulus. SNW_V08P08_JAEEMK already solved for optimal policy and value functions in 2008, given expected unemployment shock in 2009. In this function, given some stimulus amount, we use SNW_A4CHK_WRK_BISEC_VEC to compute the updated optimal V and C in 2008 given the stimulus amount, based on the alues for V and C without stimulus computed by SNW_V08P08_JAEEMK.
core :
- package: PrjOptiSNW
code: |
[snw_v08_jaeemk()](https://github.com/FanWangEcon/PrjOptiSNW/blob/master/PrjOptiSNW/splanneralt/snw_v08_jaeemk.m)
date: 2021-11-28
date_start: 2021-11-28
output:
pdf_document:
pandoc_args: '../../../_output_kniti_pdf.yaml'
includes:
in_header: '../../../preamble.tex'
html_document:
pandoc_args: '../../../_output_kniti_html.yaml'
includes:
in_header: '../../../hdga.html'
always_allow_html: true
urlcolor: blue
Binary file not shown.
736 changes: 0 additions & 736 deletions PrjOptiSNW/doc/splannerjaeemk/snwx_evuvw19_jaeemk.html

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading

0 comments on commit da38101

Please sign in to comment.