Editing Community Data Science Course (Spring 2023)/Week 3 coding challenges
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 40: | Line 40: | ||
== #3 A sense of what's common == | == #3 A sense of what's common == | ||
# What is the most common name for each gender in | # What is the most common name for each gender in 2021? | ||
# What is the least common name? | # What is the least common name? | ||
# How often do the least common names occur? (Does your answer to this question bother you? Why?) | # How often do the least common names occur? (Does your answer to this question bother you? Why?) | ||
Line 57: | Line 57: | ||
# Play around with graphing and see if you can build some instructive graph that shows us something. | # Play around with graphing and see if you can build some instructive graph that shows us something. | ||
'''Note:''' Obviously, you won't be able to include your Google Sheet result into your notebook. | '''Note:''' Obviously, you won't be able to include your Google Sheet result into your notebook. If you can, please put it online (in Google Drive or OneDrive or similar, create a link for sharing, and put that link into your notebook so we can click through and look at it! | ||
== #6 | == #6 Name twins == | ||
# | # On average, how many "name twins" will a baby born in 2021 have (i.e., how many other children will share their name)? | ||
# | # How many "name twins" will a boy have on average? How about a girl? | ||
# Create a list of names where 90% of the children with that name are listed as girls? And the same for boys? | |||
# Now create the same list but only include names that are given to at least 1000 children total. Why are the answers different? | |||
== #7 Something extra == | == #7 Something extra == | ||
# Discover at least one fact about the names that is not listed above | # Discover at least one fact about the names that is not listed above. | ||
== #8 Thinking about this dataset == | == #8 Thinking about this dataset == | ||
What are some questions you have about this dataset and it was collected or created? What is at least two challenges that people creating this dataset must have faced? How did they resolve them? What are some assumptions they faced? | What are some questions you have about this dataset and it was collected or created? What is at least two challenges that people creating this dataset must have faced? How did they resolve them? What are some assumptions they faced? |