Aptech Systems, Inc. Worldwide Headquarters
Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286
Ready to Get Started?
Request Quote & Product Information
Training & Events
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Q&A: Register and Login
Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.
Join our community to see why our users are considered some of the most active and helpful in the industry!
Where to Buy
Recent Tagsapplications character vectors CML CMLMT Constrained Optimization datasets dates dlibrary dllcall error error handling errors Excel FANPACMT file i/o floating network GAUSS Engine graphics GUI hotkeys installation Java API license licensing linux loading data matrices matrix matrix manipulation Maxlik MaxLikMT Memory optimization Optmum output PQG graphics procs RAM random numbers string functions strings structures threading Time Series writing data
Time Series 2.0 MT
Find out more now
Time Series MT 2.1
Error using MaxLik library
Hi I have been getting the following error while trying to estimate a model.
C:\gauss13\src\maxutil.src(3100) : error G0047 : Rows don't match
Currently active call: _max_grdfd  C:\gauss13\src\maxutil.src
_max_grdfd called from C:\gauss13\src\maxutil.src, line 2897
_max_rdd called from C:\gauss13\src\maxutil.src, line 2950
_max_deriv called from C:\gauss13\src\maxutil.src, line 1942
_max_sctu called from C:\gauss13\src\maxutil.src, line 882
_max called from C:\gauss13\src\maxlik.src, line 547
maxlik called from C:\Users\ane13003\Dropbox\ResearchCoursesOther_UCONN\Simulation\LatSegVN2Scaled.gss, line 241
But the thing is the error is occurring after my problem complete several runs, for example the error was displayed after the maxlik function completed more than 2000 iterations.
I would appreciate if someone could help me identify the problem.
Thanks and Regards
Most likely your likelihood function is returning an error code. Add an 'isinfnanmiss' check of the return value like this:
proc (1) = myLikelihood(x, y); local my_return; . . . my_return = ...; if isnanmiss(my_return); my_return = my_return; //put a breakpoint on this line endif; retp(my_return); endp;
Then run your code under the debugger with a breakpoint inside the 'if' statement.