Hi, I'm a student studying the model 'MDCNEV'.
I have used the codes and the instruction from:
https://www.caee.utexas.edu/prof/bhat/FULL_CODES.htm
Everything is working well, but I am in trouble with line 331 which is as follows:
{ x,f,g,cov,retcode } = maxprt(maxlik(dataset,0,&lpr,b));
The error message is shown as below:
G0025 : Undefined symbol: 'lpr'
I would like to know how I can revise the code or handle it in other ways.
Thanks for everyone's help.
1 Answer
0
Most likely this is happening because you have been running the code one line at a time and the likelihood procedure lpr
is defined later in the file after line 331.
If you run the entire file (probably the best option), your problem should be resolved. This blog post about GAUSS procedures will show you some examples of how to deal with this issue.
Your Answer
1 Answer
Most likely this is happening because you have been running the code one line at a time and the likelihood procedure lpr
is defined later in the file after line 331.
If you run the entire file (probably the best option), your problem should be resolved. This blog post about GAUSS procedures will show you some examples of how to deal with this issue.