Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please download and import the data from the HW 1 . csv . Please do the following work: Import the data from the data file.

Please download and import the data from the HW1.csv. Please do the following work:
Import the data from the data file. Label your LastNameData1 as the dataframe name. For example, TuData1 might used by Dr.Tu for this purpose. Show the first 6 rows of the dataframe.
Show the shape/dimension of the dataframe.
Please do the following data queries:
a) Filter and Show the data where worktenure ==10
b) Filter and Show the data where worktenure >10
c) Select and Show the column job only
d) Select and Show the sub-data where applications=2
Please use %>% to do the following data queries:
a) Filter and Show the data where worktenure =10
b) Filter and Show the data where worktenure >10
c) Select and Show the column job only
d) Select and Show the sub-data where applications=2
Encode the column "approve" into "approval" as 0s and 1s.
Show the # of approvals out of all the applicants, and the total approval rate.
Calculate the approval rate by the number of applications. Show the top 10 records.
Calculate the approval rate by the family size. Show the records.
Note: How to prepare for your submission? You need to use the R outcomes as your responses to each question. Please answer the questions one by one.
After you finish answering all the questions, please copy and paste your R scripts to the end of this word file.
1
image text in transcribed

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

Step: 3

blur-text-image

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions

Question

What was the role of the team leader? How was he or she selected?

Answered: 1 week ago

Question

What were the issues and solutions proposed by each team?

Answered: 1 week ago