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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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