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-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!

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