BookmarkSubscribeRSS Feed
asifgeneral
Calcite | Level 5

LGD modelling using Linear Regression

 

proc score data= Mydata score=tarin_estimate out=Reg_output (keep=RR model1)

predict type=parms;

var var1 var2 var3 var4... var14;

run;

 

I want to know about the option predict? Can you please help. Thanks  

1 REPLY 1
PaigeMiller
Diamond | Level 26

For questions like this, I go straight to the documentation

 

PREDICT

specifies that PROC SCORE should treat coefficients of –1 in the SCORE= data set as 0. In regression applications, the dependent variable is coded with a coefficient of –1. Applied directly to regression results, PROC SCORE produces negative residuals (see the description of the RESIDUAL option, which follows); the PREDICT option produces predicted values instead.

 

--
Paige Miller

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 584 views
  • 1 like
  • 2 in conversation