<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2019.75076</article-id><article-id pub-id-type="publisher-id">JAMP-92672</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Logistic and SVM Credit Score Models Based on Lasso Variable Selection
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Qingqing</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>College of Science, University of Shanghai for Science and Technology, Shanghai, China</addr-line></aff><pub-date pub-type="epub"><day>06</day><month>05</month><year>2019</year></pub-date><volume>07</volume><issue>05</issue><fpage>1131</fpage><lpage>1148</lpage><history><date date-type="received"><day>22,</day>	<month>April</month>	<year>2019</year></date><date date-type="rev-recd"><day>24,</day>	<month>May</month>	<year>2019</year>	</date><date date-type="accepted"><day>27,</day>	<month>May</month>	<year>2019</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   
   There are many factors influencing personal credit. We introduce Lasso technique to personal credit evaluation, and establish Lasso-logistic, Lasso-SVM and Group lasso-logistic models respectively. Variable selection and parameter estimation are also conducted simultaneously. Based on the personal credit data set from a certain lending platform, it can be concluded through experiments that compared with the full-variable Logistic model and the stepwise Logistic model, the variable selection ability of Group lasso-logistic model was the strongest, followed by Lasso-logistic and Lasso-SVM respectively. All three models based on Lasso variable selection have better filtering capability than stepwise selection. In the meantime, the Group lasso-logistic model can eliminate or retain relevant virtual variables as a group to facilitate model interpretation. In terms of prediction accuracy, Lasso-SVM had the highest prediction accuracy for default users in the training set, while in the test set, Group lasso-logistic had the best classification accuracy for default users. Whether in the training set or in the test set, the Lasso-logistic model has the best classification accuracy for non-default users. The model based on Lasso variable selection can also better screen out the key factors influencing personal credit risk. 
  
 
</p></abstract><kwd-group><kwd>Credit Evaluation</kwd><kwd> Logistic Algorithm</kwd><kwd> SVM Algorithm</kwd><kwd> Lasso Variable Selection</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In the 21st century, with the rapid development of China’s economy, the concept of Chinese people’s consumption has undergone tremendous changes, and the credit industry has developed rapidly. Among them, the development of credit card business is increasing day by day, and the credit risk that comes with it is not to be underestimated. Credit scoring model has been the core of credit risk management. In fact, the credit scoring model is a statistical model that analyzes a large number of customers’ historical data, extracts key factors affecting credit risk, and then constructs a suitable model to evaluate the credit risk of new applicants or existing customers. Therefore, the construction of the personal credit scoring model can respond to credit risk in a timely and effective manner, which will play an important role in both banks and regulatory authorities.</p><p>In this era of information explosion, however, the emergence of big data has also led to some credit information, and the existing scoring models often cannot effectively screen out dangerous customers. At the same time, the increasing of the high customer information can lead to the complexity of the credit scoring, model bias and instability, thus variable selection becomes the key issues and difficulties in personal credit evaluation model. It is of great significance to apply the variable selection method to the development of the credit scoring model. In the credit scoring model, the subset selection such as stepwise regression is a discrete and unstable process, and the variable selection will be changed by small changes in the data set. Selection and parameter estimation also need to be carried out in two steps. Subsequent parameter estimation does not take into account the bias caused by variable selection, and accordingly it underestimates the actual variance. The calculation of subset selection is also quite complicated. In view of these defects, we adopt the Lasso method which can simultaneously perform variable selection and parameter estimation. After quantifying many explanatory variables, it is necessary to establish dummy variables as explanatory variables of the model. When using stepwise regression to select variables, only one dummy variable can be selected, which is the reason why the results are difficult to explain. However, the above problems can be well solved by Group lasso when it performs variable selection on group variables, making the dummy variables belonging to the same group be completely retained or fully eliminated in the model.</p><p>In this paper, the Logistic and SVM models of Lasso were mainly used to select and classify the influencing factors of personal credit evaluation. Then, the prediction accuracy of several models for default users is compared.</p></sec><sec id="s2"><title>2. Literature Review</title><p>Typical credit evaluation models are: linear discriminant analysis, logistic regression, K-nearest neighbor, classification tree, neural network, genetic algorithm, support vector machine [<xref ref-type="bibr" rid="scirp.92672-ref1">1</xref>] - [<xref ref-type="bibr" rid="scirp.92672-ref7">7</xref>] , etc. Among them, Logistic regression is most widely used in personal credit score, and support vector Machine (SVM) is a new artificial intelligence method developed in recent years. In 1980, Wiginton [<xref ref-type="bibr" rid="scirp.92672-ref8">8</xref>] first applied logistic regression to credit score analysis and analyzed the prediction accuracy of the model. Baseens and Gestel first applied the support vector machine method to the letter in 2003. In the scoring field, the support vector machine method is obviously superior to the linear regression and neural network methods.</p><p>On the contrary, in China, the construction of the credit score system just started. Shi and Jin [<xref ref-type="bibr" rid="scirp.92672-ref9">9</xref>] summarize the main models and methods of personal credit score. Xiang [<xref ref-type="bibr" rid="scirp.92672-ref10">10</xref>] proposed to establish personal credit evaluation by using multiple discriminant analysis (MDA), decision tree, logistic regression, Bayes network (Bayes), BP neural network, RBF neural network and SVM. Shen and so on [<xref ref-type="bibr" rid="scirp.92672-ref11">11</xref>] <sup> </sup>did a follow-up study on support vector machines. Hu [<xref ref-type="bibr" rid="scirp.92672-ref12">12</xref>] believed that the most representative Logistic model are widely concerned by researchers due to its high prediction accuracy, simple calculation and strong variable explanatory ability.</p><p>There are two main methods for selecting variables: subset selection method and coefficient compression method. Subset selection method is that in linear model, all variables form a set, and each subset of the set corresponds to a model. According to certain criteria, an optimal subset fitted regression model is selected from all subsets or partial subsets.</p><p>The main research on subset selection are AIC (Akaike Information Criterion)<sup> </sup> [<xref ref-type="bibr" rid="scirp.92672-ref13">13</xref>] proposed by Akaike, BIC (Bayesian Information Criterion) [<xref ref-type="bibr" rid="scirp.92672-ref14">14</xref>] proposed by Scllwaz, CIC (covariance expansion criterion, Tibshirani and Knight) [<xref ref-type="bibr" rid="scirp.92672-ref15">15</xref>] and Mallows’ C_P Guidelines [<xref ref-type="bibr" rid="scirp.92672-ref16">16</xref>] . Although these methods have strong practicability, there are many problems. For example: large algorithm complexity, high computational cost, poor interpretability of explanatory variables, etc.</p><p>With the continuing research, the variable selection method based on penalty function has been widely concerned by statistical researchers. The basic idea of this method is to add a new penalized term to the least squares or maximum likelihood function and we then minimize or maximize the augmented objective function. Thus, by compressing the regression coefficients of the insignificant variables to zero, the variables are eliminated, and the significant variables are compressed very little or it can be retained in the regression model without compression. Hence it performs the variables selection and parameters estimation simultaneously, greatly improving the speed of calculation. Regarding the penalty function, the earliest penalty function is the ridge regression method proposed by Hoerl and Kennard [<xref ref-type="bibr" rid="scirp.92672-ref17">17</xref>] , but it cannot make variable selection. Since then, Frank and Fredman [<xref ref-type="bibr" rid="scirp.92672-ref18">18</xref>] have proposed the bridge regression method. The Lasso method is proposed by Tibshirani [<xref ref-type="bibr" rid="scirp.92672-ref19">19</xref>] , which combines the advantages of ridge regression and subset selection. The least angle regression (LARS) proposed by Efron [<xref ref-type="bibr" rid="scirp.92672-ref20">20</xref>] gives everyone a deeper understanding of Lasso. Zou [<xref ref-type="bibr" rid="scirp.92672-ref21">21</xref>] overcomes the problem of excessive compression parameters of Lasso by introducing weights, and proposes an adaptive lasso model. It has the property of “Oracle properties”. Yuan and Lin [<xref ref-type="bibr" rid="scirp.92672-ref22">22</xref>] proposed group lasso, Wang et al. [<xref ref-type="bibr" rid="scirp.92672-ref23">23</xref>] proposed group SCAD, and Huang et al. [<xref ref-type="bibr" rid="scirp.92672-ref24">24</xref>] proposed group MCP. For group variable selection, the variables in one group either all enter into the model or are all eliminated. However, in practical applications, there are cases where individual variables in some groups are not significant. Therefore, a method which can not only select group variables but also select variables in a group is needed. That is the so-called, the so-called bi-level variable selection. After that, Huang et al. [<xref ref-type="bibr" rid="scirp.92672-ref25">25</xref>] proposed group bridge, and Simon et al. [<xref ref-type="bibr" rid="scirp.92672-ref26">26</xref>] proposed sparse group lass. All these are bi-level variable selection methods. The main contribution of this paper is to apply Logistic, Lasso-logistic, Group lasso-logistic and Lasso-SVM models to evaluate personal credit scores. Through experimental comparison, the advantages of the progressive selection, the backward selection and the Lasso method in the selection of variables are compared, and the prediction accuracy of each model is also compared.</p><p>In the third section, we present the algorithm models of Lasso-logistic, Lasso-SVM and Group lasso-logistic, and propose the method to select the parameter lambda in the model. In the fourth section, with the help of the credit data of the credit platform, SPSS software is used to preprocess the data. Section five and six use R language to compare and analyze the variable selection ability and prediction accuracy of the model through numerical experiments, so as to draw relevant conclusions.</p></sec><sec id="s3"><title>3. Model</title><sec id="s3_1"><title>3.1. Logistic Model</title><p>Logistic regression is a probabilistic nonlinear model, which is a multivariable analysis method used to study the relationship between binary observation results and some influencing factors. Its basic idea is to study whether a result occurs under certain factors. For example, this paper uses some variable indicators to judge a person’s credit status. Logistic regression can be expressed as:</p><p>P = 1 1 + e − s ,</p><p>s = β 0 + ∑ i = 1 n β i x i .</p><p>where x i ( i = 1 , 2 , ⋯ , n ) is the explanatory variable in the credit risk assessment (or the characteristic indicator of the individual), β i ( i = 1 , 2 , ⋯ , n ) regression coefficient. Logistic regression value P ∈ ( 0 , 1 ) is the discriminant result of credit risk.</p><p>The graph of the function in Logistic regression model has an s type distribution, as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>As you can see from <xref ref-type="fig" rid="fig1">Figure 1</xref>, P is a continuous increasing function of s, s ∈ ( − ∞ , + ∞ ) , and:</p><p>lim s → + ∞ P = lim s → + ∞ 1 1 + e − s = 1 ,</p><p>lim s → − ∞ P = lim s → − ∞ 1 1 + e − s = 0.</p><p>For someone i ( i = 1 , 2 , ⋯ , n ) , if P i is close to 1 (or P i ≈ 1 ), then it is judged as a “poor” credit person (or risk of default); if P i is close to 0 (or P i ≈ 0 ),</p><p>then the person is judged to be “good”. That is, the value of P i farther away from 1 indicates that the person is less likely to fall into default set. On the contrary, it means that the risk of default is greater.</p><p>Suppose there are data variables ( x i , y i ) , i = 1 , 2 , ⋯ , n ,</p><p>where x i = ( x i 1 , x i 2 , ⋯ , x i m ) which is the observed value of the explanatory variable and y i ∈ { 0 , 1 } is the observed value of the interpreted variable. In the general regression model, the observed values of the explanatory variable and the interpreted variable are often considered to be independent. In addition,</p><p>assume that x i j is standardized. Namely, 1 n ∑ i x i j = 0 ,   1 n ∑ i x i j 2 = 1 . Let</p><p>P i = P ( y i = 1 | x i ) be the conditional probability of y i = 1 given x i . The conditional probability under the same conditions is P ( y i = 0 | x i ) = 1 − P i . Then, given a test sample ( x i , y i ) , its probability is:</p><p>P ( y i ) = P i y i ( 1 − P i ) 1 − y i ,</p><p>where P i = e β 0 + β 1 x i 1 + ⋯ + β m x i m 1 + e β 0 + β 1 x i 1 + ⋯ + β m x i m . Assume that each sample is independent of each</p><p>other. Their joint distribution (i.e., likelihood function) can be expressed as:</p><p>L ( β 0 , β 1 , ⋯ , β m ) = ∏ i = 1 n P i y i ( 1 − P i ) 1 − y i .</p><p>The Maximum Likehood method is a good choice to estimate the parameter β . Because it can maximize the possibility that the observed value of each sample is equal to its true value. In other words, it can maximize the log likelihood function in the logistic model:</p><p>ln ( L ( β 0 , β 1 , ⋯ , β m ) ) = ln ( ∏ i = 1 n P i y i ( 1 − P i ) 1 − y i ) = ∑ i = 1 n y i ( X i β − ln ( 1 + e X i β ) ) .</p><p>For convenience, we set X i = ( 1 , x i ) and β = ( β 0 , β 1 , ⋯ , β m ) T . Estimating the model’s parameter β by maximum likelihood estimation is equivalent to solve the following problem:</p><p>β ^ = arg max l ( β ) ,</p><p>It is easy to know that l ( β ) is concave and continuously differentiable, and therefore its local maximizer is the global maximizer. Calculate partial derivatives and make it to be zero, which leads to the likelihood equations:</p><p>∂ ln ( L ( β 0 , β 1 , ⋯ , β m ) ) ∂ β 0 = ∑ i = 1 n ( y i − e β 0 + β 1 x i 1 + ⋯ + β m x i m 1 + e β 0 + β 1 x i 1 + ⋯ + β m x i m ) = 0 ,</p><p>∂ ln ( L ( β 0 , β 1 , ⋯ , β m ) ) ∂ β j = ∑ i = 1 n ( y i − e β 0 + β 1 x i 1 + ⋯ + β m x i m 1 + e β 0 + β 1 x i 1 + ⋯ + β m x i m ) x i j = 0.</p><p>But it is difficult to get an explicit solution. It needs to be solved by some iterative methods such as Newton-Raphson, EM and gradient descent algorithms. The estimated β j obtained by the likelihood equation is called the maximum likelihood estimate, and the corresponding conditional probability P i is estimated by P i ^ .</p><p>Logistic has a wide range of applications in credit scoring. The traditional Logistic method is very simple, but it is sensitive to multi-collinearity interference between individual credit variables. Therefore, some redundant variables are selected, resulting in poor prediction results. That is why we improve this method.</p></sec><sec id="s3_2"><title>3.2. Lasso Model</title><p>Tishirani proposed the Lasso method which is motivated by non-negative Garrote [<xref ref-type="bibr" rid="scirp.92672-ref27">27</xref>] .</p><p>Let β ^ = ( β ^ 1 , ⋯ , β ^ m ) T , the estimator ( α ^ , β ^ ) of the lasso method is:</p><p>( α ^ , β ^ ) = arg min α , β { ∑ i n ( y i − α − ∑ j = 1 m β j x i j ) 2 } ,     s . t .   ∑ j = 1 m | β j | ≤ t ,</p><p>where t ≥ 0 is the regularization parameter. For all t, one has an estimator α ^ = y &#175; of α . Without loss of generality, we assume that y &#175; = 0 , Above problem can be rearranged into the following form:</p><p>β ^ = arg min β { ∑ i n ( y i − ∑ j = 1 m β j x i j ) 2 } ,     s . t .   ∑ j | β j | ≤ t .</p><p>It can also be expressed in the form of the following penalty function:</p><p>β ^ = arg min β { ∑ i n [ ( y i − ∑ j = 1 m β j x i j ) 2 + λ ∑ j = 1 m | β j | ] } .</p><p>The first part of the formula represents the goodness of the model fit, and the second part represents the penalty of the parameter. The harmonic coefficient λ ∈ [ 0 , + ∞ ] is smaller. The smaller role of the penalty term plays the more variables is retained; the larger lambda is, the more roles of the penalty term plays, and the fewer variables are retained.</p><sec id="s3_2_1"><title>3.2.1. Logistic-Lasso Model</title><p>The Lasso method is mainly applied to linear models. The essence is to add a penalty function to the sum of squared residuals. When estimating parameters, the coefficients are compressed, and some coefficients are even compressed to 0 to achieve model variable selection. But for credit default prediction, the dependent variable is a binary value. In this case, the linear regression model cannot be used. Instead, Lasso-logistic [<xref ref-type="bibr" rid="scirp.92672-ref28">28</xref>] should be used. Penalized logistic regression is a modification of the logistic regression model. The negative log-likelihood function adds a non-negative penalty term to achieve good control of the coefficients.</p><p>The conditional probability of the logistic linear regression model can be expressed as:</p><p>log { P ( y i = 1 | x i ) 1 − P ( y i = 1 | x i ) } = η β ( x i ) ,</p><p>where η β ( x i ) = X i β .</p><p>The coefficient estimate β λ ^ in the Lasso-logistic regression model is given by the minimum value of the convex function of the following form:</p><p>S λ ( β ) = − l ( β ) + λ ∑ j = 1 m | β j | ,</p><p>where</p><p>l ( β ) = ∑ i = 1 n { y i η β ( x i ) − log { 1 + exp [ η β ( x i ) ] } }</p><p>The estimator β ^ in Lasso-logistic regression model can be given as:</p><p>β ^ = arg min β − ∑ i = 1 n { y i η β ( x i ) − log { 1 + exp [ η β ( x i ) ] } } + λ ∑ j = 1 m | β j |     .</p></sec><sec id="s3_2_2"><title>3.2.2. Lasso-SVM Model</title><p>The standard SVM model does not have feature selection capabilities. The specific approach of adding regularization to the SVM model is to use the regularization term with sparsity to replace the L 2 norm in the standard SVM. The L 1 norm is convex functions, with Lipschitz continuum, having properties better than other norms. L<sub>1</sub>-SVM and its similar extensions have evolved into one of the most important tools for data analysis. The general form of Lasso-SVM is given below:</p><p>min ∑ j = 1 m | β i | + C ∑ i = 1 n ξ i</p><p>s . t .       y i ( X i T β ) ≥ 1 − ξ i ,     i = 1 , 2 , ⋯ , n</p><p>ξ i ≥ 0.</p><p>Lasso-SVM can also be written in the following form:</p><p>min ∑ i = 1 n [ 1 − y i f ( X i ) ] + + λ ∑ j = 1 m | β i |     .</p><p>where [ 1 − y i f ( X i ) ] + is a Hinge loss function and λ is a regularization parameter.</p></sec><sec id="s3_2_3"><title>3.2.3. Group Lasso-Logistic Model</title><p>Group lasso was introduced by Yuan and Lin (2006), allowing pre-defined covariates to be grouped together and selected from the model. All variables in a particular group can be included or not included. It is very useful in many settings. Group lasso algorithm for logistic regression was first proposed by Kim et al., and then Meier et al. [<xref ref-type="bibr" rid="scirp.92672-ref29">29</xref>] proposed a new one which can solve high dimensional problems.</p><p>Suppose there is an independent and identical distribution of observation ( x i , y i ) , i = 1 , 2 , ⋯ , n . x i = ( x i 1 , x i 2 , ⋯ , x i m ) which is an m-dimensional vector that can be divided into G groups, and the dependent variable is a binary variable y i ∈ { 0 , 1 } . The independent variable can be a continuous variable or a classified variable. Assume that the degree of freedom of the group g argument is d f g , X i = ( 1 , x i , 1 , x i , 2 , ⋯ , x i , G ) , ( g = 1 , 2 , ⋯ , G ) . x i , g denotes the x i , g group of variables of the observation x i , g . Similarly, β can be expressed as ( β 0 ; β 1 ; β 2 ; ⋯ ; β G ) , β g denotes the coefficients corresponding to group G g variables, where the labeling method is used to distinguish the β j fraction in the case of no grouping. The probability of “default” of the dependent variable P β ( x i ) = P β ( y = 1 | x i ) can be expressed by the following model:</p><p>log { P β ( x i ) 1 − P β ( x i ) } = η β ( x i ) = β 0 + ∑ g = 1 G x i , g T β g = X i β ,</p><p>where β 0 denotes intercept, β g is the coefficient vector corresponding to group g and β is the whole coefficient vector.</p><p>The parameter β ^ ( λ ) can be estimated by minimizing the convex function:</p><p>S λ ( β ) = − l ( β ) + λ ∑ g = 1 G s ( d f g ) ‖ β g ‖ 2 ,</p><p>where l ( β ) is a logarithmic likelihood function:</p><p>l ( β ) = ∑ i = 1 n { y i η β ( x i ) − log { 1 + exp [ η β ( x i ) ] } } ,</p><p>s ( d f g ) = ( d f g ) 1 / 2 and s ( ⋅ ) is used to rescale the parameter β g vector.</p></sec></sec><sec id="s3_3"><title>3.3. The Choice of Harmonic Parameter</title><p>In the variable selection model, the key lies in the selection of the harmonic parameter lambda. That is to say, the optimal lambda determines the prediction accuracy and robustness of the model. The common methods for the optimal lambda are AIC, BIC, Cross-validation, Generalized cross-validation. Here, we use K-fold cross-validation to determine the optimal lambda.</p><p>The main idea of K-fold cross validation is that the data are randomly divided into K (usually 5 or 10) identical parts. Each k = 1 , ⋯ , K , uses the data of the K part as the test sample, and uses the remaining K-1 parts of the data as the training sample to fit the model. Loop K times until all k are traversed. We denote the estimator by β ^ − k . The harmonic parameter β ^ ( λ ) corresponds to a classification model and the corresponding estimator β ^ ( λ ) . The generalization error of each model corresponding to lambda is given by the mean square prediction error. That means Cross-Validation Error (CVE) is estimated:</p><p>C V ( λ ) = 1 K ∑ k = 1 K 1 n k ∑ i ∈ C k ( y i − X i T β ^ − k ) 2 ,</p><p>where C k is the k-th partial cross-check sample, n k = | C k | = n K . Minimize the</p><p>above formula to find the most appropriate harmonic parameters, and the corresponding model can be considered to be the model with the best performance based on cross-check error.</p></sec></sec><sec id="s4"><title>4. Data</title><sec id="s4_1"><title>4.1. Data Source</title><p>The original data is mainly from a domestic lending institution. There are a total of 8000 records in this data set, including 25 fields. Among them, 23 fields describe the personal characteristics of the lender, including the basic personal identity information: domicile, gender, local work, education level and marital status. Also include personal economic ability: whether there is a CPF salary level. Data set also includes personal debt and debt repayment record: frequency of personal housing loan, personal commercial housing loan pen number and frequency of other loan credit card account number, number, frequency of delinquent loans, loans overdue month loan highest monthly overdue amount, maximum length, loan account number of the contract amount, loan balance has been used lines, the average individual loan maximum contract value, the average individual loans minimum contract amount, the last six months on average use. Finally, the data set also gives the total number of times of individual approval query and loan number. The result, where “0” is the performance customer and “1” is the default customer.</p></sec><sec id="s4_2"><title>4.2. Data Preprocessing</title><p>There are missing and abnormal data in the original data, and the missing value filling and outlier detection are needed before analysis. The method of dealing with missing values in this paper is the average filling, and using the scatter plot to detect outliers. In the original data, such as contract amount, loan balance and used amount are continuous variables. In order to overcome the influence of the dimension, the F-score needs to be standardized and analyzed. At the same time, the ratio of the number of compliance users and default users in the sample data is about 9:2, and it is an asymmetric distribution problem, which affects the prediction accuracy of the model for default customers with relatively small data capacity. Therefore, the under-sampling method is adopted for compliance users. That means some representative data are selected from the data with more samples. In order to reduce the majority of the sample, the data balance is achieved. The final data set is divided into a training set and a test set, wherein the training set has 3002 data, including 1500 compliance data and 1502 default data, and the test set has 519 data including 258 compliance data and 261 default data.</p></sec><sec id="s4_3"><title>4.3. Variable Description</title><p>The classified and encoded variables in the data are shown in <xref ref-type="table" rid="table1">Table 1</xref>.</p></sec></sec><sec id="s5"><title>5. Numerical Experiment</title><p>The full-variable logistic and stepwise logistic regression models were implemented by using SPSS 22.0. The Lasso-logistic model was implemented by using the glmnet package in R language, the Lasso-SVM model was implemented by using the gcdnet package, and the Group lasso-logistic model was implemented by using grpreg. The code package uses the generalized coordinate descent method [<xref ref-type="bibr" rid="scirp.92672-ref30">30</xref>] to calculate the model under regularization and its generalized solution path.</p><sec id="s5_1"><title>5.1. Parameter Lambda Selection</title><p>Through the K-fold cross-validation, the Lasso-logistic, Lasso-SVM, and Group lasso-logistic models are changed with the value of lambda, and the model error is changed. At the top of <xref ref-type="fig" rid="fig2">Figure 2</xref>, the number of corresponding variables selected by the model is given. The value between the two dotted lines in <xref ref-type="fig" rid="fig2">Figure 2</xref> indicates the range of positive and negative standard deviation of lambda, and the dotted line on the left indicates lambda when the model error is minimized. Tibshirani contends that lambda takes a relatively small change in the model prediction bias within this interval. It is generally recommended to choose lambda which makes the model relatively simpler, namely, a large lambda within a standard deviation range. It is the best value. It can also be seen from <xref ref-type="fig" rid="fig2">Figure 2</xref> that as the value of lambda changes, the degree of compression of the model variable also changes. In other words, the number of variables to be filtered is affected by the estimate of lambda.</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the filtering of variables in Lasso-logistic, Lasso-SVM, Group lasso-logistic model with the change of harmonic parameter lambda. As the value of lambda increases, the degree of the model compression increases, more variables of the model are deleted, while less variables are retained, and the function of selecting important variables is enhanced. The best value of lambda is the log(lambda), next to the right dotted line’s value. In Lasso-logistic, lambda = 0.01122485; in Lasso-SVM, lambda = 0.00699683; and in Group lasso-logistic, lambda = 0.01628534.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Variable declaration</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >ID</th><th align="center" valign="middle" >Variable Name</th><th align="center" valign="middle" >The Values</th></tr></thead><tr><td align="center" valign="middle" >y</td><td align="center" valign="middle" >default</td><td align="center" valign="middle" >y = 0 Not default; y = 1 Default</td></tr><tr><td align="center" valign="middle" >x 1</td><td align="center" valign="middle" >registered area</td><td align="center" valign="middle" >x 1 , 1 = Northeast; x 1 , 2 = North China Plain; x 1 , 3 = Central China; x 1 ， 4 = Eastern China</td></tr><tr><td align="center" valign="middle" >x 2</td><td align="center" valign="middle" >gender</td><td align="center" valign="middle" >x 2 ， 1 = Male; x 2.2 = Female</td></tr><tr><td align="center" valign="middle" >x 3</td><td align="center" valign="middle" >Whether work is local</td><td align="center" valign="middle" >x 3 , 1 = Local; x 3.2 = Not local</td></tr><tr><td align="center" valign="middle" >x 4</td><td align="center" valign="middle" >edu level</td><td align="center" valign="middle" >x 4 , 1 = Junior high school/Senior high school/others; x 4 , 2 = Junior college/Junior college and below; x 4 ， 3 = Undergraduate; x 4 , 4 = Master/Doctor</td></tr><tr><td align="center" valign="middle" >x 5</td><td align="center" valign="middle" >marital status</td><td align="center" valign="middle" >x 5 , 1 = Maid; x 5 , 2 = Married; x 5 , 3 = Others (divorced/widowed)</td></tr><tr><td align="center" valign="middle" >x 6</td><td align="center" valign="middle" >Whether accumulation fund</td><td align="center" valign="middle" >x 6 , 1 = Not; x 6 , 2 = Yes</td></tr><tr><td align="center" valign="middle" >x 7</td><td align="center" valign="middle" >pay grades</td><td align="center" valign="middle" >x 7 , 1 = 0 - 3500; x 7 ， 2 = 3501 - 8000; x 7 , 3 = 8000 above</td></tr><tr><td align="center" valign="middle" >x 8</td><td align="center" valign="middle" >The number of individual housing loans</td><td align="center" valign="middle" >x 8 ∈ N</td></tr><tr><td align="center" valign="middle" >x 9</td><td align="center" valign="middle" >The number of individual commercial housing loans</td><td align="center" valign="middle" >x 9 ∈ N</td></tr><tr><td align="center" valign="middle" >x 10</td><td align="center" valign="middle" >Other loans</td><td align="center" valign="middle" >x 10 ∈ N</td></tr><tr><td align="center" valign="middle" >x 11</td><td align="center" valign="middle" >Debit card account number</td><td align="center" valign="middle" >x 11 ∈ N</td></tr><tr><td align="center" valign="middle" >x 12</td><td align="center" valign="middle" >The number of overdue loans</td><td align="center" valign="middle" >x 12 ∈ N</td></tr><tr><td align="center" valign="middle" >x 13</td><td align="center" valign="middle" >Months of overdue loans</td><td align="center" valign="middle" >x 13 ∈ N</td></tr><tr><td align="center" valign="middle" >x 14</td><td align="center" valign="middle" >The maximum amount of overdue loans per month</td><td align="center" valign="middle" >x 14 ∈ [ 0 , + ∞ ]</td></tr><tr><td align="center" valign="middle" >x 15</td><td align="center" valign="middle" >Maximum length of loan (year)</td><td align="center" valign="middle" >x 15 ∈ N</td></tr><tr><td align="center" valign="middle" >x 16</td><td align="center" valign="middle" >Total number of approval inquiries</td><td align="center" valign="middle" >x 16 ∈ N</td></tr><tr><td align="center" valign="middle" >x 17</td><td align="center" valign="middle" >Loan number</td><td align="center" valign="middle" >x 17 ∈ N</td></tr><tr><td align="center" valign="middle" >x 18</td><td align="center" valign="middle" >Loan account number</td><td align="center" valign="middle" >x 18 ∈ N</td></tr><tr><td align="center" valign="middle" >x 19</td><td align="center" valign="middle" >contract amount</td><td align="center" valign="middle" >x 19 ∈ [ 0 , + ∞ ]</td></tr><tr><td align="center" valign="middle" >x 20</td><td align="center" valign="middle" >loan balance</td><td align="center" valign="middle" >x 20 ∈ [ 0 , + ∞ ]</td></tr><tr><td align="center" valign="middle" >x 21</td><td align="center" valign="middle" >Have used limit</td><td align="center" valign="middle" >x 21 ∈ [ 0 , + ∞ ]</td></tr><tr><td align="center" valign="middle" >x 22</td><td align="center" valign="middle" >Average maximum contract amount for a single lender</td><td align="center" valign="middle" >x 22 ∈ [ 0 , + ∞ ]</td></tr><tr><td align="center" valign="middle" >x 23</td><td align="center" valign="middle" >Average minimum contract amount for a single lender</td><td align="center" valign="middle" >x 23 ∈ [ 0 , + ∞ ]</td></tr><tr><td align="center" valign="middle" >x 24</td><td align="center" valign="middle" >Average usage in the last 6 months</td><td align="center" valign="middle" >x 24 ∈ [ 0 , + ∞ ]</td></tr></tbody></table></table-wrap></sec><sec id="s5_2"><title>5.2. Coefficient of the Models</title><p>In the logistic regression model, the dependent variable is log-occurrence ratio logit. When the log-occurrence ratio increases, the value of P also increases</p><p>accordingly, which means the probability for judging credit as 1 (i.e., default) increases. When the coefficient β i is negative, it means that the variable x i has a reverse restrictive effect on the default. When the coefficient β i is positive, the corresponding variable x i has a positive effect on the default, and the greater the value of β i , the greater the promoting effect of the corresponding x i on the customer’s credit judgment as default. In full-variable logistic model, the variable x<sub>6</sub> (Whether accumulation fund), x<sub>11</sub> (Debit card account number), x<sub>14</sub> (The maximum amount of overdue loans per month), x<sub>22</sub> (Average maximum contract amount for a single lender), x<sub>13</sub> (Average minimum contract amount for a single lender) before the coefficients were not significant, which means the model contains too many variables, and the model is too complicated. The above non-significant variables were eliminated by stepwise regression. At the same time, x<sub>18</sub> (Loan account number) and x<sub>21</sub> (Have used limit) were also eliminated. Finally, 13 variables were removed for both forward and backward modes.</p><p>For Lasso-logistic model, there are 16 variables whose coefficient is compressed to 0. In other words, 18 important variables are selected to enter the</p><p>model. The Lasso-SVM model eliminates 15 variables, leaving 19 variables. However, it can be seen that when using stepwise regression, Lasso-logistic and Lasso-SVM models for variable selection, the variables are excluded as classification variables, and some dummy variables in the same group are partially retained and partially eliminated, such as x<sub>4</sub> (edu level), which makes the result difficult to explain, showing in <xref ref-type="table" rid="table2">Table 2</xref>.</p><p>Using Group lasso, after variable selection, 18 variables were removed and 16 variables were retained. In addition, Group lasso-logistic can retain or eliminate related dummy variables of the same group as a whole, making the dummy variables have explanatory significance. We obtained from the coefficient table of the Group lasso model that in the regional variable (x<sub>1</sub>), the north China area is the high default area, and the central China area has the lowest default risk. There was a significant gender (x<sub>2</sub>) difference in credit risk that the default probability of male was generally higher than that of female. In the salary scale (x<sub>7</sub>), people with low incomes were more at risk of default than those with medium and high incomes. In historical credit records, customers with overdue loans are at greater risk of default, and the number of overdue loans (x<sub>12</sub>) and months of overdue loans (x<sub>13</sub>) are more likely to default. More total number of approval inquiries (x<sub>16</sub>) affect an individual’s credit history. Variables with a</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Model coefficient table</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Variate</th><th align="center" valign="middle" >Full variables</th><th align="center" valign="middle" >Forward</th><th align="center" valign="middle" >Backwards</th><th align="center" valign="middle" >Lasso-logistic</th><th align="center" valign="middle" >Lasso-SVM</th><th align="center" valign="middle" >Group-lasso</th></tr></thead><tr><td align="center" valign="middle" >X<sub>1</sub><sub>_</sub><sub>1</sub></td><td align="center" valign="middle" >1.715</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.721</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.555</td><td align="center" valign="middle" >0.025</td></tr><tr><td align="center" valign="middle" >X<sub>1</sub><sub>_</sub><sub>2</sub></td><td align="center" valign="middle" >1.674</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.695</td><td align="center" valign="middle" >0.010</td><td align="center" valign="middle" >−0.567</td><td align="center" valign="middle" >0.001</td></tr><tr><td align="center" valign="middle" >X<sub>1</sub><sub>_</sub><sub>3</sub></td><td align="center" valign="middle" >−4.562</td><td align="center" valign="middle" >−4.247</td><td align="center" valign="middle" >−4.561</td><td align="center" valign="middle" >−4.354</td><td align="center" valign="middle" >0.667</td><td align="center" valign="middle" >−6.520</td></tr><tr><td align="center" valign="middle" >X<sub>1</sub><sub>_</sub><sub>4</sub></td><td align="center" valign="middle" >−1.534</td><td align="center" valign="middle" >−1.681</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−1.440</td><td align="center" valign="middle" >0.016</td><td align="center" valign="middle" >−1.637</td></tr><tr><td align="center" valign="middle" >X<sub>2</sub></td><td align="center" valign="middle" >−0.868</td><td align="center" valign="middle" >−0.854</td><td align="center" valign="middle" >−0.858</td><td align="center" valign="middle" >−0.630</td><td align="center" valign="middle" >0.209</td><td align="center" valign="middle" >−0.824</td></tr><tr><td align="center" valign="middle" >X<sub>3</sub></td><td align="center" valign="middle" >−0.497</td><td align="center" valign="middle" >−0.504</td><td align="center" valign="middle" >−0.502</td><td align="center" valign="middle" >−0.352</td><td align="center" valign="middle" >0.122</td><td align="center" valign="middle" >−0.471</td></tr><tr><td align="center" valign="middle" >X<sub>4</sub><sub>_</sub><sub>1</sub></td><td align="center" valign="middle" >1.408</td><td align="center" valign="middle" >0.341</td><td align="center" valign="middle" >0.501</td><td align="center" valign="middle" >0.105</td><td align="center" valign="middle" >−0.003</td><td align="center" valign="middle" >0.207</td></tr><tr><td align="center" valign="middle" >X<sub>4</sub><sub>_</sub><sub>2</sub></td><td align="center" valign="middle" >0.780</td><td align="center" valign="middle" >0.301</td><td align="center" valign="middle" >0.218</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.007</td></tr><tr><td align="center" valign="middle" >X<sub>4</sub><sub>_</sub><sub>3</sub></td><td align="center" valign="middle" >0.575</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.111</td><td align="center" valign="middle" >0.015</td><td align="center" valign="middle" >−0.195</td></tr><tr><td align="center" valign="middle" >X<sub>4</sub><sub>_</sub><sub>4</sub></td><td align="center" valign="middle" >0.761</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.682</td></tr><tr><td align="center" valign="middle" >X<sub>5</sub><sub>_</sub><sub>1</sub></td><td align="center" valign="middle" >−0.025</td><td align="center" valign="middle" >−0.002</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.062</td></tr><tr><td align="center" valign="middle" >X<sub>5</sub><sub>_</sub><sub>2</sub></td><td align="center" valign="middle" >−0.179</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.201</td><td align="center" valign="middle" >−0.037</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.072</td></tr><tr><td align="center" valign="middle" >X<sub>5</sub><sub>_3</sub></td><td align="center" valign="middle" >−0.034</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.073</td></tr><tr><td align="center" valign="middle" >X<sub>6</sub></td><td align="center" valign="middle" >0.072</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.065</td></tr><tr><td align="center" valign="middle" >X<sub>7_</sub><sub>1</sub></td><td align="center" valign="middle" >0.306</td><td align="center" valign="middle" >0.393</td><td align="center" valign="middle" >0.311</td><td align="center" valign="middle" >0.355</td><td align="center" valign="middle" >−0.085</td><td align="center" valign="middle" >0.570</td></tr><tr><td align="center" valign="middle" >X<sub>7_</sub><sub>2</sub></td><td align="center" valign="middle" >−0.893</td><td align="center" valign="middle" >0.205</td><td align="center" valign="middle" >−1.111</td><td align="center" valign="middle" >−0.582</td><td align="center" valign="middle" >0.226</td><td align="center" valign="middle" >−0.554</td></tr><tr><td align="center" valign="middle" >X<sub>7_3</sub></td><td align="center" valign="middle" >0.934</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.251</td></tr><tr><td align="center" valign="middle" >X<sub>8</sub></td><td align="center" valign="middle" >0.123</td><td align="center" valign="middle" >0.101</td><td align="center" valign="middle" >0.098</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >X<sub>9</sub></td><td align="center" valign="middle" >0.058</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.039</td></tr><tr><td align="center" valign="middle" >X<sub>10</sub></td><td align="center" valign="middle" >−0.265</td><td align="center" valign="middle" >−0.213</td><td align="center" valign="middle" >−0.212</td><td align="center" valign="middle" >−0.104</td><td align="center" valign="middle" >0.053</td><td align="center" valign="middle" >−0.194</td></tr><tr><td align="center" valign="middle" >X<sub>11</sub></td><td align="center" valign="middle" >−0.078</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.003</td><td align="center" valign="middle" >0.013</td><td align="center" valign="middle" >−0.016</td></tr><tr><td align="center" valign="middle" >X<sub>12</sub></td><td align="center" valign="middle" >−0.100</td><td align="center" valign="middle" >−0.111</td><td align="center" valign="middle" >−0.109</td><td align="center" valign="middle" >−0.084</td><td align="center" valign="middle" >0.033</td><td align="center" valign="middle" >−0.108</td></tr><tr><td align="center" valign="middle" >X<sub>13</sub></td><td align="center" valign="middle" >−0.190</td><td align="center" valign="middle" >−0.206</td><td align="center" valign="middle" >−0.197</td><td align="center" valign="middle" >−0.064</td><td align="center" valign="middle" >0.050</td><td align="center" valign="middle" >−0.170</td></tr><tr><td align="center" valign="middle" >X<sub>14</sub></td><td align="center" valign="middle" >−0.033</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.021</td></tr><tr><td align="center" valign="middle" >X<sub>15</sub></td><td align="center" valign="middle" >0.130</td><td align="center" valign="middle" >0.121</td><td align="center" valign="middle" >0.119</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.016</td><td align="center" valign="middle" >0.101</td></tr><tr><td align="center" valign="middle" >X<sub>16</sub></td><td align="center" valign="middle" >0.455</td><td align="center" valign="middle" >0.459</td><td align="center" valign="middle" >0.457</td><td align="center" valign="middle" >0.306</td><td align="center" valign="middle" >−0.142</td><td align="center" valign="middle" >0.431</td></tr><tr><td align="center" valign="middle" >X<sub>17</sub></td><td align="center" valign="middle" >0.222</td><td align="center" valign="middle" >−0.218</td><td align="center" valign="middle" >−0.209</td><td align="center" valign="middle" >−0.173</td><td align="center" valign="middle" >0.084</td><td align="center" valign="middle" >−0.179</td></tr><tr><td align="center" valign="middle" >X<sub>18</sub></td><td align="center" valign="middle" >0.164</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >X<sub>19</sub></td><td align="center" valign="middle" >−0.405</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.021</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−0.062</td></tr><tr><td align="center" valign="middle" >X<sub>2</sub><sub>0</sub></td><td align="center" valign="middle" >0.276</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >X<sub>2</sub><sub>1</sub></td><td align="center" valign="middle" >0.136</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >X<sub>2</sub><sub>2</sub></td><td align="center" valign="middle" >0.065</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >X<sub>2</sub><sub>3</sub></td><td align="center" valign="middle" >0.041</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.035</td></tr><tr><td align="center" valign="middle" >X<sub>24</sub></td><td align="center" valign="middle" >−0.325</td><td align="center" valign="middle" >−0.249</td><td align="center" valign="middle" >−0.263</td><td align="center" valign="middle" >−0.178</td><td align="center" valign="middle" >0.067</td><td align="center" valign="middle" >−0.212</td></tr><tr><td align="center" valign="middle" >Intercept term</td><td align="center" valign="middle" >1.026</td><td align="center" valign="middle" >1.275</td><td align="center" valign="middle" >1.836</td><td align="center" valign="middle" >2.575</td><td align="center" valign="middle" >−0.382</td><td align="center" valign="middle" >2.980</td></tr></tbody></table></table-wrap><p>coefficient 0 indicate that they have been removed from the model and have little effect on credit rating.</p><p>Showing in <xref ref-type="table" rid="table2">Table 2</xref>, the number of the full-variable logistic model is the largest, and the complexity of the model is the largest. The forward and backward models excluded 13 explanatory variables, while the Lasso-logistic model excluded 16 variables, three more than the stepwise selection. The number of Lasso-SVM excluded variables was 15, one less than the Lasso-logistic model, and two more than the stepwise selection. The Group lasso-logistic model had the strongest ability to eliminate variables, with 18 variables removed. It can also be concluded that in the selection of the same group of dummy variables, the Group lasso-logistic model retains or removes the entire group of variables, making the model variables have explanatory significance.</p></sec><sec id="s5_3"><title>5.3. Model Prediction Accuracy</title><p>In the actual credit risk assessment, the misclassification of default users into non-defaulting users is more of a potential loss to banks or society. Therefore, the model is more important for to correctly classify the default users than to take non-defaulting users into consideration. It is easy to see in <xref ref-type="table" rid="table3">Table 3</xref> that in the training set, the Lasso-SVM model predicts that the number of default users will be up to 80.16%, which is 4.53% higher than the full-variable model and is higher than the stepwise forward and backward selections 6.59% and 6.39% respectively. The Lasso-logistic and Group lasso-logistic models also predicted the default users could reach 79.96% and 80.09% respectively; in the test set, the Group lasso-logistic model got the best prediction on default users, reaching 80.62%. It is higher than the full-variable, forward and backward models 8.97%, 14.34%, 13.57% respectively, and the Lasso-SVM model is the second most accurate for the default user. The Lasso-logistic model follows. Next, look at the classification of non-defaulting users. Lasso-logistic is the best rate in both the training set and the test set. The forward selection model had the worst prediction accuracy for non-defaulting users. In the overall prediction accuracy, the stepwise selection performed poorly in the test set. Lasso-logistic reached 77.21% in the training set, and Group lasso-logistic model has the highest overall prediction rate in the test set, reaching 77.26%.</p></sec></sec><sec id="s6"><title>6. Conclusions</title><p>In the personal credit evaluation, the Logistic model is most widely used, and the newly proposed SVM method in statistical learning also has certain application in credit evaluation. By comparing the simulation experiment analysis, the whole variable, Forward selection, Backward selection, Lasso-logistic, Lasso-SVM, and Group lasso-logistic models and empirically analyzing the personal credit data of a domestic lending platform, it can be concluded:</p><p>First, the experiment found that when all the variables were included in the full-variable Logistic mode, the coefficients before many variables could not pass</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Model prediction rate</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Model</th><th align="center" valign="middle"  colspan="3"  >Training set</th><th align="center" valign="middle"  colspan="3"  >Test set</th></tr></thead><tr><td align="center" valign="middle" >Good</td><td align="center" valign="middle" >Bad</td><td align="center" valign="middle" >Total</td><td align="center" valign="middle" >Good</td><td align="center" valign="middle" >Bad</td><td align="center" valign="middle" >Total</td></tr><tr><td align="center" valign="middle" >Full variables</td><td align="center" valign="middle" >71.3</td><td align="center" valign="middle" >75.6</td><td align="center" valign="middle" >73.4</td><td align="center" valign="middle" >67.0</td><td align="center" valign="middle" >71.7</td><td align="center" valign="middle" >69.3</td></tr><tr><td align="center" valign="middle" >Forward selection</td><td align="center" valign="middle" >70.7</td><td align="center" valign="middle" >75.6</td><td align="center" valign="middle" >73.1</td><td align="center" valign="middle" >65.5</td><td align="center" valign="middle" >72.1</td><td align="center" valign="middle" >68.9</td></tr><tr><td align="center" valign="middle" >Backward selection</td><td align="center" valign="middle" >72.3</td><td align="center" valign="middle" >73.8</td><td align="center" valign="middle" >73.1</td><td align="center" valign="middle" >69.3</td><td align="center" valign="middle" >67.1</td><td align="center" valign="middle" >68.2</td></tr><tr><td align="center" valign="middle" >Lasso-logistic</td><td align="center" valign="middle" >74.5</td><td align="center" valign="middle" >80.0</td><td align="center" valign="middle" >77.2</td><td align="center" valign="middle" >74.7</td><td align="center" valign="middle" >79.5</td><td align="center" valign="middle" >77.1</td></tr><tr><td align="center" valign="middle" >Lasso-SVM</td><td align="center" valign="middle" >73.7</td><td align="center" valign="middle" >80.2</td><td align="center" valign="middle" >76.9</td><td align="center" valign="middle" >73.6</td><td align="center" valign="middle" >80.2</td><td align="center" valign="middle" >76.8</td></tr><tr><td align="center" valign="middle" >Group lasso</td><td align="center" valign="middle" >74.4</td><td align="center" valign="middle" >79.4</td><td align="center" valign="middle" >76.9</td><td align="center" valign="middle" >75.1</td><td align="center" valign="middle" >78.0</td><td align="center" valign="middle" >76.5</td></tr></tbody></table></table-wrap><p>the significant level test. Thus, to some extent, the complexity of the model was increased. The interpretability of the model was reduced. The choice and Lasso overcome the multicollinearity of the full-variable model, and the coefficients of the insignificant variables in the model are compressed. Compared with the stepwise regression, the Group lasso-logistic culling variable is the strongest, followed by Lasso-logistic, Lasso-SVM model. The algorithm model based on Lasso variable selection can better select important variables, and Group lasso-logistic will retain the whole group or the entire group when the same group of dummy variables is selected, which will enhance the variables in the model to some extent.</p><p>Second, in the training set, the Lasso-SVM model has the highest prediction accuracy rate for default users; in the test set, Group lasso-logistic ranks the first in the classification accuracy of default users. Whether in the training set or in the test set, the best classification accuracy of non-defaulting users is the Lasso-logistic model. Moreover, in the training set, the overall prediction accuracy of the Lasso-logistic model is also the best. In the test set, the Group lasso-logistic model has the best overall prediction accuracy. Regardless of the prediction of defaulting users, the prediction of non-defaulting users and the overall forecasting accuracy, Lasso is better than stepwise selection. It shows that the credit scoring model based on Lasso variable selection has good extrapolation.</p><p>Therefore, based on the Logistic and SVM models established by the Lasso variable selection method, the explanatory variables can be selected more scientifically and have use value in personal credit risk assessment, which can well reduce personal credit risk.</p><p>To sum up, it is not difficult to find that in the actual rating, we often encounter some relationships between variables, thus forming a grouping structure. The traditional variable selection method cannot process the dummy variables of related groups as a whole, resulting in partial retention and partial elimination of the variables of the whole Group. In this way, the results are difficult to be explained, and Group lasso can well solve the above problems. Therefore, the Logistic and SVM models established based on the Lasso variable selection method can more scientifically select explanatory variables, which have application value in personal credit risk assessment and can well reduce personal credit risk.</p><p>In future work, we will consider individual credit ratings for unbalanced datasets. When we use Group lasso for intra-group variable selection, the coefficient of some individual variables within the Group may not be significant. In this case, the two-layer variable selection is introduced to solve such problems.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Li, Q.Q. (2019) Logistic and SVM Credit Score Models Based on Lasso Variable Selection. Journal of Applied Mathematics and Physics, 7, 1131-1148. https://doi.org/10.4236/jamp.2019.75076</p></sec></body><back><ref-list><title>References</title><ref id="scirp.92672-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Tibshirani, R. and Knight, K. (1999) The Covariance Inflation Criterion for Adaptive Model Selection. Journal of the Royal Statistical Society, 61, 529-546.https://doi.org/10.1111/1467-9868.00191</mixed-citation></ref><ref id="scirp.92672-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Mallows, C.L. (1973) Some Comments on Cp. Technometrics, 15, 661-675.https://doi.org/10.2307/1267380</mixed-citation></ref><ref id="scirp.92672-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hoerl, A.E. and Kennard, R.W. (1970) Ridge Regression: Applications to Nonorthogonal Problems. Technometrics, 12, 69-82.https://doi.org/10.1080/00401706.1970.10488635</mixed-citation></ref><ref id="scirp.92672-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Frank, I.E. and Friedman, J.H. (1993) A Statistical View of Some Chemometrics Regression Tools. Technometrics, 35, 109-135.https://doi.org/10.1080/00401706.1993.10485033</mixed-citation></ref><ref id="scirp.92672-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Tibshirani, R. (1996) Regression Shrinkage and Selection via the Lasso. Journal of the Royal Statistical Society, Series B, 58, 267-288.https://doi.org/10.1111/j.2517-6161.1996.tb02080.x</mixed-citation></ref><ref id="scirp.92672-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Efron, B., Hastie, T., Johnstone, I. and Tibshirani, R. (2004) Least Angle Regression. The Annals of Statistics, 32, 407-499. https://doi.org/10.1214/009053604000000067</mixed-citation></ref><ref id="scirp.92672-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Zou, H. (2006) The Adaptive Lasso and Its Oracle Properties. Journal of the American Statistical Association, 101, 1418-1429.https://doi.org/10.1198/016214506000000735</mixed-citation></ref><ref id="scirp.92672-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Yuan, M. and Lin, Y. (2006) Model Selection and Estimation in Regression with Grouped Variables. Journal of the Royal Statistical Society, 68, 49-67.https://doi.org/10.1111/j.1467-9868.2005.00532.x</mixed-citation></ref><ref id="scirp.92672-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Wang, L., Chen, G. and Li, H. (2007) Group SCAD Regression Analysis for Microarray Time Course Gene Expression Data. Bioinformatics, 23, 1486-1494.https://doi.org/10.1093/bioinformatics/btm125</mixed-citation></ref><ref id="scirp.92672-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Huang, J., Breheny, P. and Ma, S. (2012) A Selective Review of Group Selection in High-Dimensional Models. Statistical Science, 27, 481-499.https://doi.org/10.1214/12-STS392</mixed-citation></ref><ref id="scirp.92672-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Huang, J., Ma, S., Xie, H. and Zhang, C.-H. (2009) A Group Bridge Approach for Variable Selection. Biometrika, 96, 339-355.https://doi.org/10.1093/biomet/asp020</mixed-citation></ref><ref id="scirp.92672-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Simon, N., Friedman, J., Hastie, T. and Tibshirani, R. (2013) A Sparse-Group Lasso. Journal of Computational &amp; Graphical Statistics, 22, 231-245.https://doi.org/10.1080/10618600.2012.681250</mixed-citation></ref><ref id="scirp.92672-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Breinman, L. (1995) Better Subset Regression Using the Nonnegative Garrote. Technometrics, 37, 373-384. https://doi.org/10.1080/00401706.1995.10484371</mixed-citation></ref><ref id="scirp.92672-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Fang, K.-G., Zhang, G.-J. and Zhang, H.-Y. (2014) Personal Credit Risk Warning Method Based on Lasso-Logistic Model. The Journal of Quantitative &amp; Technical Economics, 2, 125-136.</mixed-citation></ref><ref id="scirp.92672-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Meier, L., Van De Geer, S. and Bühlmann, P. (2008) The Group Lasso for Logistic Regression. Journal of the Royal Statistical Society, 70, 53-71.https://doi.org/10.1111/j.1467-9868.2007.00627.x</mixed-citation></ref><ref id="scirp.92672-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Friedman, J., Hastie, T. and Tibshirani, T. (2010) Regularization Paths for Generalized Linear Models via Coordinate Descent. Journal of Statistical Software, 33, 1-22. https://doi.org/10.18637/jss.v033.i01</mixed-citation></ref><ref id="scirp.92672-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Schwarz, G. (1978) Estimating the Dimension of a Model. The Annals of Statistics, 6, 461-464. https://doi.org/10.1214/aos/1176344136</mixed-citation></ref><ref id="scirp.92672-ref18"><label>18</label><mixed-citation publication-type="book" xlink:type="simple">Akaike, H. (1973) Information Theory and Extension of the Maximum Likelihood Principle. In: Parzen, E., Tanabe, K. and Kitagawa, G., Eds., Selected Papers of Hirotugu Akaike, Springer, New York, 267-281.</mixed-citation></ref><ref id="scirp.92672-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Hu, X.-H. and Ye, W.-Y. (2012) Variable Selection in Credit Risk Analysis Model of Listed Companies. Journal of Applied Statistics and Management, 31, 1117-1124.</mixed-citation></ref><ref id="scirp.92672-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Shen, C.-H., Deng, N.-Y. and Xiao, R.-Y. (2004) Personal Credit Evaluation Based on Support Vector Machine. Computer Engineering and Applications, 40, 198-199.</mixed-citation></ref><ref id="scirp.92672-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Xiang, H. and Yang, S.-G. (2011) New Developments in the Study of Key Techniques for Personal Credit Scoring. The Theory and Practice of Finance and Economics, 32, 20-24.</mixed-citation></ref><ref id="scirp.92672-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Shi, Q.-Y. and Jin, Y.-Y. (2004) A Comparative Study on the Application of Various Personal Credit Scoring Models in China. Statistical Research, 21, 43-47.</mixed-citation></ref><ref id="scirp.92672-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Wiginton, J.C. (1980) A Note on the Comparison of Logit and Discriminant Models of Consumer Credit Behavior. The Journal of Financial Quantitative Analysis, 15, 757-770. https://doi.org/10.2307/2330408</mixed-citation></ref><ref id="scirp.92672-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Van Gestel, T., Baesens, B., Garcia, J. and Van Dijcke, P. (2003) A Support Vector Machine Approach to Credit Scoring. Bank en Financiewezen, 2, 73-82.</mixed-citation></ref><ref id="scirp.92672-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Desai, V.S., Crook, J.N. and Overstreet Jr., G.A. (1996) A Comparison of Neural Networks and Linear Scoring Models in the Credit Union Environment. European Journal of Operational Research, 95, 24-37. https://doi.org/10.1016/0377-2217(95)00246-4</mixed-citation></ref><ref id="scirp.92672-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Jensen, H.L. (1992) Using Neural Networks for Credit Scoring. Managerial Finance, 18, 15-26. https://doi.org/10.1108/eb013696</mixed-citation></ref><ref id="scirp.92672-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Breiman, L.I., Friedman, J.H., Stone, C.J. and Olshen, R.A. (1984) Classification and Regression Trees (CART). Biometrics, 40, 874.https://doi.org/10.2307/2530946</mixed-citation></ref><ref id="scirp.92672-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Chatterjee, S. and Barcun, S. (1970) A Nonparametric Approach to Credit Screening. Journal of the American Statistical Association, 65, 150-154.https://doi.org/10.1080/01621459.1970.10481068</mixed-citation></ref><ref id="scirp.92672-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Henley, W.E. (1995) Statistical Aspects of Credit Scoring. Ph.D. Thesis, Open University, Milton Keynes.</mixed-citation></ref><ref id="scirp.92672-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Eisenbeis, R.A. (1978) Problems in Applying Discriminant Analysis in Credit Scoring Models. Journal of Banking &amp; Finance, 2, 205-219.https://doi.org/10.1016/0378-4266(78)90012-2</mixed-citation></ref></ref-list></back></article>