%% Display Bin Information Using Default Options
% Create a creditscorecard object using the CreditCardData.mat file to load the data (using a dataset from Refaat 2011).

load CreditCardData 
sc = creditscorecard(data);

%
% Display bin information for the categorical predictor ResStatus.

bi = bininfo(sc,'ResStatus')

% Copyright 2015 The MathWorks, Inc.