Week 10 Homework Feedback: Giovanni Di Miele
Week 10 Homework Feedback: Giovanni Di Miele
Overall Assessment
Grade: ✅ (Pass)
Correct submission. You implemented the EGM method correctly and provided clear comparisons between the sigma cases.
Task-by-Task Check
Task 1: Quantifying Precautionary Savings
- Parameter & Grid Setup: ✅ Correct.
- Solution Method: ✅ EGM implemented correctly.
- Deterministic Case: ✅ Solved.
- Stochastic Case: ✅ Solved.
- Simulation: ✅ Simulation logic is correct.
- Comparison: ✅ Premium calculated.
Task 2: The Role of Risk Aversion
- Sigma Variation: ✅ Implemented.
- Solving Sigma Cases: ✅ Solved.
- Policy Plot: ✅ Plotted.
- Simulation Comparison: ✅ Calculated.
- Interpretation: ✅ Correct.
Technical Implementation
- EGM Logic: Your implementation is consistent with the lecture notes.
- Hybrid Approach: You used
fzerofor the resource constraint inversion. - Comparison: The comparison plots are well-generated.
Visual Output
- The policy function comparison plot is clear.
Suggestions for Improvement
- Efficiency: As noted for others,
fzeroinside the loop can be replaced by interpolation for better performance.
Summary
11/11 tasks correct. Correct work.