Displaying 1 result from an estimated 1 matches for "impulsess".
Did you mean:
impulses
2012 Dec 07
1
Error using constrOptim in constraint definition
Hello,
I'm trying to run constrOptim. It returns to me an error about the fact that constraints arguments (ui and ci) are non compatibles:
> optout= constrOptim(startparams, f=ImpulseSS, grad=grImpulse, ui=UI, ci=CI, data=gexp[k,], t=t)
Error in ui %*% theta : non-conformable arguments
I would like to point out that I can calculate that product in the command line:
> UI %*% startparams
[,1]
[1,] 2.297217e+05
[2,] 1.699765e+05
[3,] 2.037806e+05
[4,] 6.5...