From 64de92d93e52d5c5a302540c990b9e5cd7bc9902 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=28Charybdis=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Mon, 16 Jul 2018 16:33:07 +0200
Subject: [PATCH] Changed name of the estimation routine for PAC equation.

---
 examples/10/example.mod | 2 +-
 examples/9/example.mod  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/10/example.mod b/examples/10/example.mod
index 0212b1b0d2..1d33a82acb 100644
--- a/examples/10/example.mod
+++ b/examples/10/example.mod
@@ -89,7 +89,7 @@ eparams.c_z_2 = .2;
 edata = TrueData;
 edata.ez = dseries(NaN(TrueData.nobs, 1), 200Q1, 'ez');
 
-pac.estimate('zpac', eparams, edata, 2005Q1:2120Q1);
+pac.estimate.nls('zpac', eparams, edata, 2005Q1:2120Q1);
 
 disp(sprintf('Estimate of e_c_m: %f', M_.params(strmatch('e_c_m', M_.param_names, 'exact'))))
 disp(sprintf('Estimate of c_z_1: %f', M_.params(strmatch('c_z_1', M_.param_names, 'exact'))))
diff --git a/examples/9/example.mod b/examples/9/example.mod
index 1febd61218..908ae15a52 100644
--- a/examples/9/example.mod
+++ b/examples/9/example.mod
@@ -92,7 +92,7 @@ eparams.gamma = .1;
 edata = TrueData;
 edata.ez = dseries(NaN(TrueData.nobs, 1), 200Q1, 'ez');
 
-pac.estimate('zpac', eparams, edata, 2005Q1:2120Q1);
+pac.estimate.nls('zpac', eparams, edata, 2005Q1:2120Q1);
 
 disp(sprintf('Estimate of e_c_m: %f', M_.params(strmatch('e_c_m', M_.param_names, 'exact'))))
 disp(sprintf('Estimate of c_z_1: %f', M_.params(strmatch('c_z_1', M_.param_names, 'exact'))))
-- 
GitLab