Hi,
I have to calculated predicted PD for year 2015, 2016 and 2017 for Bucket1, Bucket2, Bucket3 and Bucket4 using a Z_score and an Index value. I already have Z_Score from other table, but I need to generate an Index value (which is a random value).
The Index value to be generated should be such that that when we calculate predicted PD using it for each year. The sum square errors of Predicted PDs and Actual PDs should be minimum.
I am able to do this in Excel using Run solver, and I read that proc optmodel is an equivalent for this in SAS. But I am not able to use proc opt model in SAS EG. Is there any other way I can do this? If yes then please suggest.
If not, then I need help in coding this using Proc opt model as I am not familiar with usage of it
Attached is the Input table and desired output table in excel file:
Table 1: Using Z Score from this
Table 2: Bucket-wise Actual PDs for each year
Table 3: Highlighted yellow values are index values generated, and used in calculating predicted values
Table 4: Min sum of squares between actual and predicted and Index value.
Please help with this, as I am in urgent need to perform this calculation in SAS.