Important Dates
- Lab 6 due date: Nov 8th
- Assignment 2 due date: Nov 15th
- Lab 7 due date: Nov 22nd
Practical Objectives
- Learn how to do logistic regression in R ( interpret coefficients and odds ratios)
- Understand different forms of data
Expected Outcomes
- A pdf file or word document generated from R Markdown file
Data
- Load the TitanicSurvival dataset into R from the carData package.
library(carData)
## if your R environment does not include this package
## you should install this package at first
data(TitanicSurvival)
- Using your R skills, take some descriptive statistics and do some exploratory plotting to get a feel for the data.
- Example
- Create a box plot by the age and the passengerClass variables
- Use the function “table” to check the number of survived persons