a.For the continuous variables, create a descriptive statistics table, and for the categorical variables, create a frequency table. What is the average loan/price ratio? What ratio of the sample are...

Please see attached excel file for data. Word document contains questions with some already answered. I would like to have the blank ones answered. Thank you.


a.For the continuous variables, create a descriptive statistics table, and for the categorical variables, create a frequency table. What is the average loan/price ratio? What ratio of the sample are white? What is the bankruptcy rate in the sample? b. Randomly create three subsamples of training, validation, and test sets (where the training set roughly contains 70 percent of all data points and each of the validation and test sets contain 15 percent of the data points). Describe the procedure you employ to create the subsamples). When creating the three subsamples, there had to be some initial setup prior to actually inputting the training, validation, and test set subsamples. In the remaining sections, use the training set for the analysis, unless stated otherwise. c. To test for discrimination in the mortgage loan market, a logistic regression model can be used: ?????(??,?????) = ?! + ?"?h??? + ??h????????? In the equation above, if there is discrimination against minorities, and the appropriate factors have been controlled for, what is the sign of ?"? If there was a descrimination against minorities, it would mean that minorities would be less likely to be approved. If that was the case, we would expect to see b1 have a negative sign. d. Regress approve on white using logistic regression and report the coefficient table. Interpret the coefficient on white. Is it statistically significant? Is it practically large? The odds ratio will tell us more information about the relationship between white and approve. Holding everything else constant, being white increases the odds ratio of being approved by 4.094. Therefore, we can conclude that the magnitude is practically large. It is also statistically significant, <.001. e. find the estimated probability of loan approval for both whites and nonwhites. (explain the process of your calculation in spss) f. as controls, add the variables hrat, obrat, loanprc, unem, male, married, dep, sch, cosign, chist, pubrec, mortlat1, and mortlat2. what happens to the coefficient of white? is there still evidence of discrimination against nonwhites? save the predicted probability values for the whole sample. g. interpret the coefficients of white, bankruptcy, and loanprc. (use odds ratio) h. use the estimated logistic regression equation to compute the probability of loan approval for an individual with the following characteristics (make sure to explain the process in spss (or excel) and formulas you use for the computation). hrat = 0.25 obrat = 0.33 loanprc = 0.8 unem = 4 male = 1 married = 1 dep = 2 sch = 1 cosign = 1 chist = 1 pubrec = 0 mortlat1 = 1 mortlat2 = 0 white = 0 i. for the individual with the above characteristics, how the odds of approval changes if loanprc decreases 10 percentage point? j. using the validation set, compute the values of sensitivity, specificity, precision, and f1 score corresponding to the confusion matrix created using the cutoff value of 0.6 (for the model in part d). to achieve a specificity of at least 0.50, how much class 1 error rate must be tolerated? k. create the roc and find the value of auc using the validation set. l. now, use all the variables in the sample as independent variables. using the forward selection method, what variables will remain in the model? what variable has the highest explanatory power to predict approval? save the predicted probabilities for the whole sample. m. evaluate the candidate logistic regression models (part k and part g) based on their predictive performance on the validation set. recommend a final model. n. compare the false positive and false negative rates on the validation and test sets for the recommended model. explain the role of the test set and the implication of the results. e.="" find="" the="" estimated="" probability="" of="" loan="" approval="" for="" both="" whites="" and="" nonwhites.="" (explain="" the="" process="" of="" your="" calculation="" in="" spss)="" f.="" as="" controls,="" add="" the="" variables="" hrat,="" obrat,="" loanprc,="" unem,="" male,="" married,="" dep,="" sch,="" cosign,="" chist,="" pubrec,="" mortlat1,="" and="" mortlat2.="" what="" happens="" to="" the="" coefficient="" of="" white?="" is="" there="" still="" evidence="" of="" discrimination="" against="" nonwhites?="" save="" the="" predicted="" probability="" values="" for="" the="" whole="" sample.="" g.="" interpret="" the="" coefficients="" of="" white,="" bankruptcy,="" and="" loanprc.="" (use="" odds="" ratio)="" h.="" use="" the="" estimated="" logistic="" regression="" equation="" to="" compute="" the="" probability="" of="" loan="" approval="" for="" an="" individual="" with="" the="" following="" characteristics="" (make="" sure="" to="" explain="" the="" process="" in="" spss="" (or="" excel)="" and="" formulas="" you="" use="" for="" the="" computation).="" hrat="0.25" obrat="0.33" loanprc="0.8" unem="4" male="1" married="1" dep="2" sch="1" cosign="1" chist="1" pubrec="0" mortlat1="1" mortlat2="0" white="0" i.="" for="" the="" individual="" with="" the="" above="" characteristics,="" how="" the="" odds="" of="" approval="" changes="" if="" loanprc="" decreases="" 10="" percentage="" point?="" j.="" using="" the="" validation="" set,="" compute="" the="" values="" of="" sensitivity,="" specificity,="" precision,="" and="" f1="" score="" corresponding="" to="" the="" confusion="" matrix="" created="" using="" the="" cutoff="" value="" of="" 0.6="" (for="" the="" model="" in="" part="" d).="" to="" achieve="" a="" specificity="" of="" at="" least="" 0.50,="" how="" much="" class="" 1="" error="" rate="" must="" be="" tolerated?="" k.="" create="" the="" roc="" and="" find="" the="" value="" of="" auc="" using="" the="" validation="" set.="" l.="" now,="" use="" all="" the="" variables="" in="" the="" sample="" as="" independent="" variables.="" using="" the="" forward="" selection="" method,="" what="" variables="" will="" remain="" in="" the="" model?="" what="" variable="" has="" the="" highest="" explanatory="" power="" to="" predict="" approval?="" save="" the="" predicted="" probabilities="" for="" the="" whole="" sample.="" m.="" evaluate="" the="" candidate="" logistic="" regression="" models="" (part="" k="" and="" part="" g)="" based="" on="" their="" predictive="" performance="" on="" the="" validation="" set.="" recommend="" a="" final="" model.="" n.="" compare="" the="" false="" positive="" and="" false="" negative="" rates="" on="" the="" validation="" and="" test="" sets="" for="" the="" recommended="" model.="" explain="" the="" role="" of="" the="" test="" set="" and="" the="" implication="" of="" the="">
May 10, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here