BookmarkSubscribeRSS Feed
chintanpatel
Calcite | Level 5

Hello, I have three varaibles a,b and c. I am performing multiple linear regression. Before performing it i divided my data-set into train data and validate data. train data i am using to build regression model. And i would like to validate my data using the model. The code to build regression model over my train data is given below. How can i use the result from regression model to validate my data ?

 

proc reg data=WORK.train alpha=0.05 plots(only)=(diagnostics residuals
        observedbypredicted);
    model c = a b/;
    run;

 

1 REPLY 1

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2206 views
  • 0 likes
  • 2 in conversation