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

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 25. 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
  • 1314 views
  • 0 likes
  • 2 in conversation