Hello all,
I will appreciate if you can help me with this problem.
I have a SAS database call it D((x(i)) of loan level data for a Mortgage deal comprising of static variables such as loan level information and dynamic information like time dependent Home Price Appreciation, Interest Rates etc.
I have an SAS code that has a regression model with model coefficients that takes the input of the Mortgage data and throws out the probability of default, prepayment, and loss given default for x(i,t)
I want to write a C++ program to integrate this and generate an excel output for an aggregated deal level monthly prepayment, default and loss severity curve.
The C++ program should do the following :
a) Read a deal name from a database of dealnames from an Excel File
b) Then read the database of loan level information from the loan level database called D for the deal
c) Run the regression model for each loan
d) Generate aggregated curves for prepayment, default and loss severity
e) Output the curves into excel for the specific deal name
I have heard people do it by packaging the SAS code into a dll and then using their C++ program to read it. But would appreciate if someone can help me with the same.
Any help will be greatly appreciated.
I will appreciate if you can help me with this problem.
I have a SAS database call it D((x(i)) of loan level data for a Mortgage deal comprising of static variables such as loan level information and dynamic information like time dependent Home Price Appreciation, Interest Rates etc.
I have an SAS code that has a regression model with model coefficients that takes the input of the Mortgage data and throws out the probability of default, prepayment, and loss given default for x(i,t)
I want to write a C++ program to integrate this and generate an excel output for an aggregated deal level monthly prepayment, default and loss severity curve.
The C++ program should do the following :
a) Read a deal name from a database of dealnames from an Excel File
b) Then read the database of loan level information from the loan level database called D for the deal
c) Run the regression model for each loan
d) Generate aggregated curves for prepayment, default and loss severity
e) Output the curves into excel for the specific deal name
I have heard people do it by packaging the SAS code into a dll and then using their C++ program to read it. But would appreciate if someone can help me with the same.
Any help will be greatly appreciated.