Re: [R] Error: Gradient function might be wrong - check it! OPTMX

2015-08-13 Thread ProfJCNash
There are tolerances in the checks, and sometimes scaling of the problem leads to false positives on the checks. Try control = list(starttest=FALSE, etc.) to suppress the test. JN On 15-08-13 01:20 PM, Olu Ola via R-help wrote: > Hello, > I am trying to estimate a non-linear GMM in R using Optim

[R] Error: Gradient function might be wrong - check it! OPTMX

2015-08-13 Thread Olu Ola via R-help
Hello, I am trying to estimate a non-linear GMM in R using Optimx. However, when I do the start test to compare my analytical gradient with the numerical gradient, I get the following error message Error: Gradient function might be wrong - check it! Below are the print out of my analytical and