Hello,
I have a question regarding an error message I receive. I run a regression on a constant (please see code below). It works without any problems, but it shows the following warning:
The variable _NAME_ or _TYPE_ exists in a data set that is not TYPE=CORR, COV, SSCP, etc.
Proc reg data=data_in;
Model Variable_1 = ;
ODS Output parameterestimates = data_out;
run;
I do not really understand the meaning of this error in this particular context and would be very glad if someone has an idea.
Many thanks,
Tim
That is just a WARNING, not an error. PROC REG can use covariance table as input (TYPE=COV) so it is just asking if you perhaps meant to have given it a covariance table instead of a regular table. You could just drop or rename the _TYPE_ and/or _NAME_ variable especially since your code does not appear to be using them.
That is just a WARNING, not an error. PROC REG can use covariance table as input (TYPE=COV) so it is just asking if you perhaps meant to have given it a covariance table instead of a regular table. You could just drop or rename the _TYPE_ and/or _NAME_ variable especially since your code does not appear to be using them.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.