Programming the statistical procedures from SAS

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

Reply
New Contributor
Posts: 3

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

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?

SAS Employee
Posts: 48

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

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

Ask a Question
Discussion stats
  • 1 reply
  • 118 views
  • 0 likes
  • 2 in conversation