I am using GWNBR Macro, I get the following error. Does anyone know what the reason could be?
939 %gwnbr(data=mydata,y=acc,x=length,lat=yc,long=xc,h=
939! 59.899665,gwr=global,method=fixed,geocod=op,out=gwr);
NOTE: IML Ready
ERROR: Invocation of unresolved module QNTL.
statement : CALL at line 939 column 1
ERROR: (execution) Matrix has not been set to a value.
operation : [ at line 939 column 1
operands : qntl, *LIT1306,
qntl 0 row 0 col (type ?, size 0)
*LIT1306 1 row 1 col (numeric)
3
statement : ASSIGN at line 939 column 1
ERROR: Matrix qntl has not been set to a value.
statement : PRINT at line 939 column 1
ERROR: Invocation of unresolved module QNTL.
statement : CALL at line 939 column 1
ERROR: (execution) Matrix has not been set to a value.
operation : [ at line 939 column 1
operands : qntls, *LIT1314,
qntls 0 row 0 col (type ?, size 0)
*LIT1314 1 row 1 col (numeric)
3
statement : ASSIGN at line 939 column 1
ERROR: Matrix qntls has not been set to a value.
statement : PRINT at line 939 column 1
NOTE: The data set WORK._PARAMETERS_ has 8 observations and 11 variables.
NOTE: Exiting IML.
NOTE: The data set WORK._RES_ has 8 observations and 7 variables.
NOTE: The data set WORK._STAT_ has 1 observations and 10 variables.
NOTE: The data set WORK._BETA_ has 16 observations and 8 variables.
NOTE: The data set WORK._ALPHA_ has 8 observations and 11 variables.
NOTE: The data set WORK._SIG_PARAMETERS2_ has 8 observations and 2 variables.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IML used (Total process time):
real time 1.74 seconds
cpu time 0.07 seconds
The simplest explanation is that you are running an ancient version of SAS.
The error message says
ERROR: Invocation of unresolved module QNTL.
That means that the macro is calling the QNTL function in PROC IML, but your version of SAS does not have it.
The QNTL function was introduced way back in SAS 9.3 (2011). You can run the statement
%put &=SYSVLONG;
to get a message in the log that tells you your version of SAS.
The simplest explanation is that you are running an ancient version of SAS.
The error message says
ERROR: Invocation of unresolved module QNTL.
That means that the macro is calling the QNTL function in PROC IML, but your version of SAS does not have it.
The QNTL function was introduced way back in SAS 9.3 (2011). You can run the statement
%put &=SYSVLONG;
to get a message in the log that tells you your version of SAS.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.