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
99c657a6
Commit
99c657a6
authored
Aug 09, 2011
by
Houtan Bastani
Browse files
MS-SBVAR: use dynare seed
parent
64ba641a
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/ms-sbvar/msstart_setup.m
View file @
99c657a6
...
...
@@ -130,7 +130,7 @@ tdf = 3; % degrees of freedom for t-dist for initial draw of the MC loo
nbuffer
=
1000
;
% a block or buffer of draws (buffer) that is saved to the disk (not memory)
ndraws1
=
1
*
nbuffer
;
% 1st part of Monte Carlo draws
ndraws2
=
10
*
ndraws1
% 2nd part of Monte Carlo draws
seednumber
=
0
;
%7910; %472534; % if 0, random state at each clock time
seednumber
=
options_
.
DynareRandomStreams
.
seed
;
%7910; %472534; % if 0, random state at each clock time
% good one 420 for [29 45], [29 54]
if
seednumber
randn
(
'state'
,
seednumber
);
...
...
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