diff --git a/examples/10/example.mod b/examples/10/example.mod index 0212b1b0d2d00f7fb9b40e2796e7964e94bc8c37..1d33a82acba39ea61846036cc33fc0ee32404366 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 1febd612186d152064d2d057439d00576c43ca56..908ae15a52e388a24cf8ed68ee7f26e644636068 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'))))