Rows: 10,000
Columns: 7
$ tip <fct> yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, yes, y…
$ distance <dbl> 17.19, 0.88, 18.11, 20.70, 12.23, 0.94, 17.47, 17.67, 1.85, 1…
$ company <fct> Chicago Independents, City Service, other, Chicago Independen…
$ local <fct> no, yes, no, no, no, yes, no, no, no, no, no, no, no, yes, no…
$ dow <fct> Thu, Thu, Mon, Mon, Sun, Sat, Fri, Sun, Fri, Tue, Tue, Sun, W…
$ month <fct> Feb, Mar, Feb, Apr, Mar, Apr, Mar, Jan, Apr, Mar, Mar, Apr, A…
$ hour <int> 16, 8, 18, 8, 21, 23, 12, 6, 12, 14, 18, 11, 12, 19, 17, 13, …
Project
Investigation into Chicago taxis
Packages
tip
| Whether the rider left a tip. A factor with levels “yes” and “no”
distance
| The trip distance, in odometer miles
company
| The taxi company, as a factor. Companies that occurred few times were binned as “other”
Time
| time of requested loan
local
| Whether the trip’s starting and ending locations are in the same community. See the source data for community area values
dow
| The day of the week in which the trip began, as a factor
month
| The month in which the trip began, as a factor
hour
| The hour of the day in which the trip began, as a numeric|
Question 1
Is there there a relationship between the distance (in miles) someone travels in a taxi and if they tip or not?
Question 2
Do taxi passengers tend to tip more for the company Chicago Independents than the other companies