diff --git a/license.txt b/license.txt
index ce6356598..2dcfdcf07 100644
--- a/license.txt
+++ b/license.txt
@@ -45,7 +45,7 @@ Files: matlab/bfgsi1.m matlab/csolve.m matlab/csminit1.m matlab/numgrad2.m
matlab/bvar_toolbox.m matlab/partial_information/PI_gensys.m matlab/qzswitch.m
matlab/qzdiv.m
Copyright: 1993-2009 Christopher Sims
- 2006-2011 Dynare Team
+ 2006-2012 Dynare Team
License: GPL-3+
Files: matlab/cmaes.m
@@ -53,6 +53,11 @@ Copyright: 2001-2012 Nikolaus Hansen
2012 Dynare Team
License: GPL-3+
+Files: matlab/endogenous_prior.m
+Copyright: 2011 Lawrence J. Christiano, Mathias Trabandt and Karl Walentin
+ 2013 Dynare Team
+License: GPL-3+
+
Files: matlab/missing/stats/normpdf.m matlab/missing/stats/gamcdf.m
matlab/missing/stats/common_size.m matlab/missing/stats/chi2inv.m
matlab/missing/stats/gaminv.m matlab/missing/stats/gampdf.m
diff --git a/m4/ax_gsl.m4 b/m4/ax_gsl.m4
index af90668fb..11920cdb0 100644
--- a/m4/ax_gsl.m4
+++ b/m4/ax_gsl.m4
@@ -2,7 +2,7 @@ dnl Detect GSL.
dnl We don't use the official M4 macro since it relies on the script gsl-config,
dnl which does not work when cross-compiling.
dnl
-dnl Copyright (C) 2010 Dynare Team
+dnl Copyright (C) 2010-2012 Dynare Team
dnl
dnl This file is part of Dynare.
dnl
diff --git a/matlab/@dynDate/colon.m b/matlab/@dynDate/colon.m
index ee260b66a..5c6e22f66 100644
--- a/matlab/@dynDate/colon.m
+++ b/matlab/@dynDate/colon.m
@@ -30,7 +30,7 @@ function sp = colon(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/dynDate.m b/matlab/@dynDate/dynDate.m
index f8c710887..e6af26bb5 100644
--- a/matlab/@dynDate/dynDate.m
+++ b/matlab/@dynDate/dynDate.m
@@ -43,7 +43,7 @@ function date = dynDate(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/eq.m b/matlab/@dynDate/eq.m
index 0466ce542..64367e1d9 100644
--- a/matlab/@dynDate/eq.m
+++ b/matlab/@dynDate/eq.m
@@ -29,7 +29,7 @@ function c = eq(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -121,4 +121,4 @@ c = isequal(a.time,b.time);
%$ t(2) = dyn_assert(i2,1);
%$ t(3) = dyn_assert(i3,0);
%$ T = all(t);
-%@eof:2
\ No newline at end of file
+%@eof:2
diff --git a/matlab/@dynDate/format.m b/matlab/@dynDate/format.m
index 93357196d..df403148a 100644
--- a/matlab/@dynDate/format.m
+++ b/matlab/@dynDate/format.m
@@ -27,7 +27,7 @@ function p = format(date)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/ge.m b/matlab/@dynDate/ge.m
index 098988ae7..05fa1850d 100644
--- a/matlab/@dynDate/ge.m
+++ b/matlab/@dynDate/ge.m
@@ -30,7 +30,7 @@ function c = ge(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -80,4 +80,4 @@ end
%$ t(3) = dyn_assert(i3,0);
%$ t(4) = dyn_assert(i4,1);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/gt.m b/matlab/@dynDate/gt.m
index 4cefe3f4e..c881b1942 100644
--- a/matlab/@dynDate/gt.m
+++ b/matlab/@dynDate/gt.m
@@ -29,7 +29,7 @@ function c = gt(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -95,4 +95,4 @@ end
%$ t(3) = dyn_assert(i3,0);
%$ t(4) = dyn_assert(i4,0);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/isempty.m b/matlab/@dynDate/isempty.m
index e00b26212..ee90a40e3 100644
--- a/matlab/@dynDate/isempty.m
+++ b/matlab/@dynDate/isempty.m
@@ -27,7 +27,7 @@ function b = isempty(a)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -56,4 +56,4 @@ b = all(isnan(a.time)) && isnan(a.freq);
%$ % Test if this object is empty
%$ t(1) = isempty(d);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/le.m b/matlab/@dynDate/le.m
index b3f3dd79f..14b198330 100644
--- a/matlab/@dynDate/le.m
+++ b/matlab/@dynDate/le.m
@@ -30,7 +30,7 @@ function c = le(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -80,4 +80,4 @@ end
%$ t(3) = dyn_assert(i3,1);
%$ t(4) = dyn_assert(i4,0);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/lt.m b/matlab/@dynDate/lt.m
index a2f3941c7..0aef47153 100644
--- a/matlab/@dynDate/lt.m
+++ b/matlab/@dynDate/lt.m
@@ -29,7 +29,7 @@ function c = lt(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/max.m b/matlab/@dynDate/max.m
index daa62831f..451c050f6 100644
--- a/matlab/@dynDate/max.m
+++ b/matlab/@dynDate/max.m
@@ -29,7 +29,7 @@ function c = max(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/min.m b/matlab/@dynDate/min.m
index df8c0c9c3..78c7281af 100644
--- a/matlab/@dynDate/min.m
+++ b/matlab/@dynDate/min.m
@@ -29,7 +29,7 @@ function c = min(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/minus.m b/matlab/@dynDate/minus.m
index 3559af74d..248cb679c 100644
--- a/matlab/@dynDate/minus.m
+++ b/matlab/@dynDate/minus.m
@@ -31,7 +31,7 @@ function c = minus(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -107,4 +107,4 @@ end
%$ t(4) = dyn_assert(e4,41);
%$ t(4) = dyn_assert(e5,19);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/ne.m b/matlab/@dynDate/ne.m
index 9a647839a..d6ae7f1f1 100644
--- a/matlab/@dynDate/ne.m
+++ b/matlab/@dynDate/ne.m
@@ -29,7 +29,7 @@ function c = ne(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/plus.m b/matlab/@dynDate/plus.m
index 968e4e610..e110596bd 100644
--- a/matlab/@dynDate/plus.m
+++ b/matlab/@dynDate/plus.m
@@ -31,7 +31,7 @@ function c = plus(a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -104,4 +104,4 @@ end
%$ t(3) = dyn_assert(e3.time,d3.time);
%$ t(4) = dyn_assert(e4.time,d4.time);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDate/subsref.m b/matlab/@dynDate/subsref.m
index 486983153..6186eb6f0 100644
--- a/matlab/@dynDate/subsref.m
+++ b/matlab/@dynDate/subsref.m
@@ -32,7 +32,7 @@ function B = subsref(A,S)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -235,4 +235,4 @@ end
%$ t(1) = dyn_assert(qq.freq,4);
%$ t(2) = dyn_assert(time,[1938,4]);
%$ T = all(t);
-%@eof:5
\ No newline at end of file
+%@eof:5
diff --git a/matlab/@dynDate/uminus.m b/matlab/@dynDate/uminus.m
index 3e29d0100..814afe12e 100644
--- a/matlab/@dynDate/uminus.m
+++ b/matlab/@dynDate/uminus.m
@@ -29,7 +29,7 @@ function b = uminus(a)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDate/uplus.m b/matlab/@dynDate/uplus.m
index 60555f36c..054057215 100644
--- a/matlab/@dynDate/uplus.m
+++ b/matlab/@dynDate/uplus.m
@@ -29,7 +29,7 @@ function b = uplus(a)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -115,4 +115,4 @@ end
%$ t(6) = dyn_assert(e6.time,[1951 1]);
%$ t(7) = dyn_assert(e7.time,[2001 1]);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/@dynDates/append.m b/matlab/@dynDates/append.m
index 8a64cc5f4..651b95e0a 100644
--- a/matlab/@dynDates/append.m
+++ b/matlab/@dynDates/append.m
@@ -30,7 +30,7 @@ function dd = append(dd,a)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDates/sort.m b/matlab/@dynDates/sort.m
index a0ff995ea..52467bfc4 100644
--- a/matlab/@dynDates/sort.m
+++ b/matlab/@dynDates/sort.m
@@ -28,7 +28,7 @@ function dd = sort(dd)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynDates/unique.m b/matlab/@dynDates/unique.m
index b1ab9f4c4..b37292fb8 100644
--- a/matlab/@dynDates/unique.m
+++ b/matlab/@dynDates/unique.m
@@ -28,7 +28,7 @@ function dd = unique(dd)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/dynSeries.m b/matlab/@dynSeries/dynSeries.m
index 5566d3cee..94114f868 100644
--- a/matlab/@dynSeries/dynSeries.m
+++ b/matlab/@dynSeries/dynSeries.m
@@ -59,7 +59,7 @@ function ts = dynSeries(varargin)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/exp.m b/matlab/@dynSeries/exp.m
index 58c4f71a5..3690ae4bb 100644
--- a/matlab/@dynSeries/exp.m
+++ b/matlab/@dynSeries/exp.m
@@ -27,7 +27,7 @@ function ts = exp(ts)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/extract.m b/matlab/@dynSeries/extract.m
index a22c211f6..547501ea6 100644
--- a/matlab/@dynSeries/extract.m
+++ b/matlab/@dynSeries/extract.m
@@ -1,7 +1,7 @@
function A = extract(B,varargin)
% Extract some variables from a database.
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/horzcat.m b/matlab/@dynSeries/horzcat.m
index 132bf220c..97ea8ebc6 100644
--- a/matlab/@dynSeries/horzcat.m
+++ b/matlab/@dynSeries/horzcat.m
@@ -39,7 +39,7 @@ function a = horzcat(varargin)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/isempty.m b/matlab/@dynSeries/isempty.m
index b6f2fbb8c..049ceb7b9 100644
--- a/matlab/@dynSeries/isempty.m
+++ b/matlab/@dynSeries/isempty.m
@@ -20,7 +20,7 @@ function b = isempty(A)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
@@ -39,4 +39,4 @@ function b = isempty(A)
% AUTHOR(S) stephane DOT adjemian AT univ DASH lemans DOT fr
-b = isempty(A.data) && isequal(A.nobs,0) && isequal(A.vobs,0);
\ No newline at end of file
+b = isempty(A.data) && isequal(A.nobs,0) && isequal(A.vobs,0);
diff --git a/matlab/@dynSeries/log.m b/matlab/@dynSeries/log.m
index 563dfbcbb..dd4127e9b 100644
--- a/matlab/@dynSeries/log.m
+++ b/matlab/@dynSeries/log.m
@@ -26,7 +26,7 @@ function ts = log(ts)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/minus.m b/matlab/@dynSeries/minus.m
index fed87a01c..0731729f0 100644
--- a/matlab/@dynSeries/minus.m
+++ b/matlab/@dynSeries/minus.m
@@ -22,7 +22,7 @@ function A = minus(B,C)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/mrdivide.m b/matlab/@dynSeries/mrdivide.m
index bda90a998..cabc91636 100644
--- a/matlab/@dynSeries/mrdivide.m
+++ b/matlab/@dynSeries/mrdivide.m
@@ -22,7 +22,7 @@ function A = mrdivide(B,C)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/mtimes.m b/matlab/@dynSeries/mtimes.m
index b92c3d726..b81cd4145 100644
--- a/matlab/@dynSeries/mtimes.m
+++ b/matlab/@dynSeries/mtimes.m
@@ -22,7 +22,7 @@ function A = mtimes(B,C)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/numel.m b/matlab/@dynSeries/numel.m
index e53acd80a..85cd84962 100644
--- a/matlab/@dynSeries/numel.m
+++ b/matlab/@dynSeries/numel.m
@@ -1,6 +1,6 @@
function n = numel(obj, varargin)
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -17,4 +17,4 @@ function n = numel(obj, varargin)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see .
-n = 1;
\ No newline at end of file
+n = 1;
diff --git a/matlab/@dynSeries/plus.m b/matlab/@dynSeries/plus.m
index 1cebc04ff..9d6482c8f 100644
--- a/matlab/@dynSeries/plus.m
+++ b/matlab/@dynSeries/plus.m
@@ -22,7 +22,7 @@ function A = plus(B,C)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/private/horzcat2.m b/matlab/@dynSeries/private/horzcat2.m
index 28668db57..b25728f48 100644
--- a/matlab/@dynSeries/private/horzcat2.m
+++ b/matlab/@dynSeries/private/horzcat2.m
@@ -39,7 +39,7 @@ function a = horzcat2(b,c)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -109,4 +109,4 @@ else
a.data = [b.data, c.data];
a.time = unique(b.time.append(c.time));
end
-a.nobs = size(a.data,1);
\ No newline at end of file
+a.nobs = size(a.data,1);
diff --git a/matlab/@dynSeries/qdiff.m b/matlab/@dynSeries/qdiff.m
index e6b622de7..e11dd3b5f 100644
--- a/matlab/@dynSeries/qdiff.m
+++ b/matlab/@dynSeries/qdiff.m
@@ -22,7 +22,7 @@ function us = qdiff(ts)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -104,4 +104,4 @@ end
%$ end
%$
%$ T = all(t);
-%@eof:2
\ No newline at end of file
+%@eof:2
diff --git a/matlab/@dynSeries/qgrowth.m b/matlab/@dynSeries/qgrowth.m
index a1118f35b..8823e70ca 100644
--- a/matlab/@dynSeries/qgrowth.m
+++ b/matlab/@dynSeries/qgrowth.m
@@ -22,7 +22,7 @@ function us = qgrowth(ts)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -104,4 +104,4 @@ end
%$ end
%$
%$ T = all(t);
-%@eof:2
\ No newline at end of file
+%@eof:2
diff --git a/matlab/@dynSeries/save.m b/matlab/@dynSeries/save.m
index 205066180..f2ea10a69 100644
--- a/matlab/@dynSeries/save.m
+++ b/matlab/@dynSeries/save.m
@@ -1,6 +1,23 @@
function save(A,basename,format)
% Saves a dynSeries object on disk.
-
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
if nargin<3 || isempty(format)
format = 'csv';
end
@@ -136,4 +153,4 @@ end
%$ end
%$
%$ T = all(t);
-%@eof:4
\ No newline at end of file
+%@eof:4
diff --git a/matlab/@dynSeries/subsasgn.m b/matlab/@dynSeries/subsasgn.m
index 55e351d0b..4eb6a2d10 100644
--- a/matlab/@dynSeries/subsasgn.m
+++ b/matlab/@dynSeries/subsasgn.m
@@ -8,7 +8,7 @@ function A = subsasgn(A,S,B)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/subsref.m b/matlab/@dynSeries/subsref.m
index 249cdbee5..a2de5cd6c 100644
--- a/matlab/@dynSeries/subsref.m
+++ b/matlab/@dynSeries/subsref.m
@@ -44,7 +44,7 @@ function B = subsref(A, S)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012, 2013 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/uminus.m b/matlab/@dynSeries/uminus.m
index edbd45b04..a8a6100f8 100644
--- a/matlab/@dynSeries/uminus.m
+++ b/matlab/@dynSeries/uminus.m
@@ -22,7 +22,7 @@ function A = uminus(B)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/ydiff.m b/matlab/@dynSeries/ydiff.m
index 5c8972ffd..fbaa0489c 100644
--- a/matlab/@dynSeries/ydiff.m
+++ b/matlab/@dynSeries/ydiff.m
@@ -23,7 +23,7 @@ function us = ydiff(ts)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/@dynSeries/ygrowth.m b/matlab/@dynSeries/ygrowth.m
index 626feb162..32a7161ef 100644
--- a/matlab/@dynSeries/ygrowth.m
+++ b/matlab/@dynSeries/ygrowth.m
@@ -22,7 +22,7 @@ function us = ygrowth(ts)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -138,4 +138,4 @@ end
%$ end
%$
%$ T = all(t);
-%@eof:3
\ No newline at end of file
+%@eof:3
diff --git a/matlab/AHessian.m b/matlab/AHessian.m
index 02cd7f0a3..2999ce715 100644
--- a/matlab/AHessian.m
+++ b/matlab/AHessian.m
@@ -8,7 +8,7 @@ function [AHess, DLIK, LIK] = AHessian(T,R,Q,H,P,Y,DT,DYss,DOm,DH,DP,start,mf,ka
% NOTE: the derivative matrices (DT,DR ...) are 3-dim. arrays with last
% dimension equal to the number of structural parameters
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/CheckPath.m b/matlab/CheckPath.m
index fde154c9a..7e6c89f81 100644
--- a/matlab/CheckPath.m
+++ b/matlab/CheckPath.m
@@ -11,7 +11,7 @@ function DirectoryName = CheckPath(type,dname)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2005-2011 Dynare Team
+% Copyright (C) 2005-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/CutSample.m b/matlab/CutSample.m
index 5caf2237d..cc166a5f0 100644
--- a/matlab/CutSample.m
+++ b/matlab/CutSample.m
@@ -14,7 +14,7 @@ function CutSample(M_, options_, estim_params_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2005-2011 Dynare Team
+% Copyright (C) 2005-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/PosteriorIRF.m b/matlab/PosteriorIRF.m
index b45293171..42e11640a 100644
--- a/matlab/PosteriorIRF.m
+++ b/matlab/PosteriorIRF.m
@@ -16,7 +16,7 @@ function PosteriorIRF(type)
% functions associated with it(the _core1 and _core2).
% See also the comments random_walk_metropolis_hastings.m funtion.
-% Copyright (C) 2006-2012 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/PosteriorIRF_core1.m b/matlab/PosteriorIRF_core1.m
index a08efa367..20294afa2 100644
--- a/matlab/PosteriorIRF_core1.m
+++ b/matlab/PosteriorIRF_core1.m
@@ -22,7 +22,7 @@ function myoutput=PosteriorIRF_core1(myinputs,fpar,B,whoiam, ThisMatlab)
% SPECIAL REQUIREMENTS.
% None.
%
-% Copyright (C) 2006-2012 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/adaptive_metropolis_hastings.m b/matlab/adaptive_metropolis_hastings.m
index 2b0cb451a..08edbc1d4 100644
--- a/matlab/adaptive_metropolis_hastings.m
+++ b/matlab/adaptive_metropolis_hastings.m
@@ -34,7 +34,7 @@ function record=adaptive_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv,mh
% Then the comments write here can be used for all the other pairs of
% parallel functions and also for management funtions.
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bvar_forecast.m b/matlab/bvar_forecast.m
index 3ce2883cd..3ee4aad95 100644
--- a/matlab/bvar_forecast.m
+++ b/matlab/bvar_forecast.m
@@ -11,7 +11,7 @@ function bvar_forecast(nlags)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2007-2012 Dynare Team
+% Copyright (C) 2007-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/cartesian_product_of_sets.m b/matlab/cartesian_product_of_sets.m
index 8781a7e60..8901886ff 100644
--- a/matlab/cartesian_product_of_sets.m
+++ b/matlab/cartesian_product_of_sets.m
@@ -31,7 +31,7 @@ function cprod = cartesian_product_of_sets(varargin)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/check_model.m b/matlab/check_model.m
index 8ab34e393..3edf7b746 100644
--- a/matlab/check_model.m
+++ b/matlab/check_model.m
@@ -1,6 +1,6 @@
function check_model(DynareModel)
-% Copyright (C) 2005-2011 Dynare Team
+% Copyright (C) 2005-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/check_posterior_analysis_data.m b/matlab/check_posterior_analysis_data.m
index f3f7a6615..96c9e78ae 100644
--- a/matlab/check_posterior_analysis_data.m
+++ b/matlab/check_posterior_analysis_data.m
@@ -1,6 +1,6 @@
function [info,description] = check_posterior_analysis_data(type,M_)
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/conditional_variance_decomposition_mc_analysis.m b/matlab/conditional_variance_decomposition_mc_analysis.m
index e896f10a7..004239800 100644
--- a/matlab/conditional_variance_decomposition_mc_analysis.m
+++ b/matlab/conditional_variance_decomposition_mc_analysis.m
@@ -3,7 +3,7 @@ function oo_ = ...
% This function analyses the (posterior or prior) distribution of the
% endogenous conditional variance decomposition.
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/correlation_mc_analysis.m b/matlab/correlation_mc_analysis.m
index 3625955da..4654b50bd 100644
--- a/matlab/correlation_mc_analysis.m
+++ b/matlab/correlation_mc_analysis.m
@@ -2,7 +2,7 @@ function oo_ = correlation_mc_analysis(SampleSize,type,dname,fname,vartan,nvar,v
% This function analyses the (posterior or prior) distribution of the
% endogenous variables correlation function.
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/cosn.m b/matlab/cosn.m
index 216efd193..8fcf7fb79 100644
--- a/matlab/cosn.m
+++ b/matlab/cosn.m
@@ -7,7 +7,7 @@ function [co, b, yhat] = cosn(H);
% Not the same as multiple correlation coefficient since the means are not
% zero
%
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/covariance_mc_analysis.m b/matlab/covariance_mc_analysis.m
index b35060e40..a24ec665e 100644
--- a/matlab/covariance_mc_analysis.m
+++ b/matlab/covariance_mc_analysis.m
@@ -2,7 +2,7 @@ function oo_ = covariance_mc_analysis(NumberOfSimulations,type,dname,fname,varta
% This function analyses the (posterior or prior) distribution of the
% endogenous variables covariance matrix.
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/cubature_with_gaussian_weight.m b/matlab/cubature_with_gaussian_weight.m
index d62cc74cf..032ed196f 100644
--- a/matlab/cubature_with_gaussian_weight.m
+++ b/matlab/cubature_with_gaussian_weight.m
@@ -34,7 +34,7 @@ function [nodes, weights] = cubature_with_gaussian_weight(d,n,method)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/disp_identification.m b/matlab/disp_identification.m
index ccc62ced7..0badae976 100644
--- a/matlab/disp_identification.m
+++ b/matlab/disp_identification.m
@@ -1,6 +1,6 @@
function disp_identification(pdraws, idemodel, idemoments, name, advanced)
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/disp_th_moments.m b/matlab/disp_th_moments.m
index cf3397a64..6db80e839 100644
--- a/matlab/disp_th_moments.m
+++ b/matlab/disp_th_moments.m
@@ -1,7 +1,7 @@
function disp_th_moments(dr,var_list)
% Display theoretical moments of variables
-% Copyright (C) 2001-2011 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/display_conditional_variance_decomposition.m b/matlab/display_conditional_variance_decomposition.m
index ed4f334fc..d0b2e6536 100644
--- a/matlab/display_conditional_variance_decomposition.m
+++ b/matlab/display_conditional_variance_decomposition.m
@@ -16,7 +16,7 @@ function oo_ = display_conditional_variance_decomposition(Steps, SubsetOfVariabl
% [1] The covariance matrix of the state innovations needs to be diagonal.
% [2] In this version, absence of measurement errors is assumed...
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dr_block.m b/matlab/dr_block.m
index 5c9c1b216..fd63743bf 100644
--- a/matlab/dr_block.m
+++ b/matlab/dr_block.m
@@ -33,7 +33,7 @@ function [dr,info,M_,options_,oo_] = dr_block(dr,task,M_,options_,oo_)
% none.
%
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dsge_likelihood.m b/matlab/dsge_likelihood.m
index 7f52229b8..225993af0 100644
--- a/matlab/dsge_likelihood.m
+++ b/matlab/dsge_likelihood.m
@@ -111,7 +111,7 @@ function [fval,DLIK,Hess,exit_flag,ys,trend_coeff,info,Model,DynareOptions,Bayes
%! @end deftypefn
%@eod:
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn_forecast.m b/matlab/dyn_forecast.m
index 1804b9a67..bea68db53 100644
--- a/matlab/dyn_forecast.m
+++ b/matlab/dyn_forecast.m
@@ -16,7 +16,7 @@ function info = dyn_forecast(var_list,task)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynare.m b/matlab/dynare.m
index 56d4a6dc6..acf6c43d2 100644
--- a/matlab/dynare.m
+++ b/matlab/dynare.m
@@ -16,7 +16,7 @@ function dynare(fname, varargin)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2012 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynare_estimation.m b/matlab/dynare_estimation.m
index eb33130ad..4627a54b2 100644
--- a/matlab/dynare_estimation.m
+++ b/matlab/dynare_estimation.m
@@ -11,7 +11,7 @@ function dynare_estimation(var_list,dname)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m
index bf9a7a292..14daf9040 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -18,7 +18,7 @@ function [dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_, fake] =
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynare_identification.m b/matlab/dynare_identification.m
index 9703de917..47d6133fa 100644
--- a/matlab/dynare_identification.m
+++ b/matlab/dynare_identification.m
@@ -19,7 +19,7 @@ function [pdraws, TAU, GAM, LRE, gp, H, JJ] = dynare_identification(options_iden
% main
%
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynare_sensitivity.m b/matlab/dynare_sensitivity.m
index e098db41d..719cbf02b 100644
--- a/matlab/dynare_sensitivity.m
+++ b/matlab/dynare_sensitivity.m
@@ -4,7 +4,7 @@ function x0=dynare_sensitivity(options_gsa)
% Reference:
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/extended_path.m b/matlab/ep/extended_path.m
index 7782a53d3..981d84706 100644
--- a/matlab/ep/extended_path.m
+++ b/matlab/ep/extended_path.m
@@ -14,7 +14,7 @@ function time_series = extended_path(initial_conditions,sample_size)
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model.m b/matlab/ep/solve_stochastic_perfect_foresight_model.m
index d498e5586..12b8b37cf 100644
--- a/matlab/ep/solve_stochastic_perfect_foresight_model.m
+++ b/matlab/ep/solve_stochastic_perfect_foresight_model.m
@@ -1,6 +1,6 @@
function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model(endo_simul,exo_simul,pfm,nnodes,order)
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
index 54184ef10..f732792e5 100644
--- a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
+++ b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
@@ -1,6 +1,6 @@
function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model_1(endo_simul,exo_simul,pfm,nnodes,order)
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/fastgensylv.m b/matlab/fastgensylv.m
index 40166673b..332e46f28 100644
--- a/matlab/fastgensylv.m
+++ b/matlab/fastgensylv.m
@@ -111,19 +111,3 @@ end
%
% SPECIAL REQUIREMENTS
% none.
-% Copyright (C) 1996-2012 Dynare Team
-%
-% This file is part of Dynare.
-%
-% Dynare is free software: you can redistribute it and/or modify
-% it under the terms of the GNU General Public License as published by
-% the Free Software Foundation, either version 3 of the License, or
-% (at your option) any later version.
-%
-% Dynare is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-% GNU General Public License for more details.
-%
-% You should have received a copy of the GNU General Public License
-% along with Dynare. If not, see .
diff --git a/matlab/forecast_graphs.m b/matlab/forecast_graphs.m
index 3731ad3db..f95b77541 100644
--- a/matlab/forecast_graphs.m
+++ b/matlab/forecast_graphs.m
@@ -1,6 +1,6 @@
function forecast_graphs(var_list)
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gauss_hermite_weights_and_nodes.m b/matlab/gauss_hermite_weights_and_nodes.m
index 40287cb71..70d5abae4 100644
--- a/matlab/gauss_hermite_weights_and_nodes.m
+++ b/matlab/gauss_hermite_weights_and_nodes.m
@@ -31,7 +31,7 @@ function [nodes,weights] = gauss_hermite_weights_and_nodes(n)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/getJJ.m b/matlab/getJJ.m
index fab0f0d99..1facc956b 100644
--- a/matlab/getJJ.m
+++ b/matlab/getJJ.m
@@ -1,6 +1,6 @@
function [JJ, H, gam, gp, dA, dOm, dYss] = getJJ(A, B, M_,oo_,options_,kronflag,indx,indexo,mf,nlags,useautocorr)
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/global_initialization.m b/matlab/global_initialization.m
index b4938047a..4d73624bf 100644
--- a/matlab/global_initialization.m
+++ b/matlab/global_initialization.m
@@ -11,7 +11,7 @@ function global_initialization()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/graph_decomp.m b/matlab/graph_decomp.m
index 7afc3d775..f69c8d833 100644
--- a/matlab/graph_decomp.m
+++ b/matlab/graph_decomp.m
@@ -1,7 +1,7 @@
function []=graph_decomp(z,shock_names,endo_names,i_var,initial_date,DynareModel,DynareOptions)
%function []=graph_decomp(z,varlist,initial_period,freq)
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/filt_mc_.m b/matlab/gsa/filt_mc_.m
index 5b35e919f..5ced8be59 100644
--- a/matlab/gsa/filt_mc_.m
+++ b/matlab/gsa/filt_mc_.m
@@ -16,7 +16,7 @@ function [rmse_MC, ixx] = filt_mc_(OutDir,options_gsa_,dataset_)
% Reference:
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/map_ident_.m b/matlab/gsa/map_ident_.m
index 4ca202623..591c547c2 100644
--- a/matlab/gsa/map_ident_.m
+++ b/matlab/gsa/map_ident_.m
@@ -1,6 +1,6 @@
function map_ident_(OutputDirectoryName,opt_gsa)
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/redform_map.m b/matlab/gsa/redform_map.m
index d85607066..eb6c8e0cf 100644
--- a/matlab/gsa/redform_map.m
+++ b/matlab/gsa/redform_map.m
@@ -19,7 +19,7 @@ function redform_map(dirname,options_gsa_)
% Reference:
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/redform_screen.m b/matlab/gsa/redform_screen.m
index ef8add9f3..cdbd2d596 100644
--- a/matlab/gsa/redform_screen.m
+++ b/matlab/gsa/redform_screen.m
@@ -14,7 +14,7 @@ function redform_screen(dirname, options_gsa_)
% Reference:
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/stab_map_.m b/matlab/gsa/stab_map_.m
index 7cc03c53a..de220c3c8 100644
--- a/matlab/gsa/stab_map_.m
+++ b/matlab/gsa/stab_map_.m
@@ -38,7 +38,7 @@ function x0 = stab_map_(OutputDirectoryName,opt_gsa)
% Reference:
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/stab_map_1.m b/matlab/gsa/stab_map_1.m
index 34b6b7331..314c3ddc6 100644
--- a/matlab/gsa/stab_map_1.m
+++ b/matlab/gsa/stab_map_1.m
@@ -24,7 +24,7 @@ function [proba, dproba] = stab_map_1(lpmat, ibehaviour, inonbehaviour, aname, i
% Reference:
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/stab_map_2.m b/matlab/gsa/stab_map_2.m
index d9363ea60..dcb4bb641 100644
--- a/matlab/gsa/stab_map_2.m
+++ b/matlab/gsa/stab_map_2.m
@@ -9,7 +9,7 @@ function stab_map_2(x,alpha2, pvalue, fnam, dirname,xparam1,figtitle)
% Reference:
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ident_bruteforce.m b/matlab/ident_bruteforce.m
index a5f6094b0..57a54984c 100644
--- a/matlab/ident_bruteforce.m
+++ b/matlab/ident_bruteforce.m
@@ -9,7 +9,7 @@ function [pars, cosnJ] = ident_bruteforce(J,n,TeX, pnames_TeX)
% pars : cell array with groupf of params for each column of J for 1 to n
% cosnJ : the cosn of each column with the selected group of columns
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/identification_analysis.m b/matlab/identification_analysis.m
index 1e9bda93f..07f5ce50f 100644
--- a/matlab/identification_analysis.m
+++ b/matlab/identification_analysis.m
@@ -25,7 +25,7 @@ function [ide_hess, ide_moments, ide_model, ide_lre, derivatives_info, info] = i
% SPECIAL REQUIREMENTS
% None
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/independent_metropolis_hastings.m b/matlab/independent_metropolis_hastings.m
index 8e24ad178..afbe03701 100644
--- a/matlab/independent_metropolis_hastings.m
+++ b/matlab/independent_metropolis_hastings.m
@@ -22,7 +22,7 @@ function record=independent_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv
% PARALLEL CONTEXT
% See the comment in random_walk_metropolis_hastings.m funtion.
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/independent_metropolis_hastings_core.m b/matlab/independent_metropolis_hastings_core.m
index 83ec21127..e6c8c3f5e 100644
--- a/matlab/independent_metropolis_hastings_core.m
+++ b/matlab/independent_metropolis_hastings_core.m
@@ -16,7 +16,7 @@ function myoutput = independent_metropolis_hastings_core(myinputs,fblck,nblck,wh
% SPECIAL REQUIREMENTS.
% None.
%
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/k_order_perturbation.m b/matlab/k_order_perturbation.m
index 566a28117..96b7ba5f6 100644
--- a/matlab/k_order_perturbation.m
+++ b/matlab/k_order_perturbation.m
@@ -51,3 +51,20 @@
% k_order_peturbation is a compiled MEX function. It's source code is in
% dynare/mex/sources/k_order_perturbation.cc and it uses code provided by
% dynare++
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
diff --git a/matlab/kalman/likelihood/kalman_filter.m b/matlab/kalman/likelihood/kalman_filter.m
index e04348b78..8dee95f06 100644
--- a/matlab/kalman/likelihood/kalman_filter.m
+++ b/matlab/kalman/likelihood/kalman_filter.m
@@ -71,7 +71,7 @@ function [LIK, LIKK, a, P] = kalman_filter(Y,start,last,a,P,kalman_tol,riccati_t
%! @end deftypefn
%@eod:
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kalman/likelihood/kalman_filter_d.m b/matlab/kalman/likelihood/kalman_filter_d.m
index c90f157fc..ced4d1305 100644
--- a/matlab/kalman/likelihood/kalman_filter_d.m
+++ b/matlab/kalman/likelihood/kalman_filter_d.m
@@ -31,7 +31,7 @@ function [dLIK,dlik,a,Pstar] = kalman_filter_d(Y, start, last, a, Pinf, Pstar, k
% Models", S.J. Koopman and J. Durbin (2003, in Journal of Time Series
% Analysis, vol. 24(1), pp. 85-98).
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kronecker/A_times_B_kronecker_C.m b/matlab/kronecker/A_times_B_kronecker_C.m
index e46306f0f..8e0837d3d 100644
--- a/matlab/kronecker/A_times_B_kronecker_C.m
+++ b/matlab/kronecker/A_times_B_kronecker_C.m
@@ -43,7 +43,7 @@ function [D, err] = A_times_B_kronecker_C(A,B,C,fake)
%! @end deftypefn
%@eod:
-% Copyright (C) 1996-2011 Dynare Team
+% Copyright (C) 1996-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m b/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m
index 09be1b7f9..fd6059f84 100644
--- a/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m
+++ b/matlab/kronecker/sparse_hessian_times_B_kronecker_C.m
@@ -45,7 +45,7 @@ function [D, err] = sparse_hessian_times_B_kronecker_C(varargin)
%! @end deftypefn
%@eod:
-% Copyright (C) 1996-2011 Dynare Team
+% Copyright (C) 1996-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/load_csv_file_data.m b/matlab/load_csv_file_data.m
index 8a62ba613..84e7f6a6f 100644
--- a/matlab/load_csv_file_data.m
+++ b/matlab/load_csv_file_data.m
@@ -38,7 +38,7 @@ function [freq, init, data, varlist] = load_csv_file_data(file, withtime, withna
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/load_m_file_data.m b/matlab/load_m_file_data.m
index 30a5d4434..31526f986 100644
--- a/matlab/load_m_file_data.m
+++ b/matlab/load_m_file_data.m
@@ -32,8 +32,7 @@ function [freq,init,data,varlist,tex] = load_m_file_data(file)
%! @end deftypefn
%@eod:
-
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -153,4 +152,4 @@ end
%$ t(8) = dyn_assert(data(:,1),[1;2;3;4;5]);
%$ t(9) = dyn_assert(data(:,2),[2;3;4;5;6]);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/load_mat_file_data.m b/matlab/load_mat_file_data.m
index 01f3f73fb..876cb293d 100644
--- a/matlab/load_mat_file_data.m
+++ b/matlab/load_mat_file_data.m
@@ -32,8 +32,7 @@ function [freq,init,data,varlist,tex] = load_mat_file_data(file)
%! @end deftypefn
%@eod:
-
-% Copyright (C) 2012, 2013 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
@@ -125,4 +124,4 @@ end
%$ t(8) = dyn_assert(data(:,1),[1;2;3;4;5]);
%$ t(9) = dyn_assert(data(:,2),[2;3;4;5;6]);
%$ T = all(t);
-%@eof:1
\ No newline at end of file
+%@eof:1
diff --git a/matlab/maximize_prior_density.m b/matlab/maximize_prior_density.m
index cee0cc394..09cb3d774 100644
--- a/matlab/maximize_prior_density.m
+++ b/matlab/maximize_prior_density.m
@@ -15,7 +15,7 @@ function [xparams,lpd,hessian] = ...
% lpd [double] scalar, value of the logged prior density at the mode.
% hessian [double] matrix, Hessian matrix at the prior mode.
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/metropolis_hastings_initialization.m b/matlab/metropolis_hastings_initialization.m
index e56ddcf5f..3e75c78da 100644
--- a/matlab/metropolis_hastings_initialization.m
+++ b/matlab/metropolis_hastings_initialization.m
@@ -23,7 +23,7 @@ function [ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck,
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/mh_autocorrelation_function.m b/matlab/mh_autocorrelation_function.m
index a0a479c7c..ff71f38dc 100644
--- a/matlab/mh_autocorrelation_function.m
+++ b/matlab/mh_autocorrelation_function.m
@@ -18,7 +18,7 @@ function mh_autocorrelation_function(options_,M_,estim_params_,type,blck,name1,n
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/minus_logged_prior_density.m b/matlab/minus_logged_prior_density.m
index ef883e005..2697a474b 100644
--- a/matlab/minus_logged_prior_density.m
+++ b/matlab/minus_logged_prior_density.m
@@ -12,7 +12,7 @@ function [fval,fake_1, fake_2, exit_flag ] = minus_logged_prior_density(xparams,
% OUTPUTS
% f [double] value of minus the logged prior density.
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/mode_check.m b/matlab/mode_check.m
index 1be56baca..fdbd290b0 100644
--- a/matlab/mode_check.m
+++ b/matlab/mode_check.m
@@ -40,7 +40,7 @@ function mode_check(fun,x,hessian,DynareDataset,DynareOptions,Model,EstimatedPar
%! @end deftypefn
%@eod:
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/sbvar.m b/matlab/ms-sbvar/sbvar.m
index 3d14a8ae0..00762085d 100644
--- a/matlab/ms-sbvar/sbvar.m
+++ b/matlab/ms-sbvar/sbvar.m
@@ -15,7 +15,7 @@ function sbvar(M, options)
% none.
%
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/newrat.m b/matlab/newrat.m
index 7feb73af3..3ce1dbd10 100644
--- a/matlab/newrat.m
+++ b/matlab/newrat.m
@@ -23,7 +23,7 @@ function [xparam1, hh, gg, fval, igg] = newrat(func0, x, analytic_derivation, ft
%
% varargin = list of parameters for func0
-% Copyright (C) 2004-2012 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/non_linear_dsge_likelihood.m b/matlab/non_linear_dsge_likelihood.m
index f7656a2cc..326bf297e 100644
--- a/matlab/non_linear_dsge_likelihood.m
+++ b/matlab/non_linear_dsge_likelihood.m
@@ -101,7 +101,7 @@ function [fval,ys,trend_coeff,exit_flag,info,Model,DynareOptions,BayesInfo,Dynar
%! @end deftypefn
%@eod:
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/AnalyseComputationalEnvironment.m b/matlab/parallel/AnalyseComputationalEnvironment.m
index f3bf88c36..6d5d07430 100644
--- a/matlab/parallel/AnalyseComputationalEnvironment.m
+++ b/matlab/parallel/AnalyseComputationalEnvironment.m
@@ -82,7 +82,7 @@ dynareParallelMkDir(RemoteTmpFolder,DataInput);
% Currently when errors are detected execution simply stops and users can
% fix configuration errors according to the error type.
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/GiveCPUnumber.m b/matlab/parallel/GiveCPUnumber.m
index c858d258f..3176bb1a5 100644
--- a/matlab/parallel/GiveCPUnumber.m
+++ b/matlab/parallel/GiveCPUnumber.m
@@ -13,7 +13,7 @@ function [nCPU]= GiveCPUnumber (ComputerInformations, Environment)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/InitializeComputationalEnvironment.m b/matlab/parallel/InitializeComputationalEnvironment.m
index f5bc691a9..22cc49c83 100644
--- a/matlab/parallel/InitializeComputationalEnvironment.m
+++ b/matlab/parallel/InitializeComputationalEnvironment.m
@@ -10,7 +10,7 @@ function InitializeComputationalEnvironment()
% OUTPUTS
% None
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/closeSlave.m b/matlab/parallel/closeSlave.m
index cb3c84ae4..339d776bb 100644
--- a/matlab/parallel/closeSlave.m
+++ b/matlab/parallel/closeSlave.m
@@ -15,7 +15,7 @@ function closeSlave(Parallel,TmpFolder,partial),
% OUTPUTS
% None
%
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelDelete.m b/matlab/parallel/dynareParallelDelete.m
index 403e40e29..7efbff020 100644
--- a/matlab/parallel/dynareParallelDelete.m
+++ b/matlab/parallel/dynareParallelDelete.m
@@ -11,7 +11,7 @@ function dynareParallelDelete(fname,pname,Parallel)
% None
%
%
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelDeleteNewFiles.m b/matlab/parallel/dynareParallelDeleteNewFiles.m
index fc0975b13..e28cd77da 100644
--- a/matlab/parallel/dynareParallelDeleteNewFiles.m
+++ b/matlab/parallel/dynareParallelDeleteNewFiles.m
@@ -15,7 +15,7 @@ function dynareParallelDeleteNewFiles(PRCDir,Parallel,PRCDirSnapshot,varargin)
%
%
%
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelDir.m b/matlab/parallel/dynareParallelDir.m
index ac8780716..ba31dafe0 100644
--- a/matlab/parallel/dynareParallelDir.m
+++ b/matlab/parallel/dynareParallelDir.m
@@ -10,7 +10,7 @@ function dirlist = dynareParallelDir(filename,PRCDir,Parallel)
% OUTPUTS
% o dirlist [] ...
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelGetFiles.m b/matlab/parallel/dynareParallelGetFiles.m
index 531594bee..bfffaf972 100644
--- a/matlab/parallel/dynareParallelGetFiles.m
+++ b/matlab/parallel/dynareParallelGetFiles.m
@@ -14,7 +14,7 @@ function dynareParallelGetFiles(NamFileInput,PRCDir,Parallel)
%
%
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelGetNewFiles.m b/matlab/parallel/dynareParallelGetNewFiles.m
index be9a08f8e..5f7eb43a3 100644
--- a/matlab/parallel/dynareParallelGetNewFiles.m
+++ b/matlab/parallel/dynareParallelGetNewFiles.m
@@ -15,7 +15,7 @@ function [PRCDirSnapshot]=dynareParallelGetNewFiles(PRCDir,Parallel,PRCDirSnapsh
%
%
%
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelListAllFiles.m b/matlab/parallel/dynareParallelListAllFiles.m
index 8a51b13c6..53e893e15 100644
--- a/matlab/parallel/dynareParallelListAllFiles.m
+++ b/matlab/parallel/dynareParallelListAllFiles.m
@@ -14,7 +14,7 @@ function fileList = dynareParallelListAllFiles(dirName,PRCDir,Parallel)
% OUTPUTS
% o fileList [] ...
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelMkDir.m b/matlab/parallel/dynareParallelMkDir.m
index 1698113a7..7ebde3819 100644
--- a/matlab/parallel/dynareParallelMkDir.m
+++ b/matlab/parallel/dynareParallelMkDir.m
@@ -10,7 +10,7 @@ function dynareParallelMkDir(PRCDir,Parallel)
% None
%
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelRmDir.m b/matlab/parallel/dynareParallelRmDir.m
index 2bba6bc5c..6322f9b8a 100644
--- a/matlab/parallel/dynareParallelRmDir.m
+++ b/matlab/parallel/dynareParallelRmDir.m
@@ -11,7 +11,7 @@ function dynareParallelRmDir(PRCDir,Parallel)
%
%
%
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelSendFiles.m b/matlab/parallel/dynareParallelSendFiles.m
index a1a857ae4..b1dc9cc28 100644
--- a/matlab/parallel/dynareParallelSendFiles.m
+++ b/matlab/parallel/dynareParallelSendFiles.m
@@ -14,7 +14,7 @@ function dynareParallelSendFiles(NamFileInput,PRCDir,Parallel)
%
%
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/masterParallel.m b/matlab/parallel/masterParallel.m
index df3afa033..a7c2b7082 100644
--- a/matlab/parallel/masterParallel.m
+++ b/matlab/parallel/masterParallel.m
@@ -53,7 +53,7 @@ function [fOutVar,nBlockPerCPU, totCPU] = masterParallel(Parallel,fBlock,nBlock,
% the number of CPU declared in "Parallel", if
% the number of required threads is lower)
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/particle/conditional_particle_filter.m b/matlab/particle/conditional_particle_filter.m
index 7969013ab..05b725534 100644
--- a/matlab/particle/conditional_particle_filter.m
+++ b/matlab/particle/conditional_particle_filter.m
@@ -37,7 +37,7 @@ function [LIK,lik] = conditional_particle_filter(ReducedForm,Y,start,DynareOptio
%
% NOTES
% The vector "lik" is used to evaluate the jacobian of the likelihood.
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/particle/fit_gaussian_mixture.m b/matlab/particle/fit_gaussian_mixture.m
index 2ae2089ea..e4c8e4c5d 100644
--- a/matlab/particle/fit_gaussian_mixture.m
+++ b/matlab/particle/fit_gaussian_mixture.m
@@ -1,4 +1,22 @@
function [StateMu,StateSqrtP,StateWeights] = fit_gaussian_mixture(X,StateMu,StateSqrtP,StateWeights,crit,niters,check)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
[dim,Ndata] = size(X);
M = size(StateMu,2) ;
if check % Ensure that covariances don't collapse
diff --git a/matlab/particle/gaussian_densities.m b/matlab/particle/gaussian_densities.m
index 3a770118d..0c89f0862 100644
--- a/matlab/particle/gaussian_densities.m
+++ b/matlab/particle/gaussian_densities.m
@@ -19,7 +19,7 @@ function IncrementalWeights = gaussian_densities(obs,mut_t,sqr_Pss_t_t,st_t_1,sq
%
% NOTES
% The vector "lik" is used to evaluate the jacobian of the likelihood.
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/particle/gaussian_filter_bank.m b/matlab/particle/gaussian_filter_bank.m
index fc0639042..41cd6aa02 100644
--- a/matlab/particle/gaussian_filter_bank.m
+++ b/matlab/particle/gaussian_filter_bank.m
@@ -19,7 +19,7 @@ function [PredictedStateMean,PredictedStateVarianceSquareRoot,StateVectorMean,St
%
% NOTES
% The vector "lik" is used to evaluate the jacobian of the likelihood.
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/particle/importance_sampling.m b/matlab/particle/importance_sampling.m
index a0c527757..403b6beb3 100644
--- a/matlab/particle/importance_sampling.m
+++ b/matlab/particle/importance_sampling.m
@@ -1,4 +1,22 @@
function State_Particles = importance_sampling(StateMuPost,StateSqrtPPost,StateWeightsPost,numP)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
[Xdim,Gsecond] = size(StateMuPost) ;
u = rand(numP,1);
[Nc,comp] = histc(u, cumsum([0; StateWeightsPost]));
diff --git a/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m b/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m
index 778e2d075..bc205d180 100644
--- a/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m
+++ b/matlab/particle/local_state_space_iteration/local_state_space_iteration_2.m
@@ -58,7 +58,7 @@ function [y,y_] = local_state_space_iteration_2(yhat,epsilon,ghx,ghu,constant,gh
%! @end deftypefn
%@eod:
-% Copyright (C) 2011, 2012 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/particle/measurement_equations.m b/matlab/particle/measurement_equations.m
index abcc4da7c..c00d8ebc4 100644
--- a/matlab/particle/measurement_equations.m
+++ b/matlab/particle/measurement_equations.m
@@ -1,4 +1,22 @@
function measure = measurement_equations(StateVectors,ReducedForm,DynareOptions)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
mf1 = ReducedForm.mf1;
ghx = ReducedForm.ghx(mf1,:);
ghu = ReducedForm.ghu(mf1,:);
diff --git a/matlab/particle/mykmeans.m b/matlab/particle/mykmeans.m
index 0be651936..56af5390b 100644
--- a/matlab/particle/mykmeans.m
+++ b/matlab/particle/mykmeans.m
@@ -1,4 +1,22 @@
function [c,SqrtVariance,Weights] = mykmeans(x,g,init,cod)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
[n,m] = size(x) ;
indold = zeros(1,m) ;
if cod==0
@@ -32,4 +50,4 @@ for i=1:g
u = bsxfun(@minus,temp,mean(temp,2)); %temp-mean(temp,1)' ;
SqrtVariance(:,:,i) = chol( (u*u')/size(temp,2) )' ;
Weights(i) = size(temp,2)/m ;
-end
\ No newline at end of file
+end
diff --git a/matlab/particle/neff.m b/matlab/particle/neff.m
index 84fefffac..5251b9f17 100644
--- a/matlab/particle/neff.m
+++ b/matlab/particle/neff.m
@@ -1,4 +1,21 @@
function n = neff(w)
% Evaluates the criterion for resampling
-n = dot(w,w);
\ No newline at end of file
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
+n = dot(w,w);
diff --git a/matlab/particle/probability.m b/matlab/particle/probability.m
index c451ea762..5d76e49ee 100644
--- a/matlab/particle/probability.m
+++ b/matlab/particle/probability.m
@@ -1,4 +1,22 @@
function [prior,likelihood,C,posterior] = probability(mu,sqrtP,prior,X)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
[dim,nov] = size(X);
M = size(mu,2) ;
if nargout>1
diff --git a/matlab/particle/probability2.m b/matlab/particle/probability2.m
index b253ba928..57ab65f8f 100644
--- a/matlab/particle/probability2.m
+++ b/matlab/particle/probability2.m
@@ -14,7 +14,7 @@ function [density] = probability2(mu,S,X)
%
% NOTES
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/particle/spherical_radial_sigma_points.m b/matlab/particle/spherical_radial_sigma_points.m
index 70eadb109..754caacfa 100644
--- a/matlab/particle/spherical_radial_sigma_points.m
+++ b/matlab/particle/spherical_radial_sigma_points.m
@@ -15,7 +15,7 @@ function [nodes,weights] = spherical_radial_sigma_points(n)
%
% NOTES
%
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/plot_icforecast.m b/matlab/plot_icforecast.m
index 98ad52b39..6284769fa 100644
--- a/matlab/plot_icforecast.m
+++ b/matlab/plot_icforecast.m
@@ -10,7 +10,7 @@ function plot_icforecast(Variables,periods,options_)
% SPECIAL REQUIREMENTS
% This routine has to be called after imcforecast.m.
-% Copyright (C) 2006-2012 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/plot_identification.m b/matlab/plot_identification.m
index 4cc2d3a88..b37129510 100644
--- a/matlab/plot_identification.m
+++ b/matlab/plot_identification.m
@@ -18,7 +18,7 @@ function plot_identification(params,idemoments,idehess,idemodel, idelre, advance
% SPECIAL REQUIREMENTS
% None
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/pm3.m b/matlab/pm3.m
index 91ec283ed..09488aa5e 100644
--- a/matlab/pm3.m
+++ b/matlab/pm3.m
@@ -4,7 +4,7 @@ function pm3(n1,n2,ifil,B,tit1,tit2,tit3,tit_tex,names1,names2,name3,DirectoryNa
% See also the comment in random_walk_metropolis_hastings.m funtion.
-% Copyright (C) 2007-2012 Dynare Team
+% Copyright (C) 2007-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/prior_bounds.m b/matlab/prior_bounds.m
index 623c79263..2d187c9a5 100644
--- a/matlab/prior_bounds.m
+++ b/matlab/prior_bounds.m
@@ -48,7 +48,7 @@ function bounds = prior_bounds(bayestopt,options)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/priordens.m b/matlab/priordens.m
index 5844d3c17..ddc6fa92f 100644
--- a/matlab/priordens.m
+++ b/matlab/priordens.m
@@ -14,7 +14,7 @@ function [logged_prior_density, dlprior, d2lprior] = priordens(x, pshape, p6, p7
% logged_prior_density [double] scalar, log of the prior density evaluated at x.
%
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/qr2.m b/matlab/qr2.m
index de429f36a..3c84db996 100644
--- a/matlab/qr2.m
+++ b/matlab/qr2.m
@@ -17,7 +17,7 @@ function [Q,R] = qr2(varargin)
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2009 Dynare Team
+% Copyright (C) 2006-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/random_walk_metropolis_hastings.m b/matlab/random_walk_metropolis_hastings.m
index 1c75e2102..f64603f69 100644
--- a/matlab/random_walk_metropolis_hastings.m
+++ b/matlab/random_walk_metropolis_hastings.m
@@ -39,7 +39,7 @@ function record=random_walk_metropolis_hastings(TargetFun,ProposalFun,xparam1,vv
% Then the comments write here can be used for all the other pairs of
% parallel functions and also for management funtions.
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/random_walk_metropolis_hastings_core.m b/matlab/random_walk_metropolis_hastings_core.m
index f47e97262..fa1b771d2 100644
--- a/matlab/random_walk_metropolis_hastings_core.m
+++ b/matlab/random_walk_metropolis_hastings_core.m
@@ -47,7 +47,7 @@ function myoutput = random_walk_metropolis_hastings_core(myinputs,fblck,nblck,wh
% parallel functions and also for management funtions.
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/rplot.m b/matlab/rplot.m
index d8f8c39be..50cda1bca 100644
--- a/matlab/rplot.m
+++ b/matlab/rplot.m
@@ -14,7 +14,7 @@ function rplot(s1)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/set_all_parameters.m b/matlab/set_all_parameters.m
index 14815a3d9..656ac34ed 100644
--- a/matlab/set_all_parameters.m
+++ b/matlab/set_all_parameters.m
@@ -33,7 +33,7 @@ function M = set_all_parameters(xparam1,estim_params,M)
%! @end deftypefn
%@eod:
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/setup_stochastic_perfect_foresight_model_solver.m b/matlab/setup_stochastic_perfect_foresight_model_solver.m
index a085db978..616281783 100644
--- a/matlab/setup_stochastic_perfect_foresight_model_solver.m
+++ b/matlab/setup_stochastic_perfect_foresight_model_solver.m
@@ -1,4 +1,21 @@
function pfm = setup_stochastic_perfect_foresight_model_solver(DynareModel,DynareOptions,DynareOutput,IntegrationMethod)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
pfm.lead_lag_incidence = DynareModel.lead_lag_incidence;
pfm.ny = DynareModel.endo_nbr;
@@ -82,4 +99,4 @@ if nargin>3 && DynareOptions.ep.stochastic.order
otherwise
error('setup_stochastic_perfect_foresight_model_solver:: Unknown integration algorithm!')
end
-end
\ No newline at end of file
+end
diff --git a/matlab/sim1.m b/matlab/sim1.m
index ed305dd70..35b5318b8 100644
--- a/matlab/sim1.m
+++ b/matlab/sim1.m
@@ -13,7 +13,7 @@ function sim1()
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 1996-2012 Dynare Team
+% Copyright (C) 1996-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/sim1_purely_backward.m b/matlab/sim1_purely_backward.m
index a561c4195..30e640971 100644
--- a/matlab/sim1_purely_backward.m
+++ b/matlab/sim1_purely_backward.m
@@ -1,7 +1,7 @@
function sim1_purely_backward()
% Performs deterministic simulation of a purely backward model
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/simul.m b/matlab/simul.m
index 9fbab7e41..007a0d77b 100644
--- a/matlab/simul.m
+++ b/matlab/simul.m
@@ -12,7 +12,7 @@ function simul()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 1996-2012 Dynare Team
+% Copyright (C) 1996-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/simult_.m b/matlab/simult_.m
index d2b948a97..86c38cc92 100644
--- a/matlab/simult_.m
+++ b/matlab/simult_.m
@@ -15,7 +15,7 @@ function y_=simult_(y0,dr,ex_,iorder)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2012 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/step_length_correction.m b/matlab/step_length_correction.m
index 7334aa2d6..8950bc764 100644
--- a/matlab/step_length_correction.m
+++ b/matlab/step_length_correction.m
@@ -1,6 +1,24 @@
function c = step_length_correction(x,scale,i)
+
+% Copyright (C) 2013 Dynare Team
+%
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
if isempty(scale)
c = 10^round(log10(abs(x)));
else
c = scale(i);
- end
\ No newline at end of file
+ end
diff --git a/matlab/stoch_simul.m b/matlab/stoch_simul.m
index e06b413bb..8102750aa 100644
--- a/matlab/stoch_simul.m
+++ b/matlab/stoch_simul.m
@@ -1,6 +1,6 @@
function info=stoch_simul(var_list)
-% Copyright (C) 2001-2012 Dynare Team
+% Copyright (C) 2001-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/stochastic_solvers.m b/matlab/stochastic_solvers.m
index c420bc99c..5e7a2ae1c 100644
--- a/matlab/stochastic_solvers.m
+++ b/matlab/stochastic_solvers.m
@@ -29,7 +29,7 @@ function [dr,info] = stochastic_solvers(dr,task,M_,options_,oo_)
% none.
%
-% Copyright (C) 1996-2012 Dynare Team
+% Copyright (C) 1996-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/thet2tau.m b/matlab/thet2tau.m
index 2fedb0806..b3db2c683 100644
--- a/matlab/thet2tau.m
+++ b/matlab/thet2tau.m
@@ -1,7 +1,7 @@
function tau = thet2tau(params, M_, oo_, indx, indexo, flagmoments,mf,nlags,useautocorr,iv)
%
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/compute_acov.m b/matlab/utilities/dataset/compute_acov.m
index a67f24e48..b1834e854 100644
--- a/matlab/utilities/dataset/compute_acov.m
+++ b/matlab/utilities/dataset/compute_acov.m
@@ -36,7 +36,7 @@ function dataset_ = compute_acov(dataset_)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/compute_corr.m b/matlab/utilities/dataset/compute_corr.m
index d4a81dc07..d6469baef 100644
--- a/matlab/utilities/dataset/compute_corr.m
+++ b/matlab/utilities/dataset/compute_corr.m
@@ -33,7 +33,7 @@ function dataset_ = compute_corr(dataset_)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/compute_cova.m b/matlab/utilities/dataset/compute_cova.m
index cde46848f..51f68981e 100644
--- a/matlab/utilities/dataset/compute_cova.m
+++ b/matlab/utilities/dataset/compute_cova.m
@@ -30,7 +30,7 @@ function dataset_ = compute_cova(dataset_)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/compute_stdv.m b/matlab/utilities/dataset/compute_stdv.m
index 2ddbbfc01..4384f83dd 100644
--- a/matlab/utilities/dataset/compute_stdv.m
+++ b/matlab/utilities/dataset/compute_stdv.m
@@ -30,7 +30,7 @@ function dataset_ = compute_stdv(dataset_)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/describe_missing_data.m b/matlab/utilities/dataset/describe_missing_data.m
index 421e64d83..5506da2be 100644
--- a/matlab/utilities/dataset/describe_missing_data.m
+++ b/matlab/utilities/dataset/describe_missing_data.m
@@ -27,7 +27,7 @@ function [i,n,s,j] = describe_missing_data(data)
%! @end deftypefn
%@eod:
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/descriptive_statistics.m b/matlab/utilities/dataset/descriptive_statistics.m
index 35981246e..d2b52292d 100644
--- a/matlab/utilities/dataset/descriptive_statistics.m
+++ b/matlab/utilities/dataset/descriptive_statistics.m
@@ -45,7 +45,7 @@ function dataset_ = descriptive_statistics(dataset_,statistic,varagin)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/initialize_dataset.m b/matlab/utilities/dataset/initialize_dataset.m
index 5ba5b11a5..979ad1f55 100644
--- a/matlab/utilities/dataset/initialize_dataset.m
+++ b/matlab/utilities/dataset/initialize_dataset.m
@@ -1,7 +1,7 @@
function dataset_ = initialize_dataset(datafile,varobs,first,nobs,transformation,prefilter,xls)
% Initializes a structure describing the dataset.
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/doc/dynInfo.m b/matlab/utilities/doc/dynInfo.m
index c52e8efce..3c20d0e77 100644
--- a/matlab/utilities/doc/dynInfo.m
+++ b/matlab/utilities/doc/dynInfo.m
@@ -31,7 +31,7 @@ function dynInfo(fun)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/doc/get_internal_doc_block.m b/matlab/utilities/doc/get_internal_doc_block.m
index d965500fe..718b2a28d 100644
--- a/matlab/utilities/doc/get_internal_doc_block.m
+++ b/matlab/utilities/doc/get_internal_doc_block.m
@@ -1,7 +1,7 @@
function block = get_internal_doc_block(fname,fpath)
% Extract doc sections from matlab's routine.
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/demean.m b/matlab/utilities/general/demean.m
index 332ab100d..4bf53aaa6 100644
--- a/matlab/utilities/general/demean.m
+++ b/matlab/utilities/general/demean.m
@@ -27,7 +27,7 @@ function c = demean(x)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/iscellofchar.m b/matlab/utilities/general/iscellofchar.m
index a79c770f0..80193464e 100644
--- a/matlab/utilities/general/iscellofchar.m
+++ b/matlab/utilities/general/iscellofchar.m
@@ -1,6 +1,6 @@
function a = iscellofchar(b)
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/ndim.m b/matlab/utilities/general/ndim.m
index f9e2c80df..1c4d003bb 100644
--- a/matlab/utilities/general/ndim.m
+++ b/matlab/utilities/general/ndim.m
@@ -27,7 +27,7 @@ function n = ndim(x)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/tests/dyn_assert.m b/matlab/utilities/tests/dyn_assert.m
index c6b017081..531163139 100644
--- a/matlab/utilities/tests/dyn_assert.m
+++ b/matlab/utilities/tests/dyn_assert.m
@@ -1,7 +1,7 @@
function t = dyn_assert(A,B,tol)
% This function tests the equality of two objects.
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/tests/mtest.m b/matlab/utilities/tests/mtest.m
index 1354deaed..f12e4d9ff 100644
--- a/matlab/utilities/tests/mtest.m
+++ b/matlab/utilities/tests/mtest.m
@@ -1,7 +1,7 @@
function check = mtest(fname,fpath)
% Extract test sections from matlab's routine executes the test and report errors.
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/variance_decomposition_mc_analysis.m b/matlab/variance_decomposition_mc_analysis.m
index 4b5d9a966..b4f3f570d 100644
--- a/matlab/variance_decomposition_mc_analysis.m
+++ b/matlab/variance_decomposition_mc_analysis.m
@@ -2,7 +2,7 @@ function oo_ = variance_decomposition_mc_analysis(NumberOfSimulations,type,dname
% This function analyses the (posterior or prior) distribution of the
% endogenous variance decomposition.
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2013 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.cc b/mex/sources/block_kalman_filter/block_kalman_filter.cc
index e8741cf66..6104feb12 100644
--- a/mex/sources/block_kalman_filter/block_kalman_filter.cc
+++ b/mex/sources/block_kalman_filter/block_kalman_filter.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.h b/mex/sources/block_kalman_filter/block_kalman_filter.h
index 501e3820b..98803e024 100644
--- a/mex/sources/block_kalman_filter/block_kalman_filter.h
+++ b/mex/sources/block_kalman_filter/block_kalman_filter.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2011 Dynare Team
+ * Copyright (C) 2007-2012 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/bytecode/ErrorHandling.hh b/mex/sources/bytecode/ErrorHandling.hh
index d7759de51..fe6047c88 100644
--- a/mex/sources/bytecode/ErrorHandling.hh
+++ b/mex/sources/bytecode/ErrorHandling.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/bytecode/Evaluate.cc b/mex/sources/bytecode/Evaluate.cc
index b53dc12f9..74be26bf3 100644
--- a/mex/sources/bytecode/Evaluate.cc
+++ b/mex/sources/bytecode/Evaluate.cc
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2013 Dynare Team
+ *
+ * This file is part of Dynare.
+ *
+ * Dynare is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Dynare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Dynare. If not, see .
+ */
+
#include
#include
#include
diff --git a/mex/sources/bytecode/Evaluate.hh b/mex/sources/bytecode/Evaluate.hh
index 4d95b0428..33621b7a4 100644
--- a/mex/sources/bytecode/Evaluate.hh
+++ b/mex/sources/bytecode/Evaluate.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/bytecode/Interpreter.cc b/mex/sources/bytecode/Interpreter.cc
index 91aeffdfc..522f71890 100644
--- a/mex/sources/bytecode/Interpreter.cc
+++ b/mex/sources/bytecode/Interpreter.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/bytecode/Interpreter.hh b/mex/sources/bytecode/Interpreter.hh
index b33b608d8..4c00e9f9b 100644
--- a/mex/sources/bytecode/Interpreter.hh
+++ b/mex/sources/bytecode/Interpreter.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/bytecode/SparseMatrix.hh b/mex/sources/bytecode/SparseMatrix.hh
index ef76a60b7..48e4ed1c0 100644
--- a/mex/sources/bytecode/SparseMatrix.hh
+++ b/mex/sources/bytecode/SparseMatrix.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/bytecode/bytecode.cc b/mex/sources/bytecode/bytecode.cc
index c56f97b9c..56ec734fd 100644
--- a/mex/sources/bytecode/bytecode.cc
+++ b/mex/sources/bytecode/bytecode.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/dynblas.h b/mex/sources/dynblas.h
index ba159ae12..47e365ea0 100644
--- a/mex/sources/dynblas.h
+++ b/mex/sources/dynblas.h
@@ -8,7 +8,7 @@
* and MATLAB_VERSION (for version 7.4, define it to 0x0704).
*
*
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/tests/DsgeLikelihood.m b/mex/sources/estimation/tests/DsgeLikelihood.m
index 6de151c6d..a39358065 100644
--- a/mex/sources/estimation/tests/DsgeLikelihood.m
+++ b/mex/sources/estimation/tests/DsgeLikelihood.m
@@ -21,7 +21,7 @@ function [fval,cost_flag,ys,trend_coeff,info] = DsgeLikelihood(xparam1,gend,data
% SPECIAL REQUIREMENTS
%
-% Copyright (C) 2004-2010 Dynare Team
+% Copyright (C) 2004-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.hh b/mex/sources/k_order_perturbation/k_ord_dynare.hh
index 445373cdc..8465f8c47 100644
--- a/mex/sources/k_order_perturbation/k_ord_dynare.hh
+++ b/mex/sources/k_order_perturbation/k_ord_dynare.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2010 Dynare Team
+ * Copyright (C) 2008-2012 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/kalman_steady_state/kalman_steady_state.cc b/mex/sources/kalman_steady_state/kalman_steady_state.cc
index 74588aad4..8ae89372e 100644
--- a/mex/sources/kalman_steady_state/kalman_steady_state.cc
+++ b/mex/sources/kalman_steady_state/kalman_steady_state.cc
@@ -1,6 +1,6 @@
/* kalman_steady_state.cc
**
-** Copyright (C) 2009-2011 Dynare Team.
+** Copyright (C) 2009-2013 Dynare Team.
**
** This file is part of Dynare.
**
diff --git a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
index 131ad2d8e..de78ff2e4 100644
--- a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
+++ b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2012 Dynare Team
+ * Copyright (C) 2010-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/ms-sbvar/modify_for_mex.cc b/mex/sources/ms-sbvar/modify_for_mex.cc
index 521497272..4a6d74db9 100644
--- a/mex/sources/ms-sbvar/modify_for_mex.cc
+++ b/mex/sources/ms-sbvar/modify_for_mex.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/ordschur/ordschur.cc b/mex/sources/ordschur/ordschur.cc
index dbd7e3b81..8289bba56 100644
--- a/mex/sources/ordschur/ordschur.cc
+++ b/mex/sources/ordschur/ordschur.cc
@@ -8,7 +8,7 @@
*/
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2012 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/qzcomplex/qzcomplex.cc b/mex/sources/qzcomplex/qzcomplex.cc
index 4241bf529..cfd13cfa7 100644
--- a/mex/sources/qzcomplex/qzcomplex.cc
+++ b/mex/sources/qzcomplex/qzcomplex.cc
@@ -6,7 +6,7 @@
*/
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2012 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/ConfigFile.cc b/preprocessor/ConfigFile.cc
index 72260b34b..0a3ef5eed 100644
--- a/preprocessor/ConfigFile.cc
+++ b/preprocessor/ConfigFile.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2012 Dynare Team
+ * Copyright (C) 2010-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/DynamicModel.cc b/preprocessor/DynamicModel.cc
index 2dfba144b..6b562b48f 100644
--- a/preprocessor/DynamicModel.cc
+++ b/preprocessor/DynamicModel.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/DynamicModel.hh b/preprocessor/DynamicModel.hh
index 63ac665f4..808dccaa7 100644
--- a/preprocessor/DynamicModel.hh
+++ b/preprocessor/DynamicModel.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/ModelTree.cc b/preprocessor/ModelTree.cc
index b6f3fd3ac..2a798017c 100644
--- a/preprocessor/ModelTree.cc
+++ b/preprocessor/ModelTree.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/ModelTree.hh b/preprocessor/ModelTree.hh
index 4800ccc92..3a29aa90e 100644
--- a/preprocessor/ModelTree.hh
+++ b/preprocessor/ModelTree.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/NumericalConstants.cc b/preprocessor/NumericalConstants.cc
index dc2bd80f2..a2224eae4 100644
--- a/preprocessor/NumericalConstants.cc
+++ b/preprocessor/NumericalConstants.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2012 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/NumericalConstants.hh b/preprocessor/NumericalConstants.hh
index cb50b0cb4..1b4be7446 100644
--- a/preprocessor/NumericalConstants.hh
+++ b/preprocessor/NumericalConstants.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2012 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/NumericalInitialization.cc b/preprocessor/NumericalInitialization.cc
index 1c26d74f5..4e28a4920 100644
--- a/preprocessor/NumericalInitialization.cc
+++ b/preprocessor/NumericalInitialization.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2012 Dynare Team
+ * Copyright (C) 2003-2013 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/StaticModel.hh b/preprocessor/StaticModel.hh
index 8f7735b32..f193c4c4d 100644
--- a/preprocessor/StaticModel.hh
+++ b/preprocessor/StaticModel.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 Dynare Team
+ * Copyright (C) 2003-2012 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/tests/internals/tests.m b/tests/internals/tests.m
index 54b139871..14b3a778c 100644
--- a/tests/internals/tests.m
+++ b/tests/internals/tests.m
@@ -1,6 +1,6 @@
% matlab script for testing matlab routines.
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2012 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m b/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m
index 66a95e6ef..916373fee 100644
--- a/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m
+++ b/tests/measurement_errors/fs2000_corr_me_ml_mcmc/fs2000_corr_ME_steadystate.m
@@ -1,7 +1,7 @@
% computes the steady state of fs2000 analyticaly
% largely inspired by the program of F. Schorfheide
-% Copyright (C) 2004-2010 Dynare Team
+% Copyright (C) 2004-2013 Dynare Team
%
% This file is part of Dynare.
%