| 1 |
@#include "fs2000.common.inc" |
| 2 |
|
| 3 |
if exist('fminunc','file') |
| 4 |
% numerical derivatives |
| 5 |
profile clear; profile on; |
| 6 |
estimation(mode_compute=3, silent_optimizer, order=1, datafile='../fs2000/fsdat_simul', nobs=192, mh_replic=0); |
| 7 |
@#include "optimizer_function_count.inc" |
| 8 |
|
| 9 |
% analytical derivatives |
| 10 |
profile clear; profile on; |
| 11 |
estimation(mode_compute=3, silent_optimizer, order=1, datafile='../fs2000/fsdat_simul', nobs=192, mh_replic=0, analytic_derivation); |
| 12 |
@#include "optimizer_function_count.inc" |
| 13 |
end |