FI 4090 Introduction to Financial Data Analytics Assignment

Assignment Help Other Subject
Reference no: EM132400039

FI 4090 Introduction to Financial Data Analytics Assignment - Logistic Regression, Georgia State University, USA

Part 1 - Analyze the data in the CreditCard dataset in AER package. (Note that you have to install AER package and any other additional package that are required by AER)

The following variables are included in the dataset:

1. card: was the application for a card accepted? (Binary: 1/0) Response Variable

2. reports: Number of major derogatory reports

3. income: Yearly income (in USD 10,000)

4. Age: Age in years plus 12ths of a year

5. Owner: Does the individual own his/her home?

6. dependents: number of dependents

7. months: Months living at current address

8. share: ratio of monthly credit card expenditure to yearly income

9. selfemp: Is the individual self-employed?

10. majorcards: number of major credit cards held

11. active: number of active credit accounts

12. expenditure: average monthly credit card expenditure

Use variables 2 to 8 to determine which of the predictors influence the probability that an application is accepted.

A. Provide summary stat of the predictors.

B. There are some values of variable age under one year. Consider data with age>18 for your analysis for the rest of the questions.

C. Plot of income vs. reports (Number of major derogatory reports): mark individuals with card application accepted as blue, and not accepted as red.

D. Boxplots of income as a function of card acceptance status. Boxplots of reports as a function of card acceptance status (mark card application accepted as blue, and not accepted as red). (Display two boxplots in same page).

E. Construct the histogram for the predictors.

Note that share is highly right-skewed, so log(share) will be used in the analysis. reports is also extremely right skewed (most values of reports are 0 or 1, but the maximum value is 14. To reduce the skewness, log(reports+1) will be used for your analysis. Highly skewed predictors have high leverage points and are less likely to be linearly related to the response.

F. Use variables 2 to 8 to determine which of the predictors influence the probability that an application is accepted. Use the summary function to print the results.

G. To predict whether the application will be accepted or not, convert the predicted probabilities into class labels yes with the following condition: probs >.5="yes". Compute the confusion matrix and overall fraction of correct predictions.

Online Quiz will be based on the following and related questions: Explain what the confusion matrix is telling you about the types of mistakes made by logistic regression (false positive, false negative, overall correct predictions).

H. Now fit the logistic regression model using a training data for observations 1 to 1000. Compute the confusion matrix and the overall fraction of correct predictions for the test data (that is, the data for observations 1001 to end of data.)

Useful hints:

1. Run the glm() logistic regression on the training data.

2. Use test data in the predict() function to predict the card acceptance probability on the test observations on the basis of the predicted model.

3. To predict whether a card will be accepted (yes/no), convert the predicted probabilities into class labels "yes" or "no" on the test data.

4. Compute the accuracy of the model on the test observations based on predicted (yes/no) and actual (yes/no) of card acceptance.

Deliverables:

1. Submit R scripts.

2. Please submit one R program (one file) containing all the parts of the assignment. R code should provide comments on each sections of the assignment the code is intended for.

Attachment:- Financial Data Analytics Assignment File.rar

Reference no: EM132400039

Questions Cloud

Submit a business intelligence solution framework : In this assignment, you will submit a business intelligence solution framework for a university with one online and two physical campuses
Indirect approach informing your sales team of the news : Write a negative news message in a direct or indirect approach informing your sales team of the news.
Economies of scale-economies of scope-global companies : Economies of scale, economies of scope, global companies, global teams, globalization strategy, international division, joint venture,
Contact management system : Declare new function prototypes and Define the new functions with empty code blocks - Update contacts.h with safeguard and contact.c to use new function
FI 4090 Introduction to Financial Data Analytics Assignment : FI 4090 Introduction to Financial Data Analytics Assignment - Logistic Regression, Homework Help, Georgia State University, USA. Analyze data in CreditCard
Develop logical cause-and-effect diagram for the problem : Develop a logical cause-and-effect diagram for the problem "inaccurate shipment."
Discuss how it incorporates aida strategy : Discuss how it incorporates AIDA strategy and what methods it uses to meet each of the parts of the AIDA strategy.
Appearances control massive segments of different markets : In today's economy, there are a wide number of powerful companies who in all appearances control massive segments of different markets.
Purpose of hipaa is to protect patient rights and privacy : The purpose of HIPAA is to protect patient rights and privacy. Many health care providers, however, feel that HIPAA restricts their ability to practice medicine

Reviews

Write a Review

Other Subject Questions & Answers

  Arguments for ethical absolutism and ethical relativism

Does it seem that people are in the various stages Pre conventional level, Conventional level or a Post conventional level that Lawrence Kolberg presents?

  Discuss Humanitarian intervention is an unacceptable threat

Choose one of the following statements to discuss and analyse - Humanitarian intervention is an unacceptable threat to international peace and stability

  Explaining the arbitration procedure with example

Solar Co. enters into a contract with XYZ Media to prepare a 6-month national advertising and public relations campaign to help restore its tarnished.

  Discuss ways in which you can design your software

Discuss ways in which you can design your software and applications - Building a house, as one of a series of identical houses all over Australia

  How does mild hypoxia affect airline crew

What is Mild Hypoxia? And how does mild hypoxia affect airline crew? Present a detailed and research based answer to these questions.

  What is the full and complete title of the article

What is the full and complete title of the article you have selected? - Who is the writer of the article? - What journal was this article published in? When?

  The NoGo Railroad

NoGo is a small, privately owned, and regional railroad operating in the northwest states of Washington, Idaho, Montana, and Wyoming. It serves remote and mountainous areas and hauls primarily timber, coal, potash, and phosphorous. As a consequence o..

  Discuss the roles you believe that families play

In the order of their relative importance, discuss the roles you believe that families, schools, and government should play in the prevention of juvenile delinquency. Justify your response

  Document to monitor and control a project

What are some of the key environmental forces that have change the way project are managed? what has been the effect of these forces on the management of project?

  Summarizing your understanding of each of the dimensions

For your initial post in this discussion, begin by summarizing your understanding of each of the dimensions of the business excellence model that represent.

  Doses of antirabies gamma globulin

In Eastern Europe a study was done on fifty people bitten by rabid animals. Twenty victims were given lhe standard Pasteur treatment, while the other lhirty were given the Pasteur treatment in addition to one or more doses of antirabies gamma glob..

  Exploring the value of project management

Exploring the value of project management: Linking Project Management Performance and Project Success. A Case Study of Toyota Motor Corporation

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd