Hello I try to check nonlinearity in the regression by using square in one of my variable (fownff) My code is: proc glm data=sasuser.sasfile060716; class firmno sector year industry; model roa = fownff fownff**2 salesGro RDAssets LTassets LNAssetsindustry year /solution; run; But the log I got is: ERROR 22-322: Syntax error, expecting one of the following: a name, ;, (, *, -, /, @, _CHARACTER_, _CHAR_, _NUMERIC_, |. ERROR 200-322: The symbol is not recognized and will be ignored. As far as I know, this is the way to check linearity. I appreciate your help to explain what is my mistake Thanks a lot!
... View more