dynare/matlab/particle/neff.m

4 lines
76 B
Matlab
Raw Normal View History

2013-04-12 10:26:54 +02:00
function n = neff(w)
% Evaluates the criterion for resampling
n = dot(w,w);