Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gregor Boehl
dynare
Commits
905e7c43
Commit
905e7c43
authored
2 years ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
load_results_after_load_mh: fix location of file
parent
24d7f569
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/dynare_estimation_init.m
+1
-1
1 addition, 1 deletion
matlab/dynare_estimation_init.m
tests/estimation/fs2000.mod
+4
-1
4 additions, 1 deletion
tests/estimation/fs2000.mod
with
5 additions
and
2 deletions
matlab/dynare_estimation_init.m
+
1
−
1
View file @
905e7c43
...
...
@@ -641,7 +641,7 @@ end
estim_params_
=
get_matrix_entries_for_psd_check
(
M_
,
estim_params_
);
if
options_
.
load_results_after_load_mh
if
~
exist
([
M_
.
fname
'_results.mat'
],
'file'
)
if
~
exist
([
M_
.
dname
filesep
'Output'
filesep
M_
.
fname
'_results.mat'
],
'file'
)
fprintf
(
'\ndynare_estimation_init:: You specified the load_results_after_load_mh, but no _results.mat-file\n'
)
fprintf
(
'dynare_estimation_init:: was found. Results will be recomputed.\n'
)
options_
.
load_results_after_load_mh
=
0
;
...
...
This diff is collapsed.
Click to expand it.
tests/estimation/fs2000.mod
+
4
−
1
View file @
905e7c43
...
...
@@ -119,7 +119,10 @@ if ~isoctave
end
end
save('fs2000_result.mat','oo_')
if ~exist([M_.dname filesep 'Output'],'dir')
mkdir(M_.dname,'Output');
end
save([M_.dname filesep 'Output' filesep 'fs2000_results.mat'], 'oo_');
options_.load_results_after_load_mh=1;
estimation(mode_compute=0,mode_file='fs2000/Output/fs2000_mode',order=1, datafile=fsdat_simul, nobs=192, loglinear, mh_replic=0, mh_nblocks=1, mh_jscale=10,load_mh_file,smoother) gy_obs gp_obs;
oo_.MarginalDensity.LaplaceApproximation = Laplace; %reset correct Laplace
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment