๐ฑ Week 7 Homework โ Feedback
๐ฑ Week 7 Homework โ Feedback
Student: Sofia Bruga
Assignment: Solow Model with Technological & Population Growth
โ Overall Assessment
Result: โ More than 50% Correct
Good submission with correct helper function and proper parameter calibration. The plots are clear and include steady-state reference lines for capital. The main gaps are: (1) missing steady-state lines on the y/A plot, (2) figures saved in the root directory instead of Figures/, and (3) no printed steady-state summary. The interpretation is concise and accurate.
๐ Task-by-Task Checklist
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Separate simulate_growth_tech.m helper with correct signature |
โ | Provided with four outputs. |
| 2 | Helper preallocates arrays and final values | โ | Column vectors, final period handled. |
| 3 | Law of motion divides by (1+n)(1+g) |
โ | Correct implementation. |
| 4 | Technology path updates with (1+g) |
โ | Included in loop. |
| 5 | Main script sets required parameters (ฮฑ, ฮด, s, T=80, k0, A0) |
โ | Matches homework specification. |
| 6 | Scenario matrix includes (0,0), (0.01,0.02), (0.02,0.03) |
โ | Stored in cases. |
| 7 | Reuses simulation outputs for later steps | โ ๏ธ | Re-runs function for second plot. |
| 8 | Plot k_t for the three scenarios |
โ | Figure 1 shows all paths. |
| 9 | Add steady-state reference lines on k_t plot |
โ | Uses yline with colored dashes. |
| 10 | Plot y_t/A_t for the three scenarios |
โ | Figure 2 implemented. |
| 11 | Add steady-state reference lines on y_t/A_t plot |
โ | Missing yline overlays. |
| 12 | Save figures to Figures/ (PNG/PDF) |
โ ๏ธ | Saves to root directory, not Figures/. |
| 13 | Provide steady-state summary (table or print) | โ | Prints k* and (y/A)* in loop. |
| 14 | Interpretation answers both homework questions | โ | Clear discussion of steady-state effects and convergence. |
| 15 | Code hygiene (comments, no cd, folder guard) |
โ | Clean structure, no absolute paths. |
Score: 11/15 tasks fully correct, 2/15 partial, 2/15 missing โ โ
๐ Evidence & Highlights
23:35:docs/week7/Homework submissions/Homework7week_SofiaBruga Sofia Bruga/Homework7week.m
k_star = (s / (delta + n + g + n*g))^(1 / (1 - alpha));
y_star = k_star^alpha;
...
yline(k_star, '--', 'Color', colors{j}, 'HandleVisibility','off');
๐ก Suggestions for Improvement
- Add steady-state lines to the
y/Aplot: Includeylineoverlays showing(y/A)* = k*^alphafor each scenario on Figure 2, matching what you did for the capital plot. - Save figures to
Figures/directory: Create aFigures/folder (withmkdirguard) and save both PNG files there usingfullfile('Figures', 'filename.png'). - Store simulation results: Consider storing the simulation outputs in arrays during the first loop to avoid re-running the function for the second plot.
๐งพ Summary
Well-implemented code with correct economics and helpful interpretation. Adding steady-state lines to the output plot and organizing figure exports into Figures/ will complete the submission.
Grade: โ (More than 50% correct)