BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tim_sas_
Obsidian | Level 7

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

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

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.

View solution in original post

1 REPLY 1
Tom
Super User Tom
Super User

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.

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 3656 views
  • 1 like
  • 2 in conversation