Lab 4: Inferential Statistics for Penguins
Contents
Lab 4: Inferential Statistics for Penguins#
Caution
This lab will provide an opportunity to practice inferential statistics in Python. Please start by opening this Google Colab notebook and copying it to your Google Drive.
Important
Please submit your lab by modifying the code in the in the GC above!
Warning
Please make sure to submit the lab by October 24/25, 2022, depending on your section.
Lab Instructions#
Pre-load ‘taxis’ data set from Seaborn (already pre-loaded in GC template)
Create histograms and QQ-plots for the following variables: distance, fare, tip, total
Test whether the mean tip on the trip is $\mu \leq 2$ dollars.
Compare mean of total depending on the type of payment (total_payment)
Compare whether mean distance (distance) is different for all pick-up boroughs.
Compare whether mean tips (tip) is different for all drop-off boroughs.
Create scatter plots for distance versus fare. Calculate correlation of this relationship.
Print your GC to pdf and submit to GauchoSpace.