Question
For this assignment, work with the bank_marketing_training data set. Use Python to solve each problem. To demonstrate completion of this assignment, create Word document with
For this assignment, work with thebank_marketing_trainingdata set. Use Python to solve each problem.
To demonstrate completion of this assignment, create Word document with your working code, screenshots of program results, and written answers to questions. Upload your final Jupyter notebook and Word document to the LMS when complete.
Produce the following graphs. What are the strengths and weaknesses of each graph?
- Bar graph ofmarital.
- Bar graph ofmarital, with overlay ofresponse.
- Normalized bar graph ofmarital, with overlay ofresponse.
Using the graph from Exercise 1c, describe the relationship betweenmaritalandresponse.
Do the following with the variablesmaritalandresponse
- Build a contingency table, being careful to have the correct variables representing the rows and columns. Report the counts and the column percentages.
- Describe what the contingency table is telling you.
Repeat the previous exercise, this time reporting the row percentages. Explain the difference between the interpretation of this table and the previous contingency table.
Produce the following graphs. What are the strengths and weaknesses of each graph?
- Histogram ofduration.
- Histogram ofduration, with overlay ofresponse.
- Normalized histogram ofduration, with overlay ofresponse.
Using the graph from Exercise 5c, describe the relationship betweendurationandresponse.
Examine the nonnormalized and normalized histograms ofduration, with overlay ofresponse. Identify cutoff point(s) for duration, which separate low values of response from high values. Define a new categorical variable,duration_binned, using the cutoff points you identified.
Provide the following, and describe each of the results:
- Contingency table ofduration_binnedwithresponse, with counts and column percentages.
- Nonnormalized bar graph ofduration_binned, withresponseoverlay.
- Normalized bar graph ofduration_binned, withresponseoverlay.
Construct a contingency table of job withresponse, with counts and column percentages.
Referring to the previous exercise, do the following:
- Combine the job categories according to the following response percentages: 0 < 10, 10 < 25, 25 < 33. Name the new variablejob2.
- Provide a contingency table ofjob2withresponse, with counts and column percentages. Describe what you see.
- Provide a normalized histogram ofjob2withresponse. Describe the relationship.
Include references to all theoretical concepts and works cited. Show all your steps with explanations. Explain major components of complex solutions, code, and any output. Include captions to tables, images, and diagrams. Use formal and detailed mathematical and scientific notation throughout the document.
data set :
https://bcs.wiley.com/he-bcs/Books?action=resource&bcsId=11712&itemId=1119526817&resourceId=46601
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started