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