Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).remove-submodule^2
parent
2a2222b604
commit
fcd53f9896
|
@ -2,7 +2,7 @@ function initial_distribution = auxiliary_initialization(ReducedForm,Y,start,Par
|
|||
|
||||
% Evaluates the likelihood of a nonlinear model with a particle filter allowing eventually resampling.
|
||||
|
||||
% Copyright (C) 2011-2017 Dynare Team
|
||||
% Copyright © 2011-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare (particles module).
|
||||
%
|
||||
|
|
|
@ -3,7 +3,7 @@ function [LIK,lik] = auxiliary_particle_filter(ReducedForm,Y,start,ParticleOptio
|
|||
% Evaluates the likelihood of a nonlinear model with the auxiliary particle filter
|
||||
% allowing eventually resampling.
|
||||
%
|
||||
% Copyright (C) 2011-2022 Dynare Team
|
||||
% Copyright © 2011-2022 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare (particles module).
|
||||
%
|
||||
|
|
|
@ -35,7 +35,7 @@ function [LIK,lik] = conditional_particle_filter(ReducedForm, Y, s, ParticleOpti
|
|||
% it has been derived in a linear context and is implemented in a nonlinear
|
||||
% context. That is why particle resampling is performed.
|
||||
|
||||
% Copyright (C) 2009-2020 Dynare Team
|
||||
% Copyright © 2009-2020 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [StateMu,StateSqrtP,StateWeights] = fit_gaussian_mixture(X,X_weights,StateMu,StateSqrtP,StateWeights,crit,niters,check)
|
||||
|
||||
% Copyright (C) 2013-2017 Dynare Team
|
||||
% Copyright © 2013-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -20,7 +20,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-2019 Dynare Team
|
||||
% Copyright © 2009-2019 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -32,7 +32,7 @@ function [LIK,lik] = gaussian_filter(ReducedForm, Y, start, ParticleOptions, Thr
|
|||
% NOTES
|
||||
% The vector "lik" is used to evaluate the jacobian of the likelihood.
|
||||
|
||||
% Copyright (C) 2009-2019 Dynare Team
|
||||
% Copyright © 2009-2019 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -22,7 +22,7 @@ function [PredictedStateMean, PredictedStateVarianceSquareRoot, StateVectorMean,
|
|||
% NOTES
|
||||
% The vector "lik" is used to evaluate the jacobian of the likelihood.
|
||||
|
||||
% Copyright (C) 2009-2022 Dynare Team
|
||||
% Copyright © 2009-2022 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -22,7 +22,7 @@ function IncrementalWeights = gaussian_mixture_densities(obs, StateMuPrior, Sta
|
|||
% NOTES
|
||||
% The vector "lik" is used to evaluate the jacobian of the likelihood.
|
||||
|
||||
% Copyright (C) 2009-2019 Dynare Team
|
||||
% Copyright © 2009-2019 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -36,7 +36,7 @@ function [LIK, lik] = gaussian_mixture_filter(ReducedForm, Y, start, ParticleOpt
|
|||
%
|
||||
% NOTES
|
||||
% The vector "lik" is used to evaluate the jacobian of the likelihood.
|
||||
% Copyright (C) 2009-2017 Dynare Team
|
||||
% Copyright © 2009-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -24,7 +24,7 @@ function [StateMuPrior,StateSqrtPPrior,StateWeightsPrior,StateMuPost,StateSqrtPP
|
|||
% NOTES
|
||||
% The vector "lik" is used to evaluate the jacobian of the likelihood.
|
||||
|
||||
% Copyright (C) 2009-2022 Dynare Team
|
||||
% Copyright © 2009-2022 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function State_Particles = importance_sampling(StateMuPost,StateSqrtPPost,StateWeightsPost,numP)
|
||||
|
||||
% Copyright (C) 2013-2017 Dynare Team
|
||||
% Copyright © 2013-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function measure = measurement_equations(StateVectors,ReducedForm,ThreadsOptions, DynareOptions, Model)
|
||||
|
||||
% Copyright (C) 2013-2022 Dynare Team
|
||||
% Copyright © 2013-2022 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -38,7 +38,7 @@ function new_particles = multivariate_smooth_resampling(particles,weights)
|
|||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2012-2017 Dynare Team
|
||||
% Copyright © 2012-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [c,SqrtVariance,Weights] = mykmeans(x,g,init,cod)
|
||||
|
||||
% Copyright (C) 2013-2017 Dynare Team
|
||||
% Copyright © 2013-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
function n = neff(w)
|
||||
% Evaluates the criterion for resampling
|
||||
|
||||
% Copyright (C) 2013-2014 Dynare Team
|
||||
% Copyright © 2013-2014 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -32,7 +32,7 @@ function [LIK,lik] = nonlinear_kalman_filter(ReducedForm, Y, start, ParticleOpti
|
|||
% NOTES
|
||||
% The vector "lik" is used to evaluate the jacobian of the likelihood.
|
||||
|
||||
% Copyright (C) 2009-2022 Dynare Team
|
||||
% Copyright © 2009-2022 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [prior,likelihood,C,posterior] = probability(mu,sqrtP,prior,X)
|
||||
|
||||
% Copyright (C) 2013-2017 Dynare Team
|
||||
% Copyright © 2013-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -14,7 +14,7 @@ function [density] = probability2(mu,S,X)
|
|||
%
|
||||
% NOTES
|
||||
%
|
||||
% Copyright (C) 2009-2017 Dynare Team
|
||||
% Copyright © 2009-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [prior,likelihood,C,posterior] = probability3(mu,sqrtP,prior,X,X_weights)
|
||||
|
||||
% Copyright (C) 2013-2017 Dynare Team
|
||||
% Copyright © 2013-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -36,7 +36,7 @@ function resampled_output = resample(particles,weights,ParticleOptions)
|
|||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2011-2014 Dynare Team
|
||||
% Copyright © 2011-2014 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -30,7 +30,7 @@ function return_resample = residual_resampling(particles,weights,noise)
|
|||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2011-2017 Dynare Team
|
||||
% Copyright © 2011-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -2,7 +2,7 @@ function [LIK,lik] = sequential_importance_particle_filter(ReducedForm,Y,start,P
|
|||
|
||||
% Evaluates the likelihood of a nonlinear model with a particle filter (optionally with resampling).
|
||||
|
||||
% Copyright (C) 2011-2022 Dynare Team
|
||||
% Copyright © 2011-2022 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare (particles module).
|
||||
%
|
||||
|
|
|
@ -20,7 +20,7 @@ function [info, Model, DynareOptions, DynareResults, ReducedForm] = ...
|
|||
% - DynareResults [struct] Dynare results (oo_).
|
||||
% - ReducedForm [struct] Reduced form model.
|
||||
|
||||
% Copyright (C) 2013-2022 Dynare Team
|
||||
% Copyright © 2013-2022 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -15,7 +15,7 @@ function [nodes,weights] = spherical_radial_sigma_points(n)
|
|||
%
|
||||
% NOTES
|
||||
%
|
||||
% Copyright (C) 2009-2017 Dynare Team
|
||||
% Copyright © 2009-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -33,7 +33,7 @@ function return_resample = traditional_resampling(particles,weights,noise)
|
|||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2011-2017 Dynare Team
|
||||
% Copyright © 2011-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -34,7 +34,7 @@ function new_particles = univariate_smooth_resampling(weights,particles,number_o
|
|||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2012-2017 Dynare Team
|
||||
% Copyright © 2012-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
|
@ -14,7 +14,7 @@ function [nodes,W_m,W_c] = unscented_sigma_points(n,ParticleOptions)
|
|||
%
|
||||
% NOTES
|
||||
%
|
||||
% Copyright (C) 2009-2017 Dynare Team
|
||||
% Copyright © 2009-2017 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
|
Loading…
Reference in New Issue