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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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