I am running the %goflogit Macro for the goodness-of-fit of the Logit model I am running. Right off the bat, I have these errors, and I don't really know what they mean or what I should do to remedy the issue. These errors keep repeating 61 times. I found this post, which again can not pin to the problem I am facing: http://blogs.sas.com/content/iml/2010/11/29/how-to-interpret-sasiml-error-messages.html
Any help is highly appreciated.
Here is the output:
308 %goflogit (data=b, y=Y, xlist=X1 X2 X3 X4 X5 X1*X1, trials=num)
NOTE: Worksize = 2048000
NOTE: Symbol size = 204800
NOTE: IML Ready
statement : READ at line 8877 column 56
ERROR: (execution) Invalid argument to function.
operation : REPEAT at line 8888 column 32
operands : *LIT1004, n, *LIT1005
*LIT1004 1 row 1 col (numeric)
1
n 1 row 1 col (numeric)
0
*LIT1005 1 row 1 col (numeric)
1
statement : ASSIGN at line 8888 column 17
ERROR: (execution) Matrix has not been set to a value.
operation : // at line 8888 column 58
operands : design, design
design 0 row 0 col (type ?, size 0)
design 0 row 0 col (type ?, size 0)
You need to specify valid variable names that exist in the data set. The macro does not interpret interaction terms like X1*X1.
Instead, you need to generate the interaction yourself and create a new variable that contains the interaction term.
For information about how to create a design matrix, see
"Four ways to create a design matrix in SAS"
or use the DATA step to create the interaction.
You need to specify valid variable names that exist in the data set. The macro does not interpret interaction terms like X1*X1.
Instead, you need to generate the interaction yourself and create a new variable that contains the interaction term.
For information about how to create a design matrix, see
"Four ways to create a design matrix in SAS"
or use the DATA step to create the interaction.
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.