MATH 314 Homework 10
Due 2026-04-01 by 11:59pm
Download the following dataset into your Homework 10 repository:
penguins.
Here's the
metadata.
Please push this dataset along with your ipynb file for Homework
10.
-
Calculate 90% confidence intervals for each
species'sbody_mass_g. Your output should be one dataframe with columns for species, mean, standard deviation, number of data for each species group, lower and upper bounds for the confidence interval of body mass. -
For male (only) penguins from each island, whose bill length is greater than the mean bill length of penguins from that island, find the flipper length of the third heaviest penguin. As output, you should print an f-string with the flipper length interpolated into the string. The printed sentence for each island should describe what is being printed, units and all.
Let's be honest. Can question 2 be answered more easily with other Pandas tools we have not yet discussed? Yes. Do all the LLMs know this? Maybe. I tried GPT 5.4 and got correct code that I would not be willingly/happily show to anyone.
I am particularly interested in your ability to use the tools we've discussed so far to put together an answer, and I will grade your solutions as such.