From b0f4ecd6b922d1f515150e6781443d6e10be6ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=28Charybdis=29?= <stephane.adjemian@univ-lemans.fr> Date: Thu, 21 Jun 2018 18:52:06 +0200 Subject: [PATCH] Update examples for deprecated pac.update.equation() function. --- examples/1/example.mod | 2 +- examples/2/example.mod | 2 +- examples/3/example.mod | 2 +- examples/4/example.mod | 2 +- examples/5/example.mod | 2 +- examples/6/example.mod | 2 +- examples/7/example.mod | 2 +- examples/8/example.mod | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/1/example.mod b/examples/1/example.mod index d3c1362834..4f9151449a 100644 --- a/examples/1/example.mod +++ b/examples/1/example.mod @@ -46,7 +46,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero. Please use more sensible values if any... initialconditions = dseries(zeros(10, M_.endo_nbr+M_.exo_nbr), 2000Q1, vertcat(M_.endo_names,M_.exo_names)); diff --git a/examples/2/example.mod b/examples/2/example.mod index ae812a28d3..9984b4d788 100644 --- a/examples/2/example.mod +++ b/examples/2/example.mod @@ -50,7 +50,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero. Please use more sensible values if any... initialconditions = dseries(zeros(10, M_.endo_nbr+M_.exo_nbr), 2000Q1, vertcat(M_.endo_names,M_.exo_names)); diff --git a/examples/3/example.mod b/examples/3/example.mod index 21ef105b73..4cc9133636 100644 --- a/examples/3/example.mod +++ b/examples/3/example.mod @@ -49,7 +49,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero. Please use more sensible values if any... initialconditions = dseries(zeros(10, M_.endo_nbr+M_.exo_nbr), 2000Q1, vertcat(M_.endo_names,M_.exo_names)); diff --git a/examples/4/example.mod b/examples/4/example.mod index 87a2524ab1..1d3e6ba545 100644 --- a/examples/4/example.mod +++ b/examples/4/example.mod @@ -63,7 +63,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero. Please use more sensible values if any... initialconditions = dseries(zeros(10, M_.endo_nbr+M_.exo_nbr), 2000Q1, vertcat(M_.endo_names,M_.exo_names)); diff --git a/examples/5/example.mod b/examples/5/example.mod index 66917e0b33..623d0d0d33 100644 --- a/examples/5/example.mod +++ b/examples/5/example.mod @@ -65,7 +65,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero. Please use more sensible values if any... initialconditions = dseries(zeros(10, M_.endo_nbr+M_.exo_nbr), 2000Q1, vertcat(M_.endo_names,M_.exo_names)); diff --git a/examples/6/example.mod b/examples/6/example.mod index dd207f50be..4178fef5b5 100644 --- a/examples/6/example.mod +++ b/examples/6/example.mod @@ -64,7 +64,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero for non logged variables, and one for logged variables init = zeros(10, M_.endo_nbr+M_.exo_nbr); diff --git a/examples/7/example.mod b/examples/7/example.mod index c090a81403..d9d8f3578a 100644 --- a/examples/7/example.mod +++ b/examples/7/example.mod @@ -64,7 +64,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero. Please use more sensible values if any... initialconditions = dseries(zeros(10, M_.endo_nbr+M_.exo_nbr), 2000Q1, vertcat(M_.endo_names,M_.exo_names)); diff --git a/examples/8/example.mod b/examples/8/example.mod index ce35414ba6..237df34bd9 100644 --- a/examples/8/example.mod +++ b/examples/8/example.mod @@ -72,7 +72,7 @@ end; get_companion_matrix('toto', 'pacman'); // Update the parameters of the PAC expectation model (h0 and h1 vectors). -pac.update.equation('pacman'); +pac.update.expectation('pacman'); // Set initial conditions to zero. Please use more sensible values if any... initialconditions = dseries(zeros(10, M_.endo_nbr+M_.exo_nbr), 2000Q1, vertcat(M_.endo_names,M_.exo_names)); -- GitLab