VARIABLE DESCRIPTIONS ( PYTHON) Survived - Survival (0 = No; 1 = Yes) Pclass - Passenger Class (1 = 1st; 2 = 2nd; 3 = 3r

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

VARIABLE DESCRIPTIONS ( PYTHON) Survived - Survival (0 = No; 1 = Yes) Pclass - Passenger Class (1 = 1st; 2 = 2nd; 3 = 3r

Post by answerhappygod »

VARIABLE DESCRIPTIONS ( PYTHON)
Survived - Survival (0 = No; 1 = Yes)
Pclass - Passenger Class (1 = 1st; 2 = 2nd; 3 = 3rd)
Name - Name
Sex - Sex
Age - Age
SibSp - Number of Siblings/Spouses Aboard
Parch - Number of Parents/Children Aboard
Ticket - Ticket Number
Fare - Passenger Fare (British pound)
Cabin - Cabin
Embarked - Port of Embarkation (C = Cherbourg, France; Q =
Queenstown, UK; S = Southampton - Cobh, Ireland)
Use a barchart to check target variable (survived) counts
Check missing values. How many missing vales each column has
Drop all missng values
Converting Sex which is a categorical variable to a dummy
indicators.1 = male / 0 = female
Converting Embarked which is a categorical variable to a dummy
variable
Find the probabilty of survival a child in the boat
Which group has the bigger chance of survival? Men, women or
children
draw a plot (pick the best plot) to show the chance of servival
between first and third class women
what is the probability that a pasanger survived ?
Did passenger class make a difference in survuval range?
In [21]:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply