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
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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