BookmarkSubscribeRSS Feed
munitech4u
Quartz | Level 8

I have built a model using PHREG, I want to apply the model on a new dataset to get the prediction of an event. In R, we have a function predict, which we can apply on new data, by specifying the specifying the model which is built on train dataset. How can we do that similarly in SAS?

1 REPLY 1
jakarman
Barite | Level 11

If you have a train dataset (and validation) it seems to me you Eminer licensed.
With Eminer you have a scoring node, that is working on sas datasets. It also support creating the scoring code to external databases. 

The Pmml interfacing for import/export data mining models could be an other feature.

Very advanced would be going for the modelmanager.

Ok you have used some basic statistical functions as "proc phreg". Scoring looks an issue with "proc score" with some models.

https://communities.sas.com/message/104433 

phrreg and predict could be better with hits.

http://www2.sas.com/proceedings/sugi28/120-28.pdf , http://support.sas.com/kb/33/307.html

---->-- ja karman --<-----

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1406 views
  • 0 likes
  • 2 in conversation