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
3e35dea9
Commit
3e35dea9
authored
Dec 22, 2011
by
Stéphane Adjemian
Browse files
Added plots. Comparison of SEP and EP.
parent
2c04f5c8
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/ep/rbcii.mod
View file @
3e35dea9
...
...
@@ -25,6 +25,7 @@ sigma2 = 0.001;
@#if extended_path_version
rho = 0.800;
@#endif
external_function(name=mean_preserving_spread);
model(block,bytecode,cutoff=0);
...
...
@@ -56,8 +57,6 @@ model(block,bytecode,cutoff=0);
end;
@#if extended_path_version
shocks;
...
...
@@ -71,10 +70,20 @@ end;
options_.ep.stochastic = 0;
options_.console_mode = 0;
ts = extended_path([],100);
ts = extended_path([],100
0
);
options_.ep.stochastic = 1;
sts = extended_path([],1000);
figure(1)
plot(ts(2,:)-ts(4,:));
figure(2)
plot(sts(2,:)-sts(4,:));
figure(3)
plot(sts(2,:)-ts(2,:))
@#else
shocks;
...
...
Write
Preview
Supports
Markdown
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