Skip to content
Snippets Groups Projects
Select Git revision
  • e13a59eb64923b458600f04206df69c087f5ac75
  • master default protected
  • 6.x protected
  • pardiso
  • mkl-pardiso
  • madysson
  • 5.x protected
  • asm
  • time-varying-information-set
  • 4.6 protected
  • dynare_minreal
  • dragonfly
  • various_fixes
  • 4.5 protected
  • clang+openmp
  • exo_steady_state
  • declare_vars_in_model_block
  • julia
  • error_msg_undeclared_model_vars
  • static_aux_vars
  • slice
  • 6.4 protected
  • 6.3 protected
  • 6.2 protected
  • 6.1 protected
  • 6.0 protected
  • 6-beta2 protected
  • 6-beta1 protected
  • 5.5 protected
  • 5.4 protected
  • 5.3 protected
  • 5.2 protected
  • 5.1 protected
  • 5.0 protected
  • 5.0-rc1 protected
  • 4.7-beta3 protected
  • 4.7-beta2 protected
  • 4.7-beta1 protected
  • 4.6.4 protected
  • 4.6.3 protected
  • 4.6.2 protected
41 results

global_initialization.m

Blame
  • global_initialization.m 22.84 KiB
    function global_initialization()
    %function global_initialization()
    % initializes global variables and options for DYNARE
    %
    % INPUTS
    %    none
    %
    % OUTPUTS
    %    none
    %
    % SPECIAL REQUIREMENTS
    %    none
    
    % Copyright (C) 2003-2015 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/>.
    
    global oo_ M_ options_ estim_params_ bayestopt_ estimation_info ex0_ ys0_
    
    estim_params_ = [];
    bayestopt_ = [];
    options_.datafile = '';
    options_.dirname = M_.fname;
    M_.dname = M_.fname;
    options_.dataset = [];
    options_.verbosity = 1;
    options_.terminal_condition = 0;
    options_.rplottype = 0;
    options_.smpl = 0;
    options_.dynatol.f = 1e-5;
    options_.dynatol.x = 1e-5;
    options_.slowc = 1;
    options_.timing = 0;
    options_.gstep = ones(2,1);
    options_.gstep(1) = 1e-2;
    options_.gstep(2) = 1.0;
    options_.scalv = 1;
    options_.debug = 0;
    options_.initval_file = 0;
    options_.Schur_vec_tol = 1e-11; % used to find nonstationary variables in Schur decomposition of the
                                    % transition matrix
    options_.qz_criterium = [];
    options_.qz_zero_threshold = 1e-6;
    options_.lyapunov_complex_threshold = 1e-15;
    options_.solve_tolf = eps^(1/3);
    options_.solve_tolx = eps^(2/3);
    options_.dr_display_tol=1e-6;
    options_.minimal_workspace = 0;
    options_.dp.maxit = 3000;
    options_.steady.maxit = 50;
    options_.simul.maxit = 50;
    
    options_.mode_check.status = 0;
    options_.mode_check.neighbourhood_size = .5;
    options_.mode_check.symmetric_plots = 1;
    options_.mode_check.number_of_points = 20;
    options_.mode_check.nolik = 0;