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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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