| 1 |
@#include "fs2000.common.inc" |
| 2 |
|
| 3 |
profile clear; profile on; |
| 4 |
estimation(mode_compute=5, silent_optimizer, order=1, datafile='../fs2000/fsdat_simul', nobs=192, mh_replic=0); |
| 5 |
@#include "optimizer_function_count.inc" |
| 6 |
|
| 7 |
profile clear; profile on; |
| 8 |
estimation(mode_compute=5, silent_optimizer, order=1, datafile='../fs2000/fsdat_simul', nobs=192, mh_replic=0, analytic_derivation); |
| 9 |
@#include "optimizer_function_count.inc" |
| 10 |
options_.analytic_derivation = 0; % reset to numerical derivatives |
| 11 |
|
| 12 |
% note that with optim=('Hessian',2) dynare_estimation_1 calls mr_hessian.m instead of hessian.m, function calls in mr_hessian are however adaptive, so we skip profiling this option |
| 13 |
estimation(mode_compute=5, silent_optimizer, order=1, datafile='../fs2000/fsdat_simul', nobs=192, mh_replic=0, optim=('Hessian',2)); |
| 14 |
|
| 15 |
profile clear; profile on; |
| 16 |
estimation(mode_compute=5, silent_optimizer, order=1, datafile='../fs2000/fsdat_simul', nobs=192, mh_replic=0, optim=('Hessian',1,'robust',true)); |
| 17 |
@#include "optimizer_function_count.inc" |