Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Pease solve in RStudio: Survived Pclass Name Sex Age SS PC Fare 0 3 Mr. Owen Harris Braund male 22 1 0 7,25 1 1

Pease solve in RStudio:image text in transcribed

Survived

Pclass

Name

Sex

Age

SS

PC

Fare

0

3

Mr. Owen Harris Braund

male

22

1

0

7,25

1

1

Mrs. John Bradley (Florence Briggs Thayer) Cumings

female

38

1

0

71,2833

1

3

Miss. Laina Heikkinen

female

26

0

0

7,925

1

1

Mrs. Jacques Heath (Lily May Peel) Futrelle

female

35

1

0

53,1

0

3

Mr. William Henry Allen

male

35

0

0

8,05

0

3

Mr. James Moran

male

27

0

0

8,4583

0

1

Mr. Timothy J McCarthy

male

54

0

0

51,8625

0

3

Master. Gosta Leonard Palsson

male

2

3

1

21,075

1

3

Mrs. Oscar W (Elisabeth Vilhelmina Berg) Johnson

female

27

0

2

11,1333

1

2

Mrs. Nicholas (Adele Achem) Nasser

female

14

1

0

30,0708

1

3

Miss. Marguerite Rut Sandstrom

female

4

1

1

16,7

Read the provided titanic dataset, which contains data for 887 of real Titanic passengers. Each row re- presents one person. Columns describe different attributes about the person including whether they survived (Survived), their passenger class (Pclass), name (Name), sex (Sex), age (Age), number of siblings and spouses aboard (SS), number of parents and children aboard (PC), and the fare they paid (Fare). Answer the following questions (round your answers to 2 decimal digits). Q6 (1pt) What percentage of the people survived? Q7 (1pt) Which passenger class had the highest survival rate? Q8 (1pt) What was the survival rate from question 7 equal to? Q9 (1pt) What was the average fare for people in the second class? Q10 (1pt) How much was the highest fare equal to? Q11 (1pt) What was the name of the only woman who paid this maximum fare? Q12 (1pt) How old was the oldest person on board? Q13 (1pt) In which class did this oldest person travel

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

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

More Books

Students also viewed these Databases questions