Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
c4cfd0c8
Commit
c4cfd0c8
authored
Sep 20, 2011
by
Stéphane Adjemian
Browse files
Extract input arguments of DsgeSmoother from dataset_ structure.
parent
2512b527
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_estimation_1.m
View file @
c4cfd0c8
...
...
@@ -852,7 +852,7 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
>
0
)
&&
options_
.
load_mh_file
))
...
||
~
options_
.
smoother
)
&&
M_
.
endo_nbr
^
2
*
gend
<
1e7
&&
options_
.
partial_information
==
0
% to be fixed
%% ML estimation, or posterior mode without metropolis-hastings or metropolis without bayesian smooth variable
[
atT
,
innov
,
measurement_error
,
updated_variables
,
ys
,
trend_coeff
,
aK
,
T
,
R
,
P
,
PK
,
decomp
]
=
DsgeSmoother
(
xparam1
,
gend
,
data
,
data_index
,
missing
_valu
e
);
[
atT
,
innov
,
measurement_error
,
updated_variables
,
ys
,
trend_coeff
,
aK
,
T
,
R
,
P
,
PK
,
decomp
]
=
DsgeSmoother
(
xparam1
,
dataset_
.
info
.
ntobs
,
dataset_
.
data
,
dataset_
.
missing
.
aindex
,
dataset_
.
missing
.
stat
e
);
oo_
.
Smoother
.
SteadyState
=
ys
;
oo_
.
Smoother
.
TrendCoeffs
=
trend_coeff
;
oo_
.
Smoother
.
variance
=
P
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment