03-06-2017 02:26 PM
I have 2 doubts:
1- I would like to confirm if I can score a data automatically using the following code:
PROC PHREG DATA = DATA_TRAINING NOPRINT;
MODEL TIME*C_VAR(0) = var1 var2 var3;
BASELINE OUT= DATA_SCORED COVARIATES= DATA_TO_SCORE SURVIVAL=SURV;
DATA_TRAINING=> Database that I have responses and I will take the estimators;
DATA_TO_SCORE => Database that I want to score using estimators calculated with DATA_TRAINING;
DATA_SCORED => Output data (DATA_TO_SCORE scored).
2- I would like to know how to score a data creating a code writting all estimators manually:
score = s(t) ** exp(sum(var1*est1, var2*est2, var3*est3))
How do I get this s(t) in DATA_TRAINING?
Thanks in advance