[SOLVED] ST404 Assignment 3- Credit Card Data

30.00 $

Category: Tags: , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Individual-Assessment-kqjfbf.zip ()
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Assignment 3: Credit Card Data

3.2 REPORT

For this assignment you are asked to produce a report of no more than 12 pages (excluding both the bibliography and the appendix).
The front cover of your report should give your student ID, but not your name (to allow anonymous marking).

Your report should contain the following sections:

  • A short introduction section describing the problem.
  • A technical methods section that can be understood by your fellow ST404 students,describing your approach to model fitting as well as the results of any diagnostics youmay use.
  • A results section that can be understood by the client (see below), assuming thatthey have no specialist knowledge of statistics, summarizing your findings.
  • A bibliography.
  • An appendix containing your annotated R code (you may reduce this if you haverepetitive code to just one example e.g. if you plot each continuous variable you only need to include the code for one such plot).The report should be typeset in a professional manner with appropriate margins (at least one inch), font size 11 or higher and 1.5 spacing. All figures and tables should be numbered and have captions. Pages should be numbered.Keep in mind the advice on academic writing and the rules about referencing, plagiarism and proof-reading. Make sure that all sources used, whether online or paper-based are appropriately referenced. The assignment will be submitted to TurnItIn and any cases of potential plagiarism forwarded to the departmental academic conduct panel.This is an individual assignment. Collaboration between students is not permitted

    (other than questions/answers posted on the discussion forum) and will be treated as cheating.

1

3.3 PROBLEM OUTLINE

You are acting for a consultancy firm and have been asked by a Taiwanese Credit Card Company‡ to help them to predict customers who are likely to default on their credit card.

You have been provided with two sample data sets of customers who have a credit limit that is equal or greater than TN$250,000. (TN$ are Taiwanese dollars.) As this information is confidential you have been provided with a historic data set in order to demonstrate “proof of concept”. If your firm is successful it will be commissioned in the future to provide modelling services for current data. The aim is to build a model that is able to predict which customers are likely to default on paying their card bills. This can be later used to build a suitable score card for customers applying for a card or for further credit on their card. It is important for the company to be able to explain the justification for refusing someone credit and therefore as well as a model that is able to predict, they are interested in the interpretation of the model.

Data Availability

The data are provided on Moodle as two R data sets and consist of: Training Data: CardT.rds: 5000 observations
Validation Data: CardV.rds: 2067 observations

Both data sets contain the same variables which are listed in Table 3.1 on page 3 below. To read these in please use the readRDS command. If you copy the files to your R working directory, then to read in these data the commands would be:

CardT <- readRDS("CardT.rds")
CardV <- readRDS("CardV.rds")

‡ Data extracted from “default of credit card clients Data Set” donated by I-Cheng Yeh and from Dua, D. and Graff, C. (2019). UCI Machine Learning Repository http://archive.ics.uci.edu/ml Irvine, CA: University of California, School of Information and Computer Science.

2

Variable

LIMIT_BAL SEX

MARRIAGE

AGE PAY_1 PAY_2 PAY_3 PAY_4 PAY_5 PAY_6 BILL_AMT1 BILL_AMT2 BILL_AMT3 BILL_AMT4 BILL_AMT5 BILL_AMT6 PAY_AMT1 PAY_AMT2 PAY_AMT3 PAY_AMT4 PAY_AMT5 PAY_AMT6

default

Type

Continuous Factor

Factor

Continuous Factor Factor Factor Factor Factor Factor Continuous Continuous Continuous Continuous Continuous Continuous Continuous Continuous Continuous Continuous Continuous Continuous

binary

Details: description / Factor Level = label (meaning)

Credit Limit (NT$): it includes both the individual consumer credit and his/her family (supplementary) credit

Gender

Marital status Age in years

The repayment status in

Amount of bill statement in

Amount paid in

September 2005 August 2005 July 2005
June 2005

May 2005
April 2005 September 2005 August 2005 July 2005
June 2005
May 2005
April 2005 September 2005 August 2005 July 2005
June 2005
May 2005
April 2005

1=male 2=female

1 = married 2 = single 3 = others

-2 = no consumption -1 = pay duly

  1. 0  = the use of revolving credit
  2. 1  = payment delay for one month
  3. 2  = payment delay for two months .
  1. 8  = payment delay for eight months
  2. 9  = payment delay for nine monthsand above§

Taiwanese Dollars (NT$)

0 = No 1 = Yes

EDUCATION

Factor

Education Level

1 = GradSch(graduate school) 2 = Uni (university)
3 = HighSch (high school)
4 = Other (others)

. .

Default payment (dependent variable)

Table 3.1: Details of Variables in provided data sets

§

http://inseaddataanalytics.github.io/INSEADAnalytics/CourseSessions/ClassificationProcessCreditCar dDefault.html

3

Data Analyses Required

You should begin your analysis with a suitable EDA of the data, this should look at univariate considerations and at the relationships between variables especially to the dependent variable. This may result in you requiring to then manipulate your data in order to fit a suitable model.

Using the training data, you should then build a suitable logistic regression model in order to predict which customers are likely to default.

  1. a)  You should take into consideration any information you found from your initial EDA when building your model. e.g., are there any steps that need to be taken before model fitting?
  2. b)  You should aim to use at least two selection methods.

You should validate your model using suitable evaluation tools (e.g., diagnostic plots.) As the dependent variable is a binary variable you should evaluate your model

performance. Choose a suitable cut off point for the predicted probability of default to make a binary prediction “likely to default” or “unlikely to default” then calculate the false positive and false negative rates using the validation data. You may also produce a ROC chart.

You should discuss the interpretation, success and limitations of your final model.

4

3.4 ASSESSMENT CRITERIA

Content (30%)

Under this heading comes an assessment of:

  • your background reading, and your appreciation of the context;
  • the validity, accuracy and relevance of the results of statistical analysis;
  • the conceptual difficulty of the material you have discussed;Understanding (30%)Understanding shows in the way in which you write. Your understanding of the topic is reflected in:
  • the clarity of the explanation you offer to your reader;
  • the degree of accuracy with which you use statistical notation and terminology;
  • the construction of logically sound arguments.Originality (20%)
  • Originality of presentation: you are all analysing the same data, but as you read round the topic and develop your understanding of it you hopefully will find yourself having your own version of the story to tell.
  • Originality of content: a practical project will inevitably contain new material, for example: the results of the data analysis, computer programs written and similar individual aspects.Presentation (20%)
  • Is your language appropriate for the intended target audience?
  • Does your choice of structure for the narrative help the reader gain understanding?
  • Are your sentences clear and coherent without distracting grammatical and spellingerrors?
  • Are tables, graphs and diagrams relevant, easy to follow and well positioned?
  • Are sources appropriately referenced?Penalties:
  • Late submission (-5% per working day)
  • Over page limit (-5% per page)
  • Not using appropriate layout (-5%)Additional PointsWithin the contents and understanding sections above, various aspects of your analyses as outlined in 1) through to 5) of section 3.3.2 on page 4 should be covered. There is no specific weighting to the 5 steps listed and the hope is that you will demonstrate good choices in what to include and discuss. However, you should aim to present a good balance of these 5 stages, i.e. in the main your report should cover all of them. It may be that your report will focus slightly more on some of these aspects than others, but one of the criteria that is required for a good grade from this assignment is a suitable balance. You therefore should avoid focusing on merely one or two of these and you will need to select a suitable mix of your findings, results and discussion. The aim is to guide the reader through the steps you have used and your findings.

5

3.5 ADDITIONAL RESOURCES

Some additional code is provided that will enable you to produce some empirical logit plots in order to understand the relationship between the predictors and the dependent variable default. The code illustrates how this may be used for the Pima Indians data. In addition, the code will illustrate how a ROC chart may be produced for the Pima Indians data. It is not required that you necessarily make use of this, nor should your analysis be limited to this code. It is provided as an extra resource to illustrate some of the specialised aspects you may wish to consider.

6

  • Individual-Assessment-kqjfbf.zip