BookmarkSubscribeRSS Feed
Suryateja
Calcite | Level 5

How can we predict result for a hypothetical given observation for a linear regression model in SAS Enterprise miner

3 REPLIES 3
Reeza
Super User

Usually you would use the SCORE node. Is something about that not working for you?

Suryateja
Calcite | Level 5
Could you please let me know the steps how we can add an observation
manually to the Score node pls
Reeza
Super User

You need to create a data set with the observation values. You can do that in multiple ways, but one would be to use a SAS code node in a data step.

 

data data2score;
input ID $ var1-var5;
cards;
A 0 1 2 3 4
;
run;

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 793 views
  • 0 likes
  • 2 in conversation