2009-03-16 21:45:47 +01:00
|
|
|
function moments=compute_model_moments(dr,M_,options_)
|
2008-06-16 12:38:36 +02:00
|
|
|
%
|
|
|
|
% INPUTS
|
|
|
|
% dr: structure describing model solution
|
2008-06-21 10:33:31 +02:00
|
|
|
% M_: structure of Dynare options
|
|
|
|
% options_
|
2008-06-16 12:38:36 +02:00
|
|
|
%
|
|
|
|
% OUTPUTS
|
|
|
|
% moments: a cell array containing requested moments
|
|
|
|
%
|
|
|
|
% SPECIAL REQUIREMENTS
|
|
|
|
% none
|
2008-08-01 15:08:13 +02:00
|
|
|
|
|
|
|
% Copyright (C) 2008 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 <http://www.gnu.org/licenses/>.
|
2008-06-16 12:38:36 +02:00
|
|
|
|
2008-09-25 14:29:35 +02:00
|
|
|
moments = th_autocovariances(dr,options_.varlist,M_,options_);
|