12-01-2013 02:53 PM
Hi, I tried to fit some tree taper equations by using nonlinear mixed effect modeling and I want to use %nlinmix sas macro,
but I have some sas errors, my sas code:
first error code:
WARNING: Apparent invocation of macro NLINMIX not resolved.
ERROR 180-322: Statement is not valid or it is used out of proper order.
what is the wrong this sas macro code, why can this sas code not study, is there any idea for this problem,
very much thanks to answers....
Dr. İlker ERCANLI
12-01-2013 08:05 PM
Did you follow the instructions in this note? 25032 - %NLINMIX macro to fit nonlinear mixed models? According to the instructions, you have to 1) download the .SAS program and store it in a location on your system or server; 2) use a %INC statement to include the .SAS program so it will be compiled and stored in the WORK.SASMACR catalog; 3) then invoke the macro using the %NLINMIX invocation. If you log off between #2 and #3, then you will not have to download again, but you will have to recompile the macro code before you can run it. Your error message indicates that the macro code was not found. If you followed the instructions in the Tech Support note and are still having issues, then you should contact Tech Support for more help.
12-03-2013 08:17 AM
Have you considered using PROC NLMIXED, rather than the nlinmix macro? Many of the issues with the macro (convergence, model expression) have been resolved in NLMIXED.