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.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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