User guide: revert to mode_compute=4 in example (closes #121)

time-shift
Sébastien Villemot 2011-08-23 16:08:50 +02:00
parent 555c85a3b9
commit 62e32a37cb
4 changed files with 6 additions and 6 deletions

View File

@ -225,7 +225,7 @@ end;}\\
We add the following commands to ask Dynare to run a basic estimation of our model:\\ We add the following commands to ask Dynare to run a basic estimation of our model:\\
\\ \\
\texttt{estimation(datafile=fsdat,nobs=192,loglinear,mh\_replic=2000,\\ \texttt{estimation(datafile=fsdat,nobs=192,loglinear,mh\_replic=2000,\\
mode\_compute=6,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.65);}\\ mode\_compute=4,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.65);}\\
\textsf{\textbf{NOTE!}} As mentioned earlier, we need to instruct Dynare to log-linearize our model, since it contains non-linear equations in non-stationary variables. A simple linearization would fail as these variables do not have a steady state. Fortunately, taking the log of the equations involving non-stationary variables does the job of linearizing them.\\ \textsf{\textbf{NOTE!}} As mentioned earlier, we need to instruct Dynare to log-linearize our model, since it contains non-linear equations in non-stationary variables. A simple linearization would fail as these variables do not have a steady state. Fortunately, taking the log of the equations involving non-stationary variables does the job of linearizing them.\\
@ -298,7 +298,7 @@ stderr e\_m, inv\_gamma\_pdf, 0.008862, inf;\\
end;\\ end;\\
\\ \\
estimation(datafile=fsdat,nobs=192,loglinear,mh\_replic=2000,\\ estimation(datafile=fsdat,nobs=192,loglinear,mh\_replic=2000,\\
mode\_compute=6,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.65);}\\ mode\_compute=4,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.65);}\\
\\ \\
\subsection{Summing it up} \subsection{Summing it up}

View File

@ -139,7 +139,7 @@ Finally, coming back to our example, we could choose a standard option:\\
\\ \\
\texttt{estimation(datafile=simuldataRBC,nobs=200,first\_obs=500,\\ \texttt{estimation(datafile=simuldataRBC,nobs=200,first\_obs=500,\\
mh\_replic=2000,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.8,\\ mh\_replic=2000,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.8,\\
mode\_compute=6); }\\ mode\_compute=4); }\\
This ends our description of the .mod file. This ends our description of the .mod file.
@ -189,7 +189,7 @@ end;\\
\\ \\
estimation(datafile=simuldataRBC,nobs=200,first\_obs=500,\\ estimation(datafile=simuldataRBC,nobs=200,first\_obs=500,\\
mh\_replic=2000,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.8,\\ mh\_replic=2000,mh\_nblocks=2,mh\_drop=0.45,mh\_jscale=0.8,\\
mode\_compute=6); } mode\_compute=4); }
\\ \\

View File

@ -36,4 +36,4 @@ epsilon, gamma_pdf, 10, 0.003;
stderr e, inv_gamma_pdf, 0.01, inf; stderr e, inv_gamma_pdf, 0.01, inf;
end; end;
estimation(datafile=simuldataRBC,nobs=200,first_obs=500,mh_replic=2000,mh_nblocks=2,mh_drop=0.45,mh_jscale=0.8,mode_compute=6); estimation(datafile=simuldataRBC,nobs=200,first_obs=500,mh_replic=2000,mh_nblocks=2,mh_drop=0.45,mh_jscale=0.8,mode_compute=4);

View File

@ -82,4 +82,4 @@ stderr e_m, inv_gamma_pdf, 0.008862, inf;
end; end;
estimation(datafile=fsdat,nobs=192,loglinear,mh_replic=2000, estimation(datafile=fsdat,nobs=192,loglinear,mh_replic=2000,
mode_compute=6,mh_nblocks=2,mh_drop=0.45,mh_jscale=0.65); mode_compute=4,mh_nblocks=2,mh_drop=0.45,mh_jscale=0.65);