From 8c7b2da1ca1ce1994c21d1db35f66a5563838e1e Mon Sep 17 00:00:00 2001 From: Willi Mutschler Date: Mon, 4 Nov 2024 06:06:13 +0100 Subject: [PATCH] Added week 4 material --- .../dynare-6.2-matlab-r2024b-macos.yml | 10 ++ .../dynare-6.2-matlab-r2024b-ubuntu.yml | 10 ++ .../dynare-6.2-matlab-r2024b-windows.yml | 10 ++ README.md | 7 +- exercises/ml_ar_p.tex | 69 ++++---- exercises/ml_ar_p_laplace.tex | 33 ++-- exercises/ml_ar_p_laplace_solution.tex | 30 ++-- exercises/ml_ar_p_solution.tex | 153 ++++++++++-------- exercises/ols_ar_p.tex | 29 ++-- progs/matlab/AR1MLLaplace.m | 10 +- week_4.tex | 30 ++++ 11 files changed, 245 insertions(+), 146 deletions(-) create mode 100644 week_4.tex diff --git a/.github/workflows/dynare-6.2-matlab-r2024b-macos.yml b/.github/workflows/dynare-6.2-matlab-r2024b-macos.yml index 9744159..9a1fb96 100644 --- a/.github/workflows/dynare-6.2-matlab-r2024b-macos.yml +++ b/.github/workflows/dynare-6.2-matlab-r2024b-macos.yml @@ -64,3 +64,13 @@ jobs: lawOfLargeNumbers; lawOfLargeNumbersAR1; centralLimitDependentData; + + - name: Run week 4 codes + uses: matlab-actions/run-command@v2 + with: + command: | + addpath("Dynare-6.2-arm64/matlab"); + cd("progs/matlab"); + AR4OLS; + AR4ML; + AR1MLLaplace; diff --git a/.github/workflows/dynare-6.2-matlab-r2024b-ubuntu.yml b/.github/workflows/dynare-6.2-matlab-r2024b-ubuntu.yml index a87d41c..21b3859 100644 --- a/.github/workflows/dynare-6.2-matlab-r2024b-ubuntu.yml +++ b/.github/workflows/dynare-6.2-matlab-r2024b-ubuntu.yml @@ -93,3 +93,13 @@ jobs: lawOfLargeNumbers; lawOfLargeNumbersAR1; centralLimitDependentData; + + - name: Run week 4 codes + uses: matlab-actions/run-command@v2 + with: + command: | + addpath("dynare/matlab"); + cd("progs/matlab"); + AR4OLS; + AR4ML; + AR1MLLaplace; \ No newline at end of file diff --git a/.github/workflows/dynare-6.2-matlab-r2024b-windows.yml b/.github/workflows/dynare-6.2-matlab-r2024b-windows.yml index 9fb9d27..670747b 100644 --- a/.github/workflows/dynare-6.2-matlab-r2024b-windows.yml +++ b/.github/workflows/dynare-6.2-matlab-r2024b-windows.yml @@ -55,3 +55,13 @@ jobs: lawOfLargeNumbers; lawOfLargeNumbersAR1; centralLimitDependentData; + + - name: Run week 4 codes + uses: matlab-actions/run-command@v2 + with: + command: | + addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab"); + cd("progs/matlab"); + AR4OLS; + AR4ML; + AR1MLLaplace; \ No newline at end of file diff --git a/README.md b/README.md index 59c890b..20da7ec 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,6 @@ Please feel free to use this for teaching or learning purposes; however, taking -