Tobit
Description
Create and analyze a Tobit model object to calculate loss
given default (LGD) using this workflow:
Use
fitLGDModelto create aTobitmodel object.Use
predictto predict the LGD.Use
modelDiscriminationto return AUROC and ROC data. You can plot the results usingmodelDiscriminationPlot.Use
modelCalibrationto return the R-squared, RMSE, correlation, and sample mean error of predicted and observed LGD data. You can plot the results usingmodelCalibrationPlot.
Creation
Description
specifies options using one or more name-value arguments in addition to the
input arguments in the previous syntax. The optional name-value arguments
set the model object properties. For example,
TobitLGDModel = fitLGDModel(___,Name,Value)lgdModel = fitLGDModel(data,'tobit',PredictorVars={'LTV' 'Age'
'Type'},ResponseVar="LGD",CensoringSide="left",LeftLimit=1e-4,WeightsVar="Weights")
creates a lgdModel object using a
Tobit model type.
Input Arguments
Name-Value Arguments
Properties
Object Functions
predict | Predict loss given default |
modelDiscrimination | Compute AUROC and ROC data |
modelDiscriminationPlot | Plot ROC curve |
modelCalibration | Compute R-square, RMSE, correlation, and sample mean error of predicted and observed LGDs |
modelCalibrationPlot | Scatter plot of predicted and observed LGDs |
Examples
More About
References
[1] Baesens, Bart, Daniel Roesch, and Harald Scheule. Credit Risk Analytics: Measurement Techniques, Applications, and Examples in SAS. Wiley, 2016.
[2] Bellini, Tiziano. IFRS 9 and CECL Credit Risk Modelling and Validation: A Practical Guide with Examples Worked in R and SAS. San Diego, CA: Elsevier, 2019.

