Le dimanche 10 mars 2013 à 11:36 +0100, Michel Juillard a écrit :
could you please take a look at it. I have the feeling that the Jacobian of the static model evaluated in model_diagnostics (jacob) is wrong. I don't understand the origin of jacob(8,14), after line 99. It must correspond to the auxiliary variable replacing s_f(+1), but the derivative should be equal to zero because s_fst=0.
The element that you are referring to is rather jacob(8,15), which is indeed zero. jacob(8,14) refers to the derivative w.r.t. s, and is rightly not zero.