Hello,
I’m trying to build a model using TMB, but encountered some problems. When calling MakeADFun, the function returns NaN values and I can’t find out how to fix that. I tried a version with using dnorm instead of MVN and without random effects, that seems to work, but switching back one of these two things makes the problem reappear.
If anyone could help me that would be greatly appreciated. Thanks,
Guillaume Derringer