BookmarkSubscribeRSS Feed
xzhang
Calcite | Level 5

has anyone used %SDF in proc lifereg before? can this score a different dataset?

still working on how to score a diffrerent dataset using proc lifereg.....

Does R have this capability to score a different dataset using proc lifereg?

1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

There are multiple ways of scoring a new dataset (new observations) using an existing model.

 

Try using the STORE Statement (in PROC LIFEREG) and subsequently PROC PLM.

The model (fit by PROC LIFEREG) is written to an item store.

An item store is a binary file format that cannot be modified by the user. The contents of the item store can be processed with the PLM procedure.

 

See here for some background info:

 

Usage Note 33307: Scoring (computing predicted values) for new observations or a validation data set

http://support.sas.com/kb/33/307.html

 

and

 

Techniques for scoring a regression model in SAS

http://blogs.sas.com/content/iml/2014/02/19/scoring-a-regression-model-in-sas.html

 

There is also a "SAS Statistical Procedures" section within the Analytics community. You would have got your answer 4 weeks earlier by posting your question over there. 😉

 

Cheers,

Koen

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1288 views
  • 0 likes
  • 2 in conversation