Fixed texinfo header.
parent
9610cb0b20
commit
6c091015eb
|
@ -2,8 +2,8 @@ function mode_check(fun,x,hessian,DynareDataset,DynareOptions,Model,EstimatedPar
|
||||||
% Checks the estimated ML mode or Posterior mode.
|
% Checks the estimated ML mode or Posterior mode.
|
||||||
|
|
||||||
%@info:
|
%@info:
|
||||||
%! @deftypefn {Function File} {@var{y}, @var{y_} =} sequential_importance_particle_filter (@var{ReducedForm},@var{Y}, @var{start}, @var{DynareOptions})
|
%! @deftypefn {Function File} mode_check (@var{fun}, @var{x}, @var{hessian}, @var{DynareDataset}, @var{DynareOptions}, @var{Model}, @var{EstimatedParameters}, @var{BayesInfo}, @var{DynareResults})
|
||||||
%! @anchor{particle/sequential_importance_particle_filter}
|
%! @anchor{mode_check}
|
||||||
%! @sp 1
|
%! @sp 1
|
||||||
%! Checks the estimated ML mode or Posterior mode by plotting sections of the likelihood/posterior kernel.
|
%! Checks the estimated ML mode or Posterior mode by plotting sections of the likelihood/posterior kernel.
|
||||||
%! Each plot shows the variation of the likelihood implied by the variations of a single parameter, ceteris paribus)
|
%! Each plot shows the variation of the likelihood implied by the variations of a single parameter, ceteris paribus)
|
||||||
|
@ -11,52 +11,35 @@ function mode_check(fun,x,hessian,DynareDataset,DynareOptions,Model,EstimatedPar
|
||||||
%! @strong{Inputs}
|
%! @strong{Inputs}
|
||||||
%! @sp 1
|
%! @sp 1
|
||||||
%! @table @ @var
|
%! @table @ @var
|
||||||
%! @item ReducedForm
|
%! @item fun
|
||||||
%! Structure describing the state space model (built in @ref{non_linear_dsge_likelihood}).
|
%! Objective function.
|
||||||
%! @item Y
|
%! @item x
|
||||||
%! p*smpl matrix of doubles (p is the number of observed variables), the (detrended) data.
|
%! Estimated mode.
|
||||||
%! @item start
|
%! @item start
|
||||||
%! Integer scalar, likelihood evaluation starts at observation 'start'.
|
%! Hessian of the objective function at the estimated mode @var{x}.
|
||||||
|
%! @item DynareDataset
|
||||||
|
%! Structure specifying the dataset used for estimation (dataset_).
|
||||||
%! @item DynareOptions
|
%! @item DynareOptions
|
||||||
%! Structure specifying Dynare's options.
|
%! Structure defining dynare's options (options_).
|
||||||
|
%! @item Model
|
||||||
|
%! Structure specifying the (estimated) model (M_).
|
||||||
|
%! @item EstimatedParameters
|
||||||
|
%! Structure specifying the estimated parameters (estimated_params_).
|
||||||
|
%! @item BayesInfo
|
||||||
|
%! Structure containing information about the priors used for estimation (bayestopt_).
|
||||||
|
%! @item DynareResults
|
||||||
|
%! Structure gathering the results (oo_).
|
||||||
%! @end table
|
%! @end table
|
||||||
%! @sp 2
|
%! @sp 2
|
||||||
%! @strong{Outputs}
|
%! @strong{Outputs}
|
||||||
%! @sp 1
|
|
||||||
%! @table @ @var
|
|
||||||
%! @item LIK
|
|
||||||
%! double scalar, value of (minus) the logged likelihood.
|
|
||||||
%! @item lik
|
|
||||||
%! smpl*1 vector of doubles, density of the observations at each period.
|
|
||||||
%! @end table
|
|
||||||
%! @sp 2
|
%! @sp 2
|
||||||
%! @strong{This function is called by:}
|
%! @strong{This function is called by:}
|
||||||
%! @ref{non_linear_dsge_likelihood}
|
|
||||||
%! @sp 2
|
%! @sp 2
|
||||||
%! @strong{This function calls:}
|
%! @strong{This function calls:}
|
||||||
%!
|
%! The objective function (@var{func}).
|
||||||
%! @end deftypefn
|
%! @end deftypefn
|
||||||
%@eod:
|
%@eod:
|
||||||
|
|
||||||
|
|
||||||
% function mode_check(x,fval,hessian,gend,data,lb,ub)
|
|
||||||
% Checks the maximum likelihood mode
|
|
||||||
%
|
|
||||||
% INPUTS
|
|
||||||
% x: mode
|
|
||||||
% fval: value at the maximum likelihood mode
|
|
||||||
% hessian: matrix of second order partial derivatives
|
|
||||||
% gend: scalar specifying the number of observations
|
|
||||||
% data: matrix of data
|
|
||||||
% lb: lower bound
|
|
||||||
% ub: upper bound
|
|
||||||
%
|
|
||||||
% OUTPUTS
|
|
||||||
% none
|
|
||||||
%
|
|
||||||
% SPECIAL REQUIREMENTS
|
|
||||||
% none
|
|
||||||
|
|
||||||
% Copyright (C) 2003-2010, 2012 Dynare Team
|
% Copyright (C) 2003-2010, 2012 Dynare Team
|
||||||
%
|
%
|
||||||
% This file is part of Dynare.
|
% This file is part of Dynare.
|
||||||
|
|
Loading…
Reference in New Issue