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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.