It is easier that you might think to fool yourself with data. It is quantified so there is less bias right? This series of videos shows you an analysis using pandas that demonstrates why this might not be true.
It seems such a strange conclusion.
(clean_df .groupby(['smokes']) .agg(prob=('alive', np.mean)))
Or can you figure out what went wrong here?
Feedback? See an issue? Something unclear? Feel free to mention it here.
If you want to be kept up to date, consider getting the newsletter.