Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use R Programming for the question listed below and take screenshots of code and output once finished. Here is the link to the data

Please use R Programming for the question listed below and take screenshots of code and output once finished.

Here is the link to the data file for this question:

Bank Data:https://drive.google.com/file/d/18kGNrHUfgcVv2hMKqL5E05L40xCl6e1M/view?usp=sharing

image text in transcribed
Question 1: For this problem, Ivou will load and perform some cleaning steps on a dataset in the provided EiankData.csv, which is data about loan approvals from a bank in Japan {it has been modied from the original for our purposes in class, so use the provided version]. Specificallv, vou will use visualization to examine the variables and normalization, binning and smoothing to change them in particular wavs. a. 'v'isualize the distributions of the variables in this data. You can choose bar graphs, histograms and densitv plots. Make appropriate choices given each type of variables and be careful when selecting parameters like the number of bins for the histograms. Note there are some numerical variables and some categorical ones. The ones labeled as a \"bool' are Boolean variables, meaningthev are onlv true or false and are thus a special tvpe of categorical. Checking all the distributions with visualization and summarvstatistics is a tvpical step when beginning to work with new data. b. How applv normalization to some of these numerical distributions. Specificallv, choose to applv mm one, min-max to another, and decimal scaling to a third. Explain vour choices of which normalization applies to which variable in terms of what the variable means, what distribution it starts with, and how the normalization will affect it. c. \"visualize the new distributions for the variables that have been normalized. wh at has changed from the previous visualization in step a? d. For contl, create a new variable called contl_bins that is a binned version of that variable. This contl_bins will have a new set of values like low, medium, high. Low ranges from -|nf to 25, Medium ranges from 25 to 4-D, and High ranges from 4D to Inf. Show this binned version contl_bins along with the other data from the dataset. Assign numerical values to the bins using the bin-mean and show the result. e. Building on {cl}, use contl_bins to create a smoothed version of contl and displayI the new distribution. How is this new distribution different than the previous distribution for contl

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Differential Equations For Engineers

Authors: Wei Chau Xie

1st Edition

0511771037, 9780511771033

More Books

Students also viewed these Mathematics questions

Question

2. Confront self-defeating, failure-avoiding strategies directly.

Answered: 1 week ago